STM32CubeIDE Debugger wont work with STM32MP1 DK2 with the 2.0 dunfell release.
I cant seem to get the STM32CubeIDE to work with the STM32MP157C-DK2 board. It builds the examples and then when I go to load and debug i get the following:
Open On-Chip Debugger 0.10.0+dev-01193-g5ce997d (2020-02-20-10:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
cortex_a interrupt mask on
cortex_a interrupt mask on
cortex_a domain access control fixup on
cortex_a domain access control fixup on
none separate
adapter speed: 8000 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
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V2J36S26 (API v2) VID:PID 0483:3752
Info : using stlink api v2
Info : Target voltage: 3.231496
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : clock speed 4000 kHz
Info : SRST line released
Info : stlink_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : STM32MP157CAAx.cpu0: hardware has 6 breakpoints, 4 watchpoints
Info : STM32MP157CAAx.cpu1: hardware has 6 breakpoints, 4 watchpoints
Error: Could not find MEM-AP to control the core
Info : Listening on port 3334 for gdb connections
Info : Listening on port 3333 for gdb connections
ap 0 selected, csw 0x10006000
Info : accepting 'gdb' connection on tcp/3333
Error: Target not examined yet
Info : New GDB Connection: 1, Target STM32MP157CAAx.cpu2, state: unknown
undefined debug reason 7 - target needs reset
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
Info : The target is not running when halt was requested, stopping GDB.
Warn : target STM32MP157CAAx.cpu2 is not halted (gdb fileio)
Error: Target not examined yet
Error: Target not examined yet
ap 0 selected, csw 0x10006000
shutdown command invoked
Info : dropped 'gdb' connectionif I set any type of break-point it complains about using too many break points (even if there is only one. If I go back to the 1.2 version release with the basic image it works fine. The basic image seems to have gone away in the 2.0 release so I have switched over to the trusted version. Is there something I need to do or enable? Is the trusted version preventing the debugger from working?
