101-0954 Rabbit Semiconductor, 101-0954 Datasheet - Page 45

no-image

101-0954

Manufacturer Part Number
101-0954
Description
KIT DEV RABBIT RCM3360/3370 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Datasheet

Specifications of 101-0954

For Use With/related Products
RCM3360
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
The NAND flash and the xD-Picture Card are ideally suited to store files with a directory
structure. The Dynamic C FAT file system module provides support for a file system and
for formatting the xD-Picture Card for use in a Rabbit-based system. Visit our Web site at
www.zworld.com
for further information on the Dynamic C FAT File System and other Dynamic C modules.
The supporting documentation for the Dynamic C FAT File System and the sample pro-
grams in the
system.
5.2.5 SRAM Use
The RCM3360/RCM3370 have a battery-backed data SRAM and a program-execution
SRAM. Dynamic C provides the
placed into the battery-backed SRAM. The compiler generates code that maintains two
copies of each protected variable in the battery-backed SRAM. The compiler also generates
a flag to indicate which copy of the protected variable is valid at the current time. This flag
is also stored in the battery-backed SRAM. When a protected variable is updated, the
“inactive” copy is modified, and is made “active” only when the update is 100% complete.
This assures the integrity of the data in case a reset or a power failure occurs during the
update process. At power-on the application program uses the active copy of the variable
pointed to by its associated flag.
The sample code below shows how a protected variable is defined and how its value can
be restored.
The
tery-backed SRAM without affecting the performance of the application program. Data
integrity is not assured when a reset or power failure occurs during the update process.
Additional information on
User’s Manual.
User’s Manual
bbram
protected nf_device nandFlash;
int main() {
...
_sysIsSoftReset();
keyword may also be used instead if there is a need to store a variable in bat-
SAMPLES\FileSystem\
or contact your Z-World sales representative or authorized distributor
bbram
protected
and
// restore any protected variables
protected
folder illustrate the use of the Dynamic C FAT file
keyword to identify variables that are to be
variables is available in the Dynamic C
39

Related parts for 101-0954