主题 : 请教micro 2440 SD卡的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 8606
精华: 0
发帖: 9
金钱: 50 两
威望: 13 点
综合积分: 18 分
注册时间: 2009-08-30
最后登录: 2010-04-22
楼主  发表于: 2010-04-14 11:01

 请教micro 2440 SD卡的问题

管理提醒: 本帖被 qq2440 从 micro2440技术交流专区 移动到本区(2013-11-18)
请教下linux下驱动采用的是4线还是1线,我测了下速度大概1M这样子
有没办法提升到3M这样子?

顺便问有 linux 下lcd显示的示例代码吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-04-14 12:09
这取决于你用哪个内核。如果是友善之臂提供的2.6.29.4或2.6.32.2内核,那是4线的。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 8606
精华: 0
发帖: 9
金钱: 50 两
威望: 13 点
综合积分: 18 分
注册时间: 2009-08-30
最后登录: 2010-04-22
2楼  发表于: 2010-04-14 12:18
先谢谢版主积极回复
我是烧了光盘里的,看了一下,可能光盘太老是2.6.13的
新版的在哪可以下到

版主知道4线驱动下读写速度大概是多少?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-04-14 13:22
我没有实际测过速度,理论值是(如果我没记错spec的话)
25M * 4 = 100Mbps, 也就是12.5MB/s

最新的镜像和源代码都可以在http://www.arm9.net/download.asp下载到
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 8606
精华: 0
发帖: 9
金钱: 50 两
威望: 13 点
综合积分: 18 分
注册时间: 2009-08-30
最后登录: 2010-04-22
4楼  发表于: 2010-04-15 11:12
烧写了新的内核2.6.32.2 测试了一下复制速度19M用了15秒这样,没有明显的提升
这是为何差这么多
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2010-04-15 11:40
理论和实际之间是有差距的,而你能做的就是尽量缩小这个差距
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 8606
精华: 0
发帖: 9
金钱: 50 两
威望: 13 点
综合积分: 18 分
注册时间: 2009-08-30
最后登录: 2010-04-22
6楼  发表于: 2010-04-16 08:53
买了张4G sandisk的高速卡,发现没有原来那张金士顿1G快,反而慢了一半。请问何故?
复制单文件使用多线程能否提升其速度?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2010-04-16 09:45
对于mini2440来说,SD Controller能提供给SD卡的时钟频率最高只有PCLK / (1 + 1) = 25MHz (PCLK = 50MHz), 就算用的是SDHC,也无法得到它所需的更高的时钟频率。



"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."