cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to flash problem

thommagn
Associate II
Posted on June 18, 2012 at 18:45

Hi,

I tried one of the flash examples for the STM32f4 Discovery. First i tried to read from adress 0x80E0000, then i tried to write to that same adress. After this, when I try to debug, i got the error ''No source available for ''0xfffffffe'' ''.

So I tried strapping 3V3 to boot0 and reseting it. When I try to debug now, I get stuck at:

  b  LoopCopyDataInit

and I am unable to start the debug (Stuck at this position and unable to pause debugger). At this point I tried to do a full chip erase, which lead me back to the 0xfffffffe error as mentioned above. I've tried to debug different projects that I know is working but with the same results.

Do anyone have ideas of what i might have done to my discovery?

Thanks
1 REPLY 1
Posted on June 18, 2012 at 20:24

The error means you are trying to step into code for which the debugger has no source to display. ie you've put code on it jumping to some odd location, or is just buggy.

Make sure BOOT0 is not high. Use the ST-Link utilities, and erase the device.

Try downloading an eval of Keil or IAR, and try those.

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