MicroSD Card Related Commands

A MicroSD card can be inserted in a card holder on the backside of any iLCD with DPC3080 controller or higher. The iLCD Controller supports low capacity cards as well as HC cards with FAT12, FAT16 and FAT32 filesystem. Long filenames are not supported, all filenames must be entered in 8.3 format and are case-insensitive when using characters between A-Z respectively a-z.

The NT Reserved Byte 0x0C of each file determines if the filename and extension are interpreted (and thus reported) lowercase. When creating files (refer to Open File and Make Directory), filename and extension are lowercase only if there are no uppercase characters in the corresponding string.

There is no drive letter to be used, every path has to be declared absolutely, "\" directory separators can not be used and are not allowed within filenames as well. Relative paths like "../xxx" and working directories are not supported.

Graphics and animations can be displayed directly from the MicroSD card (refer to Display Local Graphic and Load Animated Graphics).

When a card is inserted it is automatically mounted and ready for data storing and retrieving. When the card is removed, all files are closed and the card is dismounted. You should not remove a card while a file is open. Problems can arise when a file is open for writing, appending or when a file is truncated but not yet closed. When the card is removed in such a case the opened file could remain with wrong length or with garbage data appended to the file. Loss of data might occur as well. To prevent this, use the Unmount MicroSD Card command before removing the card.

To insert a MicroSD card, slide the connector in the direction of the OPEN-arrow engraved in the metal plate and lift it. Insert the card with the contact area facing the board, then fold the connector back in and push carefully in the direction of the LOCK-arrow until it makes a click sound.

Not supported by: DPC3050, DPC3020, DPC2060, DPC10xx

Find following commands in this chapter as well as in the corresponding category when using the parameter completion feature of iLCD Manager XE: