原创 当SD卡无法识别时

2013-12-23 22:19 1474 8 11 分类: 消费电子

    在TI的AM335X上跑linux3.2内核时出现下面的错误:

[root@EmbedSky /]# fdisk -l
end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
end_request: I/O error, dev mtdblock0, sector 8
Buffer I/O error on device mtdblock0, logical block 1
end_request: I/O error, dev mtdblock0, sector 16
Buffer I/O error on device mtdblock0, logical block 2
end_request: I/O error, dev mtdblock0, sector 24
Buffer I/O error on device mtdblock0, logical block 3
end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0

Disk /dev/mtdblock1: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 byend_request: I/O error, dev mtdblock4, sector 0
Buffer I/O error on device mtdblock4, logical block 0
tes

Disk /devend_request: I/O error, dev mtdblock4, sector 8
Buffer I/O error on device mtdblock4, logical block 1
/mtdblock1 doesnend_request: I/O error, dev mtdblock4, sector 16
Buffer I/O error on device mtdblock4, logical block 2
't contain a valend_request: I/O error, dev mtdblock4, sector 24
Buffer I/O error on device mtdblock4, logical block 3
id partition table

Disk /dev/end_request: I/O error, dev mtdblock4, sector 0
Buffer I/O error on device mtdblock4, logical block 0
mtdblock2: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/mtdblock5: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock5 doesn't contain a valid partition table

Disk /dev/mtdblock6: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock6 doesn't contain a valid partition table

Disk /dev/mtdblock7: 5 MB, 5242880 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock7 doesn't contain a valid partition table

Disk /dev/mtdblock8: 257 MB, 257425408 bytes
255 heads, 63 sectors/track, 31 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

一开始以为是软件错误,但是同样的软件并没有在开发板上出错,而且end_request: I/O error, dev mtdblock0, sector 0似乎是引脚出错,仔细查了查原理图,发现SD卡的3与6管脚通过一个22pf的电容接地,导致这两个管脚有1V多的电压。将电容拆去短路,SD卡果然可以识别了。
 

文章评论3条评论)

登录后参与讨论

用户1550903 2013-12-27 12:25

通过电容接地怎么会有1V多的电压?这个不太可能吧,你如果拿万用表测Clock的话,是有可能测出来1V多的。

jsntydx_271873404 2013-12-25 11:21

有益的调试经验

用户1602177 2013-12-24 10:45

不错的应用笔记,多谢分享~~
相关推荐阅读
用户1700650 2013-11-29 14:18
FPGA跑着跑着重新加载程序的问题
    大概在四月份左右,调试过一块FPGA的板子,我的FPGA程序跑着跑着,突然又重新加载程序,问题主要有以下几点情况:    1、4月份以来天气热了以后,发现程序跑着跑着掉了,一开始以为是继电器保...
用户1700650 2013-11-29 14:09
分享下FPGA+PCI9054的固件烧写心得
    先将俺在21ic论坛发过的帖子转过来安个家!最近看到有关PCI9054板卡开不了机,找不到硬件设备的帖子,之前我也做过两块FPGA+PCI9054的板卡,现将自己那阵子遇到这个问题捣鼓了挺长时...
我要评论
3
8
关闭 站长推荐上一条 /2 下一条