Re: Issue when debugging STM32 board with zephyr openocd
toggle quoted message Show quoted text
If you have further question I'll happy to help you :)
then before start the debug, set a break command on main function, then issue run command, It should work properly.
Also, you need to tell your gdb instance to break in main, for exemple after start the openocd and gdb issue load command to halt microcontroller and flash the firmware
Also, in menu config during kernel configuration phase, have you enabled the debug symbol generation?
Hi Erwan,Did you build the zephyr project with some optimization flags? such -Os?
2017-02-17 12:48 GMT-02:00 Erwan Gouriou <erwan.gouriou@...>:
Felipe S. Neves
Embedded software & systems engineer
+55 11 96610 – 0855