这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 怎么看不到我的TFFS设备

共3条 1/1 1 跳转至

怎么看不到我的TFFS设备

菜鸟
2004-08-10 23:30:51     打赏
紧急求助高手:
参考BBS中的一些帖子和资料,自己配了AM29LV160D的TFFS,显示以下信息:
-> tffsDevFormat(0,0)
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media. 问:为什么会显示两次同样的信息?
value = -1 = 0xffffffff
-> usrTffsConfig(0,0,"flash:")
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
value = -1 = 0xffffffff
-> tffsShowAll
TFFS Version 2.0
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
0: socket=RFA: type=0xc4, unitSize=0x10000, mediaSize=0x1f0000
value = 48 = 0x30 = '0'
->tffsShow
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
0: socket=RFA: type=0xc4, unitSize=0x10000, mediaSize=0x1f0000
value = 48 = 0x30 = '0'
以上的使用是否有问题??? 同时我用devs,怎么看不到我的TFFS设备,请指教????? [align=right][color=#000066][此贴子已经被作者于2004-8-10 15:33:10编辑过][/color][/align]



关键词: 怎么     看不到     我的     设备     Debug     mbm29l    

菜鸟
2004-08-11 01:00:00     打赏
2楼
仍然是出错,如下 -> sysTffsFormat 0,0
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
Debug: entering mbm29lv160 MTD identification routine.
baseflashPtr = 0x78000000
unlockAddr1 = 0x78000aaa, unlockAddr2 = 0x78000555
Debug: Identified mbm29lv160 media.
value = -1 = 0xffffffff
->

菜鸟
2004-08-11 23:30:00     打赏
3楼
调试了一天,我跟踪了MTD檫/写函数,MTD的所有函数是对的.可按照下面的步骤运行,仍是失败...-> tffsDrv
value = 0 = 0x0
-> tffsDevFormat(0,0)
mbm29lvMTDIdentify begin...
amd29lvMTDIdentify succeeds! mbm29lvMTDIdentify begin...
amd29lvMTDIdentify succeeds! value = -1 = 0xffffffff
-> usrTffsConfig(0,0,"flash0")
mbm29lvMTDIdentify begin...
amd29lvMTDIdentify succeeds! value = -1 = 0xffffffff
-> devs
drv name
0 /null
1 /tyCo/0
1 /tyCo/1
5 bootHost:
6 /vio
value = 0 = 0x0
-> 我的理解是tffsDrv返回0,表示SOCKE注册OK了,但MTD的函数又OK,请问问题在哪,我基本上迷失了?????????

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]