Memory format for example RDB1768cmsis2_usb_msc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Memory format for example RDB1768cmsis2_usb_msc

706 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Aug 08 11:33:43 MST 2012
How should be formatted SD memory for example RDB1768cmsis2_usb_msc?

This example connects to the USB bus, but fails after 30 seconds.

I think that everything is properly connected, and I'm using a micro-SD memory 4GB (with SD adapter).

The program stops at the function: U8 SPISend(U8 outgoing)
    SELECT_CARD();
    LPC_SPI->SPDR = outgoing;
    while (!(LPC_SPI->SPSR & (1 << SPIF))); // Stop here!


Thanks for any help.
0 Kudos
Reply
2 Replies

697 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Aug 08 15:45:43 MST 2012
WOW! I found a 2GB (no SDHC), and it worked.

You are my [B]H[/B]ero, best known as [B]Z[/B]ero

If you ever are interested in one of my boards, identify and give you a very special price.

Tomorrow I will upload pictures of my last board.

Thank you Zero!
0 Kudos
Reply

697 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Aug 08 13:08:43 MST 2012
Probably SDHC is your problem, try good old SD (max 2GB) :eek:

This is an SD sample, therefore working with my own board and 2GB SD without problems, but refusing to work with my 8GB SDHC at SPISend() ;)
0 Kudos
Reply