Hi, I have a program that runs the ARM M4 core on stm32MP157D-DK1 and am trying to debug it with openocd and here is my script
source [find interface/stlink.cfg]
source [find target/stm32mp15x.cfg]
adapter speed 950
gdb_port disabled
stm32mp15x.cpu0 configure -gdb-port disabled
stm32mp15x.cpu1 configure -gdb-port disabled
targets stm32mp15x.cm4
stm32mp15x.cm4 configure -gdb-port 3334
init
halt
Info : [stm32mp15x.cm4] external reset detected
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
The debugger doesn’t work because M4 cannot be halted no matter what. Could someone please explain why the error exists (script or hardware problem) and how should I adjust my script to run my debugger? Thanks!