AnsweredAssumed Answered

LCF .data changes at reboot

Question asked by Joe Kissell on Oct 5, 2012
Latest reply on Oct 7, 2012 by Joe Kissell

I'm trying to create my first bootloader and have assigned specific objects to specific memory addresses.


My program seems to have a problem where it stops working once I reboot the unit. It works fine if I download code to it and then I can reset as many times as I want. If I kill the power and return it the unit starts having issues.


I've narrowed this down to specific .data section in my RAM. I export this section before powering down. Then, if I import this section after I reboot, it fixes the problem.


Can someone please help me understand why this is an issue and perhaps provide a suggestion for fixing this?