I am working on developing my embedded system toolchain through codeblocks.
Tools I am using:
- Codeblocks (developed after building codeblocks sdk available at SVN)
- wxwidget 2.8.12 (shared=1, monolithic=1, unicode=1, build = relaease and debug)
- Mingw compiler (5.3)
I have build up openOCD.exe from its libraries and source through cygwin.
Now I want to connect gdb debugger to this openOCD for JTAG/SWD Connection through codeblocks. I get to know that I can do it by setting a remote debugger connection setting available in codeblocks. Projects->properties->debugger->Remote debugger support.
I know that I need to put some gdb amd shell commands to communicate with openOCD like target remote localhost 4444 etc.
I want to ask that how can i link it with openocd.exe. I mean I want to know how the communication will setup properly.? Any help or related link will be good to kickstart.