User’s Manual
23
3.2.2 Hot-Swapping xD-Picture Card
The sample programs in this section require that you have installed the Dynamic C FAT
File System module, which is included with the RCM3365/RCM3375 Development Kit.
NOTE:
Versions of the Dynamic C FAT File System prior to 2.10 did not use unique
volume labels, so hot-swapping two
xD-Picture Card
that were both formatted
with older versions of the FAT File System may cause cache recovery errors
The following sample program can be found in the
SAMPLES\RCM3360\NANDFlash
folder. Since Rabbit-based systems do not implement the
xD-Picture Card
™ specification
for data storage, hot-swap only
xD-Picture Cards
that you plan to have formatted for use
in Rabbit-based systems.
•
FAT_HOT_SWAP_3365_75.c
—This program demonstrates how to hot-swap the
xD-
Picture Card
on the RCM3365/RCM3375. Once you have compiled the sample
program and it is running, press switch SW3 on the Prototyping Board or press any
keyboard key on your PC to signal your intent to do a hot-swap. Remove the
xD-
Picture Card
and insert a new
xD-Picture Card
(or replace the original one) when
prompted to do so in the Dynamic C
STDIO
window or when the green LED (DS4) on
the Prototyping Board lights up. Do not remove the
xD-Picture Card
until you are
prompted or signaled by the LED!
The the
xD-Picture Card
can only be hot-swapped when the
xD-Picture Card
is
“unmounted.” This sample program “unmounts” the
xD-Picture Card
when it detects a
keyboard hit or SW3 press. Then it waits for a new
xD-Picture Card
to be inserted.
The following sample program can be found in the
SAMPLES\FileSystem\
folder.
•
FAT_HOT_SWAP.c
—This program demonstrates how to hot-swap the
xD-Picture
Card
on boards that support the
xD-Picture Card
and have their data bus buffered.
Once you have compiled the sample program and it is running, press any keyboard key
on your PC to signal your intent to do a hot-swap. Remove the
xD-Picture Card
and
insert a new
xD-Picture Card
(or replace the original one) when prompted to do so in
the Dynamic C
STDIO
window. Do not remove the
xD-Picture Card
until you are
prompted!
The
xD-Picture Card
can only be hot-swapped when the
xD-Picture Card
is
“unmounted.” This sample program “unmounts” the
xD-Picture Card
when it detects a
keyboard press. Then it waits for a new
xD-Picture Card
to be inserted.
Summary of Contents for RCM3365
Page 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Page 14: ...8 RabbitCore RCM3365 RCM3375...
Page 24: ...18 RabbitCore RCM3365 RCM3375...
Page 72: ...66 RabbitCore RCM3365 RCM3375...
Page 108: ...102 RabbitCore RCM3365 RCM3375...
Page 142: ...136 RabbitCore RCM3365 RCM3375...
Page 148: ...142 RabbitCore RCM3365 RCM3375...
Page 164: ......