Groups
Groups
Sign in
Groups
Groups
rt-thread用户组
Conversations
About
Send feedback
Help
[RT-Thread]求助:SD卡挑卡问题
33 views
Skip to first unread message
yi mingyao
unread,
Jun 15, 2011, 9:13:34 PM
6/15/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rt-threa...@googlegroups.com
兄弟们好:
小弟目前的项目遇到点问题,想各位兄弟们提点建议。
小弟的系统组成:
MCU:lm3s6965
OS:RT-thread 0.3.1
同时挂载spi flash和SD卡(SD卡SPI模式;
flash和SD卡同一个spi通道)
小弟的现在问题是,挑SD卡,貌似有读写SD卡时内存溢出(未确定,正在调试)
SD卡情况是这样的,Sandisk 的卡1G(SD),4G和8G(SDHC)都没啥问题,创见的1G卡也没啥问题。
不过做样机时,采购的10张kingston的4G卡不认,刚开始挂载成功过,但是现在一张都不认。
今日jtag了一下,发现卡在初始化部分,原以为kingston可能没有SPI模式,不过调试过发现工作电压范围读取正常(CMD8正常),进一步设置失败(CMD55失败),SD卡完全没有回复。
不知各位兄弟们有啥好的建议吗?
调试建议或者kingston卡就是不能用这种建议也算(不过给个能用的产品,小弟买来试试看)。
小弟现在蛮困惑的,以前没弄过SD卡。
吴洋勇
unread,
Jun 15, 2011, 9:17:38 PM
6/15/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rt-threa...@googlegroups.com
SPI就是这样的.
不是所有的SD卡都支持SPI模式.
不同人写的SPI的驱动程序都不一定完全符合规范.
打印一下SD卡白皮书好好啃啃
项目中如果要使用SPI接SD卡,
1.给SD卡加电源控制.防止热复位不成功.
2.产品外发时配卡,只使用测试通过的同批次的正品卡.
--
吴洋勇
Vinx Zhu
unread,
Jun 15, 2011, 9:41:35 PM
6/15/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rt-threa...@googlegroups.com
sandisk的确是兼容性好稳定就是价格高些,kingston的速度可以兼容性比较差价格也便宜些。
2011/6/16 吴洋勇
<
wuyan...@gmail.com
>
--
朱乃松(Vinx Zhu)
Reply all
Reply to author
Forward
0 new messages