SD/MMC Driver

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

SD/MMC Driver

982 次查看
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
标签 (1)
0 项奖励
回复
5 回复数

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

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

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

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

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