This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SD/MMC card init failed

Hi Everyone,

We have used the example program taken from path “C:\Keil\ARM\Boards\Keil\MCB2300\RL\FlashFS\SD_File\SD_File.uV2” to create a file in MMC card interfaced to LPC2368 microcontroller using MMC card bus (Native mode). The code is working fine for 1GB MMC card. But when we are inserting 4 GB card into card slot the program is displaying “SD/MMC Init Failed” message in Flash Magic terminal window.

+-----------------------------------------------------------------------+
| SD/MMC Card File Manipulation example |
+ command ------------------+ function ---------------------------------+
| CAP "fname" [/A] | captures serial data to a file |
| | [/A option appends data to a file] |
| FILL "fname" [nnnn] | create a file filled with text |
| | [nnnn - number of lines, default=1000] |
| TYPE "fname" | displays the content of a text file |
| REN "fname1" "fname2" | renames a file 'fname1' to 'fname2' |
| COPY "fin" ["fin2"] "fout"| copies a file 'fin' to 'fout' file |
| | ['fin2' option merges 'fin' and 'fin2'] |
| DEL "fname" | deletes a file |
| DIR "[mask]" | displays a list of files in the directory |
| FORMAT [label [/FAT32]] | formats Flash Memory Card |
| | [/FAT32 option selects FAT32 file system] |
| HELP or ? | displays this help |
+---------------------------+-------------------------------------------+

SD/MMC Init Failed
Insert Memory card and press key...

We have used the above signal lines to interface the MMC card with LPC2368. Please help us in solving this problem. The MMC card used is “micro SDHC – 4GB”

Waiting for your reply

Thanks in advance
Regards
K.Surendar reddy
surenderreddy333@gmail.com

Parents
  • HI, Everyone I have got one more problem at present we are working with 1GB MMC card we want the MMC card insertion to be hot plug-gable. For this we have used one GPIO pin to detect insertion of the MMC card. But when the MMC card is inserted my system(LPC 2368 controller) is resetting. Please help me i want my system with MMC card support to be hot pluggable. Please Reply me.

Reply
  • HI, Everyone I have got one more problem at present we are working with 1GB MMC card we want the MMC card insertion to be hot plug-gable. For this we have used one GPIO pin to detect insertion of the MMC card. But when the MMC card is inserted my system(LPC 2368 controller) is resetting. Please help me i want my system with MMC card support to be hot pluggable. Please Reply me.

Children
No data