Doc. # 1-0002478 | |||
---|---|---|---|
Date Updated | 06-01-2004 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | ADAM-4500 |
How to use the Flash ROM free memory (170 KB) to save data during the program running? | |||
---|---|---|---|
Solution:
Here are the new 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. If your application less then 140KB, then you can use this sector for the data storage (each sector is 16KB in ADAM-4500, and each sector is 32KB in ADAM-5510/A2).
Please notice that we just modify this library for the access Flash ROM issue, so maybe you'll meet something improper with this one. 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 | |
4500_rom.c (0) | 11-22-2000 | ||
4500_rom.exe (0) | 11-22-2000 | ||
4500_rom.prj (0) | 11-22-2000 | ||
4500drv.lib (0) | 11-22-2000 |