紧急求助高手:
参考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]
共3条
1/1 1 跳转至页
仍然是出错,如下
-> 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
->
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
->
调试了一天,我跟踪了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,请问问题在哪,我基本上迷失了?????????
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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【笔记】生成报错synthdesignERROR被打赏50分 | |
【STM32H7S78-DK评测】LTDC+DMA2D驱动RGBLCD屏幕被打赏50分 | |
【STM32H7S78-DK评测】Coremark基准测试被打赏50分 | |
【STM32H7S78-DK评测】浮点数计算性能测试被打赏50分 | |
【STM32H7S78-DK评测】Execute in place(XIP)模式学习笔记被打赏50分 | |
每周了解几个硬件知识+buckboost电路(五)被打赏10分 | |
【换取逻辑分析仪】RA8 PMU 模块功能寄存器功能说明被打赏20分 | |
野火启明6M5适配SPI被打赏20分 | |
NUCLEO-U083RC学习历程2-串口输出测试被打赏20分 | |
【笔记】STM32CUBEIDE的Noruletomaketarget编译问题被打赏50分 |