Section 8. Operation
408
1
See
TABLE: CR800 SRAM Memory
(p. 408,
2
Flash is rated for > 1 million overwrites.
3
Serial flash is rated for 100,000 overwrites (50,000 overwrites on 128 kB units). CRBasic program
functions that overwrite memory should use the CRD: or USR: drives to minimize wear of the CPU: drive.
CR800 SRAM Memory
Use
Comments
Static Memory
Operational memory used by the operating system. Rebuilt at power-up,
program re-compile, and watchdog events.
——————————
——
Operating Settings and
Properties
"Keep"
(p. 503)
memory. Stores settings such as PakBus address, station
name, beacon intervals, neighbor lists, etc. Also stores dynamic properties
such as the routing table, communication timeouts, etc.
——————————
——
CRBasic Program
Operating Memory
Stores the currently compiled and running user program. This sector is
rebuilt on power-up, recompile, and watchdog events.
——————————
——
Variables & Constants
Stores variables used by the CRBasic program. These values may persist
through power-up, recompile, and watchdog events if the
PreserveVariables
instruction is in the running program.
——————————
——
Final-Storage Memory
Stores data. Fills memory remaining after all other demands are satisfied.
Configurable as ring or fill-and-stop memory. Compile error occurs if
insufficient memory is available for user-allocated data tables. Given
lowest priority in SRAM memory allocation.
——————————
——
Communication Memory 1
Construction and temporary storage of PakBus packets.
——————————
——
Communication Memory 2
Constructed Routing Table: list of known nodes and routes to nodes.
Routers use more space than leaf nodes because routes to neighbors must
be remembered. Increasing the PakBusNodes field in the
Status
table will
increase this allocation.
——————————
——
USR: drive
≤ 3.6 MB (4 MB Mem)
≤ 1.5 MB (2 MB Mem)
Optionally allocated. Holds image files. Holds a copy of final-storage
memory when
TableFile()
instruction used. Provides memory for
FileRead()
and
FileWrite()
operations. Managed in
File Control
(p. 416).
Status reported in
Status
table fields
USRDriveSize
(p. 551)
and
USRDriveFree
(p. 551).
Summary of Contents for CR800 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 34: ......
Page 54: ......
Page 92: ......
Page 310: ......
Page 446: ...Section 8 Operation 446 8 11 2 Data Display FIGURE 100 CR1000KD Displaying Data ...
Page 448: ...Section 8 Operation 448 FIGURE 102 CR1000KD Real Time Custom ...
Page 449: ...Section 8 Operation 449 8 11 2 3 Final Storage Data FIGURE 103 CR1000KD Final Storage Data ...
Page 450: ...Section 8 Operation 450 8 11 3 Run Stop Program FIGURE 104 CR1000KD Run Stop Program ...
Page 452: ...Section 8 Operation 452 FIGURE 106 CR1000KD File Edit ...
Page 456: ......
Page 462: ......
Page 523: ...Section 11 Glossary 523 FIGURE 116 Relationships of Accuracy Precision and Resolution ...
Page 524: ......
Page 526: ......
Page 556: ......
Page 558: ......
Page 560: ......
Page 597: ......