sd card not working properly

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

sd card not working properly

1,568件の閲覧回数
sonuprajapat
Contributor II

hi i am working on sd card using spi in lpc2468 it is working fine . but when i do the power off  the card then card init correct but not read write . i can not understand the problem please help me . my code is...

Original Attachment has been moved to: SPI.C.zip

Original Attachment has been moved to: Spi_mmc.h.zip

Original Attachment has been moved to: MMC.C.zip

4 返答(返信)

1,365件の閲覧回数
sonuprajapat
Contributor II

hi some help me on above question i am not understanding this problem please....

0 件の賞賛
返信

1,365件の閲覧回数
sonuprajapat
Contributor II

please give me replay....

0 件の賞賛
返信

1,365件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Sonu,

If the code is working without the power cycle, it seems that it is a timing or power issue. You could try checking your power supply in order to discard some peaks that cause abnormal SD card operation, or trying adding a delay before the SD card initialization, in order to ensure that the card is already self-initialized for a correct communication.


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,365件の閲覧回数
sonuprajapat
Contributor II

Hi Carlos

Thank you for your replay .

As you say  it may be . problem is that normally card is working fine but when i do the power off and then on of the system respectively then card initialization is fine but read write operation is not working . But when i do reset of whole system then it is working fine again.

thank you .  

0 件の賞賛
返信