Home/Support/Support Forum/How to init 4GB SD Card with RCM6700?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to init 4GB SD Card with RCM6700?

+2 votes
I have a problem when initialize 4GB SD Card using RCM6700. I use SDflash_inspect.c with some port modification and it always give me an error (-5) I/O error. My program work well on 2GB SD Card so I would like to ask is there a specific initialization for 4GB SD card? FYI I'm using 4GB SDSC card, not SDHC

thank you for your help
asked Nov 29, 2013 in Rabbit Software by reanovich New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

0 votes
There is a limit of 2GB capacity for SD cards using Dynamic C. The full details are as follows:

Any original SD standard capacity card (i.e. not SDHC, not SDXC, nor other future SD card revisions) that meets the following requirements is expected to work with Dynamic C’s standard SDFLASH.LIB and SD_FAT.LIB functionality:

· maximum 2 GB size

· FAT16 format (FAT32 or exFAT formatted SD cards must be reformatted as FAT16)

· full support of SD’s legacy SPI communication mode

· standard 19-byte CSD format (latest functionality supports both CRC16 and CRC7 calculation check modes)
answered Dec 10, 2013 by trooper2 Veteran of the Digi Community (591 points)