Doc. # 1-0003087 | |||
---|---|---|---|
Date Updated | 01-22-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-4500 |
How to use the Flash ROM free memory of ADAM-4500 to save data during the AP running? | |||
---|---|---|---|
Solution:
Here are the new ADAM-4500 library for access Flash ROM (170KB for users). You'll have following 4 function call which shown as below:
ProgramByte
ProgramSector
EraseSector
read_mem
Besides, you must aware the different "Memory Mapping" between ADAM-5510/A2 and ADAM-4500, so you just can access 0xF0000 - 0xF3FFF(144KB - 160KB of Application ROM Disk) by above 4 function. I image if our application less then 140KB, then we can use this sector for our data storage (each sector is 16KB in ADAM-4500, and each sector is 32KB in ADAM-5510/A2).
The example '4500_ROM.C' just shown you how to access Flash ROM. It erase the sector, program the sector, and then verify the written data.
|
|||
Download File | Release Date | Download Site | |
4500drv.lib (KM99913A17) | 07-26-2000 | ||
4500_rom.exe (KM99913A17) | 07-26-2000 | ||
4500_rom.prj (KM99913A17) | 07-26-2000 | ||
4500_rom.c (KM99913A17) | 07-26-2000 |