cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Debug in Stm32CubeIDE due to "Failed to execute MI command"

scottSD
Lead

I am unable do debug in Stm32CubeIDE 1.2.1 because I'm getting the following message:

"Failed to execute MI command". It is failing download verification:

Error: Data mismatch found at address 0x08002814 (byte = 0x7B instead of 0x1A)
 

If I use the ST-Link program, the target is programmed and verification passes.

2 REPLIES 2
scottSD
Lead

Sure is quiet around here lately....

scottSD
Lead

The only way I have been able to debug is to use OpenOCD. However, one thing I need to do is use the External Loader to load external flash. This is available when the Debugger is set to ST-Link, but I do not see an External Loader available when the Debugger is set to OpenOCD.

I would appreciate any ideas on how to solve this issue..