I am looking for assistance with the proper GDB / OpenOCD initializion and run commands to use within Eclipse for flash and ram debugging. Also, the proper modifications or additions that need to be incorporated in a make file for flash vs ram building for this mcu, if this matters of course.
mcu: STM32F103VET6
I am using Eclipse Helios with Zylin Embedded CDT, Yagarto Tools and Bins, OpenOCD .4, and have an Olimex ARM-USB-OCD Jtag adapter.
I have already configured the ARM-USB-OCD and added it as an external tool in Eclipse. For initializing OpenOCD I used the following command in Eclipse. The board config file references the stm32 mcu btw:
“openocd -f interface/olimex-arm-usb-ocd-h.cfg -f board/stm32f10x_128k_eval.cfg”.
When I run this within Eclipse everything appears to be working (GDB Interface, OpenOCD finds the mcu, etc) . I can also telnet into OpenOCD and run commands.
So, I am stuck on the next part; initialization and commands for flash and ram debugging , as well as erasing flash.
I read through several tutorials, and scoured the net, but have not been able to find anything particular to this processor. I am new to this, so I might not be recognizing an appropriate product to use for an example for this mcu.
Any help would be greatly appreciated.