cancel
Showing results for 
Search instead for 
Did you mean: 

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

Llama-Not-a-llama
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks Clive Two.Zero

That seemed to work. I missed it.