NXP Semiconductors logo
LPCXpresso Logo

Reply
 
Thread Tools
  #1  
Old 08-08-2012, 08:33 PM
Luis Digital Luis Digital is offline
Senior Member
 
Join Date: Mar 2010
Location: Dominican Republic
Posts: 281
Luis Digital is on a distinguished road
Default Memory format for example RDB1768cmsis2_usb_msc

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!
Thanks for any help.
__________________
www.luisdigital.com
Reply With Quote
  #2  
Old 08-08-2012, 10:08 PM
Zero Zero is offline
Senior Member
 
Join Date: Dec 2009
Location: far away
Posts: 2,625
Zero is on a distinguished road
Default

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()
Reply With Quote
  #3  
Old 08-09-2012, 12:45 AM
Luis Digital Luis Digital is offline
Senior Member
 
Join Date: Mar 2010
Location: Dominican Republic
Posts: 281
Luis Digital is on a distinguished road
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 01:55 AM.