Skip to main content
scottSD
Senior III
February 3, 2020
Question

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

  • February 3, 2020
  • 2 replies
  • 1538 views

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.

This topic has been closed for replies.

2 replies

scottSD
scottSDAuthor
Senior III
February 10, 2020

Sure is quiet around here lately....

scottSD
scottSDAuthor
Senior III
February 11, 2020

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..