Skip to main content
Llama-Not-a-llama
Associate
August 28, 2019
Solved

Why do I get this error when trying to run STM32CubeMx code?

  • August 28, 2019
  • 2 replies
  • 900 views

Hi 

I am using stm32CubeMx to set one gpio and then trying to execute the code. I have tried both Atollic and STM32IDE both give me an error somewhere is system memory. 

Error: 1fffdab8:  Failed to execute MI command:

     -data-disassemble -s 536861368 -e 536861400 -- 2

     Error message from debugger back end:

     Cannot access memory at address 0x1fffdab8

I am using the STM32F030CCT6 MCU. 

Code builds fine but does not even allow me to set a break in main. 

Where I first experienced the problem was with code I merged with code of the STM32F030k6 MCU. The code would step to GPIO_init and then fail at a certain point. To try and debug I did a setup in the cube with only one IO selected as output and the rest I ticked as analog.

This topic has been closed for replies.
Best answer by Tesla DeLorean

Make sure BOOT0 is pulled low, the address is in ROM​

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
August 28, 2019

Make sure BOOT0 is pulled low, the address is in ROM​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Llama-Not-a-llama
Associate
August 29, 2019

Thanks Clive Two.Zero

That seemed to work. I missed it.