![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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) Code:
SELECT_CARD();
LPC_SPI->SPDR = outgoing;
while (!(LPC_SPI->SPSR & (1 << SPIF))); // Stop here!
__________________
www.luisdigital.com |
|
#2
|
|||
|
|||
|
Probably SDHC is your problem, try good old SD (max 2GB)
![]() 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()
|
|
#3
|
|||
|
|||
|
WOW! I found a 2GB (no SDHC), and it worked.
You are my Hero, best known as Zero 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!
__________________
www.luisdigital.com |
![]() |
| Thread Tools | |
|
|