I‘m using flash tools V1.6.0.0 with my AM3517board which is DIM3517 and have a Nand flash K9F4G08U.But I get error as following:
-stdout
-omap 3
-no_force_package_alignment
-com 1
-t 60
-p CUSTOM_AM35XX_BOARD
-2
chip_erase NANDINFO1BITBOOT 0
Leaving parameter file:temp_script.txt
@temp_script.txt
Looking for device (omap com1)
Please turn off device, then turn it on again
Awaiting ASIC id
Awaiting ASIC id
AsicId items 04
AsicId id 01 05 01 34 30 07 58
AsicId secure_mode 13 02 01 00
AsicId public_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
AsicId root_key_hash 14 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Searching 2nd for: CUSTOM_AM35XX_BOARD 343007 58 GP
Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_4g.2nd
Entering parameter file:omapflash2nd.txt at line: 7
-pheriphalboot_reopen
Reading board configuration file Targets\Configurations\configuration_custom_am35xx.txt
Reading definition file .\targets\definitions\definitions_omap3.txt
-board_config Targets\Configurations\configuration_custom_am35xx.txt
Leaving parameter file:omapflash2nd.txt
Sending size of second file (0x00006804 bytes)
Transferring second file to target (0x6804 bytes)
Closing boot connection
Found device (omap com1)
Waiting for 2nd
Reception failed - timeout after 60 s during peripheral boot (waiting for 2nd)
Console program failed, exit code: 2
I also have revise the configuration as following:
memory NANDINFO1BITKERNEL driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0018 eccoffset 40
memory NANDINFO1BITBOOT driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 onfi 0 bpp 2048 sbpp 64 ppb 64 bpl 4096 l 1 acv 0x23 f 0x0018 eccoffset 2
.......
# NAND on CS0
WRITE GPMC_CONFIG7_0 0x00000000
WAIT_N 0x1000
WRITE GPMC_CONFIG1_0 0x00000800
WRITE GPMC_CONFIG2_0 0x00080800
And my x-loader,u-boot,kernel and rootfs have download using nand write command.Also I have succeeded in nand writting by Uart with above configuration.The DIM3517 also have boot from nand.I need download these through flash tools.Please give me some advise ASAP.Thanks for your reply
Best regards
Rose