Can't Debug in Engineering Mode using STM32MP157-DK2.
Trying to create a simple application that will toggle LD9 in Engineering Mode but get an error with the OpenOCD.
Output on console window is as follows:
Open On-Chip Debugger 0.10.0+dev-01124-gbfb41e6 (2018-11-16-15:23)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
cortex_a interrupt mask on
cortex_a interrupt mask on
cortex_a domain access control fixup on
cortex_a domain access control fixup on
3333
none separate
adapter speed: 5000 kHz
adapter_nsrst_assert_width: 200
adapter_nsrst_delay: 200
none srst_pulls_trst
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Error: Could not find MEM-AP to control the core
ap 0 selected, csw 0x10006000
Error: Target not examined yet
undefined debug reason 7 - target needs reset
Error: Target not examined yet
Error: Could not find MEM-AP to control the core
Error: Target not examined yet
embedded:startup.tcl:24: Error:
in procedure ‘stm32mp15x.cpu2’ called at file “embedded:startup.tcl”, line 283
in procedure ‘ocd_bouncer’
at file “embedded:startup.tcl”, line 24
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet