Having issues debugging the code with openocd on stm32f723 discovery board

Open source ARM Debugger

Moderator: phalanx

Post Reply
sabdulqadir
Posts: 1
Joined: Fri Nov 09, 2018 8:07 am

Having issues debugging the code with openocd on stm32f723 discovery board

Post by sabdulqadir » Fri Nov 09, 2018 9:27 am

Hi guys,
I am trying to use openocd for debugging my code on stm32f723 discovery board. I can connect to the debugger/target over the SWD interface, but the execution does not stop at the main. It somehow ends up at Reset_Handler(). I see following error message in the console

===== Cortex-M DWT registers
Info : SWD DPIDR 0x5ba02477
undefined debug reason 7 - target needs reset
undefined debug reason 7 - target needs reset
Info : SWD DPIDR 0x5ba02477
Error: Failed to read memory at 0x00216738


Any help would be appreciated. Pointers on what to read would be appreciated too.

Thanks,
AQ

openocd ver: 0.10.0+dev-0049-g4999c9d (2018-07-30-10:12)
Eclipse ver: 4.7.3a

Post Reply