BL4S200 User’s Manual
50
Figure 20. Insertion/Removal of microSD Card
NOTE:
When using the Dynamic C FAT file system, do
not
remove or insert the
microSD™ Card
while LED DS4 above the
microSD™ Card
is on to indicate that the
microSD™ Card
is mounted. The LED will go off when the
microSD™ Card
is
unmounted, indicating that it is safe to remove it.
Rabbit recommends that you use the
microSD™ Card
holder at connector J3 on the Rab-
bitCore module only for the
microSD™ Card
since other devices are not supported. Be
careful to remove and insert the card as shown, and be careful
not
to insert any foreign
objects, which may short out the contacts and lead to the destruction of your card.
It is possible to hot-swap
microSD™ Card
s without removing power from the BL4S200.
The file system must be closed before the cards can be hot-swapped. The chip selects
associated with the card must be set to their inactive state, and read/write operations
addressed to the
microSD™ Card
port cannot be allowed to occur. These operations can
be initiated in software by sensing an external switch actuated by the user, and the card
can then be removed and replaced with a different one. Once the application program
detects a new card, the file system can be opened. These steps allow the
microSD™ Card
to be installed or removed without affecting either the program, which continues to run on
the RCM4300 module, or the data stored on the card. The Dynamic C FAT file system will
handle this overhead automatically when you unmount the
microSD™ Card
. LED DS4
above the
microSD™ Card
is used by the FAT file system to show when the media is
mounted.
Standard Windows SD Card readers may be used to read the
microSD™ Card
formatted
by the Dynamic C FAT file system with the BL4S200 as long as it has not been parti-
tioned. SD Card adapters have a sliding switch along the left side that may be moved
down to write-protect the
microSD™ Card
while it is being used with an SD Card reader.
Sample programs in the
SAMPLES\BLxS2xx\SD_Flash
folder illustrate the use of the
microSD™ Card
s.
J1
R1
R2
R19
R3
R4
C3
L1
C1
C2
Y1
4
1
3
R16
R17
C4
C8
C5
C6
C7
R20
U2
R21
R22
R23
C13
C12
L2
C10
JP15
C21
U7
R38
J2
R37
R36
C22
DS1
LINK
SPEED
FDX
DS3
DS2
R39
R40
R41
R35
C23
R34
U6
R33
R31
R32
D1
R66
C14
C11
C9
R7
R6
DS4
R42
J3
U18
R65
R67
R64
R29
R68 R69
R30
R24
C15 C16 R28 R27 R26R25
C20
U5
JP12
JP13
JP14
R71
R70
R5 JP1
JP2
R72
JP3
JP4
JP5
JP6
JP7
JP8
JP9
JP10
JP11
U3
R8
R9
Q2
Q3
C91
C93
U1
R10 R1
1
R13 R12 R14 R15 C17 C18 C19
C92
C90