Hot-Swapping Xd-Picture Card - Rabbit RCM3365 User Manual

C-programmable core module with nand flash mass storage and ethernet
Table of Contents

Advertisement

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
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
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
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
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
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.
User's Manual
—This program demonstrates how to hot-swap the xD-
STDIO
—This program demonstrates how to hot-swap the xD-Picture
window. Do not remove the xD-Picture Card until you are
SAMPLES\RCM3360\NANDFlash
window or when the green LED (DS4) on
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents