Hi,
We are trying to Program/Erase Hynix Nand Flash(128MB) with AM3505 based processor using Flash Utility v1.6 from TI but i am getting the following error in the output window of Flash Utility
Waiting for device (omap usb)
¯ Found device (omap usb)
¯ Awaiting ASIC id
¯ AsicId items 05
¯ 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
¯ AsicId checksum 15 09 01 59 DB 63 8B 00 00 00 00
¯ Searching 2nd for: CUSTOM_AM35XX_BOARD 343007 58 GP
¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.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 usb)
¯ Waiting for 2nd
¯ Status malformed response (3 bytes) during peripheral boot (waiting for 2nd)
Console program failed, exit code: 2
Its an 8 bit flash with page size 2K & pages per block is 64.
Previously we were using AM3517 based processor with K9xx series samsung nand flash. We modified the Flash v1.6\Targets\Configurations\configuration_custom_am35xx file for 8 bit nand flash i.e
memory NAND1BITBOOT driver Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin parameters gpmc 0x6E000000 cs 0 address 0x30000000 bberase 0 eccoffset 2
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 0x0019 eccoffset 2
We also modified the register values of GPMC by refering X-loader/U-boot source as
WRITE GPMC_CONFIG7_0 0x00000000
WAIT_N 0x1000
WRITE GPMC_CONFIG1_0 0x00001800
WRITE GPMC_CONFIG2_0 0x00080800
WRITE GPMC_CONFIG3_0 0x00080800
WRITE GPMC_CONFIG4_0 0x06000600
WRITE GPMC_CONFIG5_0 0x00070808
WRITE GPMC_CONFIG6_0 0x000003cf
WRITE GPMC_CONFIG7_0 0x00000870
And it started working i.e we were able Program/Erase the Nand Flash(K9 series) with AM3517.
But with AM3505,we are using a Hynix based Nand flash and configuration file parameters seems OK.Is there any more customization required to support AM3505 or Hynix Nand flash support ?
Any suggestions will be greatful
Thanks in advance