title: gdb debugging with openocd on codeblocks IDE
body: <p>I have recently started working on Gdb with openOCD for ARM Development on Codeblocks IDE. There are two commands in gdb like "<strong>load</strong> ./bin/Debug/ledtest.elf", "<strong>file</strong> ./bin/Debug/ledtest.elf" which will result in writing the program to flash and debugging. </p>
  
  <p>My problem is whenever I am using these commands, its not writing into flash. I don't know how to make my ecosystem to do that? Whether I have to make relevent changes in gdb or openocd?
  However when I try to <strong>flash_write</strong> from openocd, it works fine.
  Any idea? Any relevant document will be helpful.</p>