|
I have problem with sending data to nandflash. I run the .bat file, at91cap9adk-x11-nf.bat, to do the process. The .tcl file is at91cap9adk-x11-nf.tcl. All the cinfiguration is as the same as the copies download from Atmel Official Webside (the packages: linux-at91cap9adk).
but i got these wrong messages:
-E- Can't send data (0x0000000f)
-E- Script File at91cap9adk-x11-nf.tcl returned error : Can't detect known device - Can't detect known device while executing "error "Can't detect known device"" (procedure "GENERIC::Init" line 45) invoked from within "GENERIC::Init $NANDFLASH::appletAddr $NANDFLASH::appletMailboxAddr $NANDFLASH::appletFileName [list $target(comType) $target(traceLevel)]" (procedure "NANDFLASH::Init" line 10) invoked from within "NANDFLASH::Init" (file "at91cap9adk-x11-nf.tcl" line 33) invoked from within "source $scriptFile"
-- the whole logfile:
-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 : AT91CAP9-DK-MEM33 -I- argv 2 : at91cap9adk-x11-nf.tcl -I- Connection : \usb\ARM0 (target(comType) = 0) -I- Board : at91cap9-dk-mem33 -I- Traces Level : 4 -I- target(handle) : 18025392 Read device Chip ID at 0xfffff240 --- get 0x00000000 Read device Chip ID at 0xffffee40 --- get 0x039a03a0 -I- Found processor : at91cap9 (Chip ID : 0x039a03a0) -I- External RAM Settings : extRamVdd=1, extRamType=0, extRamDataBusWidth=32, extDDRamModel=0 -I- Loading applet isp-extram-at91cap9.bin at address 0x101000 -I- Memory Size : 0x4000000 bytes -I- Buffer address : 0x102354 -I- Buffer size: 0x0 bytes -I- Applet initialization done -I- External RAM initialized -I- Command line mode : Execute script file : at91cap9adk-x11-nf.tcl -I- === Initialize the NOR flash access === -I- NORFLASH::Init (trace level : 4) -I- Loading applet isp-norflash-at91cap9.bin at address 0x70000000 -I- Memory Size : 0x800000 bytes -I- Buffer address : 0x7000378C -I- Buffer size: 0x10000 bytes -I- Applet initialization done -I- === Erase all the NOR flash blocs and test the erasing === -I- Erasing blocks at address 0x0 -I- Erasing blocks at address 0x80000 -I- Erasing blocks at address 0x100000 -I- Erasing blocks at address 0x180000 -I- Erasing blocks at address 0x200000 -I- Erasing blocks at address 0x280000 -I- Erasing blocks at address 0x300000 -I- Erasing blocks at address 0x380000 -I- Erasing blocks at address 0x400000 -I- Erasing blocks at address 0x480000 -I- Erasing blocks at address 0x500000 -I- Erasing blocks at address 0x580000 -I- Erasing blocks at address 0x600000 -I- Erasing blocks at address 0x680000 -I- === Load the bootstrap in the first sector === -I- Send File at91cap9adk-bootstrap-nf.bin at address 0x00000000 GENERIC::SendFile at91cap9adk-bootstrap-nf.bin at address 0x0 -I- File size : 0xD2C byte(s) -I- Writing: 0xD2C bytes at 0x0 (buffer addr : 0x7000378C) -E- Can't send data (0x0000000f) -I- === Load the u-boot in the next sectors === -I- Send File at91cap9adk-u-boot-nf.bin at address 0x00008000 GENERIC::SendFile at91cap9adk-u-boot-nf.bin at address 0x8000 -I- File size : 0x33934 byte(s) -I- Writing: 0x10000 bytes at 0x8000 (buffer addr : 0x7000378C) -E- Can't send data (0x0000000f) -I- === Load the Kernel image === -I- Send File at91cap9adk-linux.bin at address 0x00040000 GENERIC::SendFile at91cap9adk-linux.bin at address 0x40000 -I- File size : 0x150800 byte(s) -I- Writing: 0x10000 bytes at 0x40000 (buffer addr : 0x7000378C) -E- Can't send data (0x0000000f) -I- === Initialize the NAND access === -I- NANDFLASH::Init (trace level : 4) -I- Loading applet isp-nandflash-at91cap9.bin at address 0x70000000 -E- Script File at91cap9adk-x11-nf.tcl returned error : Can't detect known device - Can't detect known device while executing "error "Can't detect known device"" (procedure "GENERIC::Init" line 45) invoked from within "GENERIC::Init $NANDFLASH::appletAddr $NANDFLASH::appletMailboxAddr $NANDFLASH::appletFileName [list $target(comType) $target(traceLevel)]" (procedure "NANDFLASH::Init" line 10) invoked from within "NANDFLASH::Init" (file "at91cap9adk-x11-nf.tcl" line 33) invoked from within "source $scriptFile"
|