Memory format for example RDB1768cmsis2_usb_msc

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Memory format for example RDB1768cmsis2_usb_msc

721 次查看
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 项奖励
回复
2 回复数

712 次查看
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 项奖励
回复

712 次查看
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 项奖励
回复