SD/MMC Driver

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

SD/MMC Driver

984 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mallesh.koti on Thu Jun 26 04:35:53 MST 2014
Hello,

I am writing SD/MMC Driver for LPC4330 using NUTTX.
I finished initialization and now, if I send CMD17 after CMD16 I am ending with "Hard fault(HLE)".
Can anybody please help me?.


Thanks,
Mallesh K
Labels (1)
0 Kudos
Reply
5 Replies

943 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mallesh.koti on Wed Jul 02 20:53:36 MST 2014
Hello wmues,

To get SCR from the card, first i am sending CMD16(to set blockength).
this is fine.
Then m sending CMD50 and CMD55.
After CMD55, the RXDR bit is not getting cleard in RINTSTS register.
Even I explicitly wrote into RINTSTS, but its not at all getting cleared.
What may be the reason?

Thanks,
Mallesh K
0 Kudos
Reply

943 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mallesh.koti on Wed Jul 02 05:25:00 MST 2014
Hello wmues,

To get SCR from the card, first i am sending CMD16(to set blockength).
this is fine.
Then m sending CMD50 and CMD55.
After CMD55, the RXDR bit is not getting cleard.
What may be the reason?

Thanks,
Mallesh K
0 Kudos
Reply

943 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mallesh.koti on Mon Jun 30 02:42:22 MST 2014
yeah Wolfgang,

  Data block is fine now. It is word-aligned.

Regards,
Mallesh K
0 Kudos
Reply

943 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mallesh.koti on Sun Jun 29 21:54:42 MST 2014
Hello Wolfgang,

How much size I need to set for Data block?

Regards,
Mallesh K
0 Kudos
Reply

943 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wmues on Fri Jun 27 02:16:18 MST 2014
Data block not word-aligned?

regards
Wolfgang
0 Kudos
Reply