CPU::AT91RM9200
SDRAM: 2*16M HY57V281620HG 0x20000000
Nor Flash:4M AT49BV322A 0x10000000
Nand Flash: K9F1208U 0x40000000
调试环境:tornado 2.2
目前,从外部nor flash启动下载vxworks后,能够identify成功,并且MTD驱动程序,都已经调试过没有问题。
FTL使用:
#define INCLUDE_TL_NFTL
包含了basic mmu
问题1:
在shell下,调用tffsDevFormat进行格式化的时候,出现错误:
Instruction prefetch abort
Exception address: 0xda000014
Current Processor Status Register: 0x60000013
Data abort
Exception address: 0x201a7448
Current Processor Status Register: 0x60000013
Task: 0x21f29dc0 "tShell"
问题2:
有时候在调用tffsShow时会出现异常:
communication failed with error -1
查找代码,发现是因为tffsRawio函数不成功导致,这个函数是干什么用的?
大家帮忙分析一下,另外有个疑问,nand flash的坏块在使用过程中会不会增加,感觉使用nand flash存储数据的可靠性不够高,大家是什么观点?