Data lost when reset

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I am using Freescale i.MX21 for my development. For my device, it will
copy the OS image to RAM when boot up and execute there.

Now I have flashed the image to ROM and run without problem. I can
create folder, active sync etc. But all data will be lost after
pressing reset button which is connect to the MCU reset pin (but NOT
the PowerOnReset pin). I have traced the code that it will call
NKForceCleanBoot() in OEMInit() function if the previous reset is
caused by POR. In my case, it is skipped (I sure that). Thus I wonder
what cause the data lost in my device.

Below is my OS design component under "File Systems and Data Store":
Bit-based
Compression
RAM and ROM File System
RAM-based Registry
Storage Manager
FAT File System
Partition Driver
Storage Manager Control Panel Applet
System Password

Below is my bib config:
DRVGLOBAL 88000000 00001000 RESERVED
RESERVED1 88001000 0000F000 RESERVED
RESERVED1 88030000 000D0000 RESERVED
FRAMEBUFFER 88100000 00100000 RESERVED
NK 88200000 01600000 RAMIMAGE
RAM 89800000 00800000 RAM
EDBG 88010000 00020000 RESERVED

Should I miss some component?

Thanks !!

.


Quantcast