Table CR1000 Memory Allocation (p. 371) and table CR1000 SRAM Memory (p. 372)
illustrate the structure of CR1000 memory around these media. The CR1000 uses
and maintains most memory features automatically. However, users should
periodically review areas of memory wherein data files, CRBasic program files,
and image files reside. See section File Management in CR1000 Memory
(p. 382)
for more information.
By default, final-data memory (memory for stored data) is organized as ring
memory. When the ring is full, oldest data are overwritten by newest data. The
DataTable() instruction, however, has an option to set a data table to Fill and
Stop.
Table 84. CR1000 Memory Allocation
Memory
Sector
Comments
Main
Battery-Backed SRAM
1
4 MB*
• OS variables
• CRBASIC compiled program binary structure
• CRBASIC variables
• Final-data memory
• Communication memory
• USR: FAT32 RAM drive
• 'Keep' memory
• Dynamic runtime memory allocation
• See table CR1000 SRAM Memory (p. 372) for detail.
Operating System
Flash Memory
2
2 MB
• Operating system
• Serial number
• Board revision
• Boot code
• Erased when loading new OS. Boot code erased only if changed.
371