- 论坛徽章:
- 3
|
运行AT91SAM9260_demo_linux_DataFlash.bat可以正确烧写系统,运行
AT91SAM9260_demo_linux_NandFlash.bat时出错,有没有人用过此开发板。
出错的日志文件如下:
-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.9 on : windows
-I- Retrieved arguments from command line :
-I- argv 0 : \usb\ARM0
-I- argv 1 : AT91SAM9260-EK
-I- argv 2 : AT91SAM9260_demo_linux_NandFlash.tcl
-I- Connection : \usb\ARM0 (target(comType) = 0)
-I- Board : at91sam9260-ek
-I- Traces Level : 4
-I- target(handle) : 18252064
Read device Chip ID at 0xfffff240 --- get 0x019803a1
-I- Found processor : at91sam9260 (Chip ID : 0x019803a1)
-I- External RAM Settings : extRamVdd=1, extRamType=0, extRamDataBusWidth=32, extDDRamModel=0
-I- Loading applet isp-extram-at91sam9260.bin at address 0x200000
-I- Memory Size : 0x4000000 bytes
-I- Buffer address : 0x2004A4
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- External RAM initialized
-I- Command line mode : Execute script file : AT91SAM9260_demo_linux_NandFlash.tcl
u-boot file: u-boot-env-nf.bin
diskSize: 0x00400000
-I- === Performs sanity checks===
-I- === Initialize the NAND access ===
-I- NANDFLASH::Init (trace level : 4)
-I- Loading applet isp-nandflash-at91sam9260.bin at address 0x20000000
-I- Memory Size : 0x10000000 bytes
-I- Buffer address : 0x20003AA0
-I- Buffer size: 0x20000 bytes
-I- Applet initialization done
-I- === Erase all the NAND flash blocs and test the erasing ===
-E- Script File AT91SAM9260_demo_linux_NandFlash.tcl returned error : invalid command name "NANDFLASH::EraseSectorTest" - invalid command name "NANDFLASH::EraseSectorTest"
while executing
"NANDFLASH::EraseSectorTest"
(file "AT91SAM9260_demo_linux_NandFlash.tcl" line 144)
invoked from within
"source $scriptFile"
在调试串口打印的信息如下:
>RomBOOT
>-I- -- NandFlash ISP applet 2.9 --
-I- -- AT91SAM9260-EK
-I- -- Compiled: Jun 22 2009 15:00:27 --
-I- INIT command
-I- Nandflash ID is 0x9510DAEC
-I- Nandflash driver initialized
-I- pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800 bus width : 8
-I- bufferAddr : 0x20003aa0
-I- End of applet (command : 0 --- status : 0)
RomBOOT
>RomBOOT
>-I- -- NandFlash ISP applet 2.9 --
-I- -- AT91SAM9260-EK
-I- -- Compiled: Jun 22 2009 15:00:27 --
-I- INIT command
-I- Nandflash ID is 0x9510DAEC
-I- Nandflash driver initialized
-I- pageSize : 0x800 blockSize : 0x20000 blockNb : 0x800 bus width : 8
-I- bufferAddr : 0x20003aa0
-I- End of applet (command : 0 --- status : 0)
请问这是什么地方出了问题??
另外,使用dataflash烧写的系统过一段时间后系统会丢失,而不是掉电后丢失,不知是何缘故??? |
|