AnsweredAssumed Answered

EEPROM Emulation

Question asked by ihlein.john on Apr 22, 2012
Latest reply on Apr 25, 2012 by ihlein.john
The EEPROM emulation demo uses Flash pages 2 and 3 (16 Kbyte pages).  Flash pages 0 and 1 are also 16 Kbyte pages.

WHat happens when your program is longer than 32 K?  Is the linker smart enough to skip Flash pages 2 and 3, or does the linker file need to be changed?

I've tried, with no success, in moving the emulated EEPROM to pages 1 and 2, telling the linker to put the startup code and int vectors in page 0, and have the rest of the code start in page 3.  The debugger shows some rrandom start location in this configuration.

If I don't do this, leaving the linker file alone and leaving EEPROM in pages 3 and 3, the code will run under the debugger, but is totally unresponsive when the debugger is disconnected.

Obviously, there is something going on I don't understand, any ideas?

FWIW, I'm using Atollic TrueStudio 2.3,

Thanks!

Outcomes