2019-11-28 10:08 PM
After full chip erase in Cube Programmer, the CubeIDE debugger cannot connect with any reset option : connect under reset or software system reset.
Says: "Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load xxxxx.elf.
Cube Programmer can connect to it with options:
Other options: hardware reset, software reset - both fail with "DEV_TARGET_NOT_HALTED"
Why Cube IDE debugger does not have this "Core reset" option? Can it be added, please?
The chip is STM32H750 with external ST-LINK/v2.
-- pa
2019-11-29 02:53 PM
This wasn't the end of the story, not yet ((
I could not connect to the H750 and program the flash, neither in CubeIDE 1.1 or Atollic.
Their GDB server-based debuggers behave very similar: either "Failed to execute MI command: load xxxxx.elf" or "target not halted".
Have not tried the OpenOCD option.
The following procedure recovered the debugger:
Now the debugger again can connect and write the flash.
Very annoying and slow.
Unfortunately I cannot use Keil IDE for this project: customer demands gcc and free IDE.
-- pa