This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash v1.6 issue.

Hello, everyone.

I have a custom OMAP35xx based board and I was playing around with Flash v1.6 to get the board flashed, but didn't succeed. Flash v1.6 configuration file was updated concerning SDRC and GPMC settings to correspond to the board design. Still there was no success.Either I was trying to simply download anything to SDRAM or to erase NAND region -- it always failed sending data. (Logs below).

So I need a clue to figure out why this is happening.

Downloading to SDRAM:

Ї Found device (omap usb)
Ї Awaiting ASIC id
Ї AsicId items 05
Ї AsicId id            01 05  01  34 30 07 57
Ї 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  F7 48 8F 28 00 00 00 00
Ї Searching 2nd for: CUSTOM_OMAP35XX_BOARD 343007 57 GP
Ї Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd
Ї Entering parameter file:omapflash2nd.txt at line: 5
Ї     -pheriphalboot_reopen
Ї Reading board configuration file Targets\Configurations\configuration_custom_omap35xx.txt
Ї Reading definition file .\targets\definitions\definitions_omap3_custom.txt
Ї     -board_config Targets\Configurations\configuration_custom_omap35xx.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
Ї Found 2nd
Ї Looking for a driver for 'SDRAM'
Ї No driver required for 'SDRAM'
Ї Downloading
Ї Downloading 'C:\Program Files\Texas Instruments\Flash v1.6\License.txt'

Ї Sending data (3402 bytes) :................... [212]
Ї Download failed (data response error):
Ї Elapsed time: 0:00.031 (109741 bytes/s)
Ї Operation FAILED ()
Ї Elapsed time: 0:00.000

Console program failed, exit code: 3

Erasing NAND region:

Ї Found device (omap usb)
Ї Awaiting ASIC id
Ї AsicId items 05
Ї AsicId id            01 05  01  34 30 07 57
Ї 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  F7 48 8F 28 00 00 00 00
Ї Searching 2nd for: CUSTOM_OMAP35XX_BOARD 343007 57 GP
Ї Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd
Ї Entering parameter file:omapflash2nd.txt at line: 5
Ї     -pheriphalboot_reopen
Ї Reading board configuration file Targets\Configurations\configuration_custom_omap35xx.txt
Ї Reading definition file .\targets\definitions\definitions_omap3_custom.txt
Ї     -board_config Targets\Configurations\configuration_custom_omap35xx.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
Ї Found 2nd
Ї Looking for a driver for 'NAND1BITKERNEL'
Ї chip_driver NAND1BITKERNEL Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x28000000 bberase 0 eccoffset 40
Ї Downloading driver
Ї Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'

Ї Sending data (41008 bytes) :................... [2563]
      Interface 'OMAPFLASH DRIVER v5'
      Driver 'NAND ONFI 16/8 BIT'
Ї Download failed (data response error): Reception failed - timeout after 60 s
Ї Elapsed time: 1:00.063 (683 bytes/s)
Ї Operation FAILED (Reception failed - timeout after 60 s)
Ї Elapsed time: 0:00.000

Console program failed, exit code: 3

  • Dear Vulgaris,

    Some Questions,

    1. Which Nand Flash and SDram you are using?

    2. Have you tried using Uart to download bootloader?

    3. Are you using micron nand, if yes use the option omap 35xx micron nand?

    Regards

    Jethin

  • Dear Vulgaris,

    Try this also

    https://gforge.ti.com/gf/download/frsrelease/506/4425/Flash_v1.5.zip

    also please application run in administrator mode.

    Regrads

    Jethin

  • Jethin,

    1. NAND & SDRAM

    NAND: MT29F8G16ADBDAH4 -- Micron's 16bit 1GByte

    SDRAM: MT64H64M32LF -- Micron's 256MByte mLPDDR

    2. Uart boot -- have not tried it yet.

    3. Setting OMAP35xx (Micron) target type was no luck either.

    I've also tried Flash v1.5 with OMAP35xx Custom Board target type. It worked just fine out of the box (I reflashed board's MLO in NAND). The same didn't work with out of the box v 1.6. Both logs are give below.

    Regards

    Garrikus

    Flash v1.5: Reflashing MLO in NAND -- success.

    ¯     -stdout
    ¯     -omap 3
    ¯     -t 60
    ¯     -p CUSTOM_OMAP35XX_BOARD
    ¯     -2
    ¯     chip_erase NAND 00080000
    ¯ Leaving parameter file:temp_script.txt
    ¯ @temp_script.txt
    ¯ Looking for device (omap usb)
    ¯ Please turn on device
    ¯ Waiting for device (omap usb)
    ¯ Found device (omap usb)
    ¯ Awaiting ASIC id
    ¯ AsicId items 05
    ¯ AsicId id            01 05  01  34 30 07 57
    ¯ 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  F7 48 8F 28 00 00 00 00
    ¯ Searching 2nd for: CUSTOM_OMAP35XX_BOARD 343007 57 GP
    ¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd
    ¯ Entering parameter file:omapflash2nd.txt at line: 5
    ¯     -pheriphalboot_reopen
    ¯ Reading board configuration file Targets\Configurations\configuration_custom_omap35xx.txt
    ¯ Reading definition file .\targets\definitions\definitions_omap3.txt
    ¯     -board_config Targets\Configurations\configuration_custom_omap35xx.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
    ¯ Found 2nd
    ¯ Looking for a driver for 'NAND'
    ¯ chip_driver NAND Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x28000000 bberase 0
    ¯ Downloading driver
    ¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'

    ¯ Sending data (42828 bytes) :::::::::::::::..... [32764]
    ¯ Sending data (42828 bytes) :::::::::::::::::::: [42828]
    ¯ Sending data (42828 bytes) :::::::::::::::::::: [42828]
          Interface 'OMAPFLASH DRIVER v5'
          Driver 'NAND ONFI 16/8 BIT'
          Driver configuration: gpmc = 0x6E000000
          Driver configuration: cs = 0x00000000
          Driver configuration: address = 0x28000000
          Driver configuration: bberase = 0x00000000
          NAND HW ECC
          NAND BCH Mode = 0
          NAND HWECC offset = 2, size = 12
          NAND ONFIv2 VENDOR 0x2C MICRON      
          NAND 16 BIT DEVICE 0xB3 MT29F8G16ADBDAH4    
          NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
          NAND 2048 BYTES/PAGE (SPARE 64)
          NAND 64 PAGES/BLOCK (131072 BYTES/BLOCK)
          NAND 4096 BLOCKS/UNIT (536870912 BYTES/UNIT)
          NAND DRIVER ONLY SUPPORTS 1 OF 2 UNITS
          NAND 4 BIT(S) ECC REQUIRED
          NAND 1024 MB TOTAL SIZE
          NAND ONFI DRIVER INIT COMPLETE
    ¯ Downloading complete
    ¯ Elapsed time: 0:00.359 (119298 bytes/s)
    ¯ End loading driver
    ¯ Erasing
          Erasing 524288 bytes starting at 0x28000000

          Erase progress :::::............... [131072]
          Erase progress ::::::::::.......... [262144]
          Erase progress :::::::::::::::..... [393216]
          Erase progress :::::::::::::::::::: [524288]
          NAND ERASED 524288 BYTES FROM ADDRESS 0x28000000 (0 BAD BLOCKS)
    ¯ Elapsed time: 0:00.000

    Console program success, exit code: 0
    ¯     -stdout
    ¯     -omap 3
    ¯     -t 60
    ¯     -p CUSTOM_OMAP35XX_BOARD
    ¯     -2
    ¯     chip_download NAND D:\MLO
    ¯ Leaving parameter file:temp_script.txt
    ¯ @temp_script.txt
    ¯ Looking for device (omap usb)
    ¯ Please turn on device
    ¯ Waiting for device (omap usb)
    ¯ Found device (omap usb)
    ¯ Awaiting ASIC id
    ¯ AsicId items 05
    ¯ AsicId id            01 05  01  34 30 07 57
    ¯ 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  F7 48 8F 28 00 00 00 00
    ¯ Searching 2nd for: CUSTOM_OMAP35XX_BOARD 343007 57 GP
    ¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd
    ¯ Entering parameter file:omapflash2nd.txt at line: 5
    ¯     -pheriphalboot_reopen
    ¯ Reading board configuration file Targets\Configurations\configuration_custom_omap35xx.txt
    ¯ Reading definition file .\targets\definitions\definitions_omap3.txt
    ¯     -board_config Targets\Configurations\configuration_custom_omap35xx.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
    ¯ Found 2nd
    ¯ Looking for a driver for 'NAND'
    ¯ chip_driver NAND Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x28000000 bberase 0
    ¯ Downloading driver
    ¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'

    ¯ Sending data (42828 bytes) :::::::::::::::..... [32764]
    ¯ Sending data (42828 bytes) :::::::::::::::::::: [42828]
    ¯ Sending data (42828 bytes) :::::::::::::::::::: [42828]
          Interface 'OMAPFLASH DRIVER v5'
          Driver 'NAND ONFI 16/8 BIT'
          Driver configuration: gpmc = 0x6E000000
          Driver configuration: cs = 0x00000000
          Driver configuration: address = 0x28000000
          Driver configuration: bberase = 0x00000000
          NAND HW ECC
          NAND BCH Mode = 0
          NAND HWECC offset = 2, size = 12
          NAND ONFIv2 VENDOR 0x2C MICRON      
          NAND 16 BIT DEVICE 0xB3 MT29F8G16ADBDAH4    
          NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
          NAND 2048 BYTES/PAGE (SPARE 64)
          NAND 64 PAGES/BLOCK (131072 BYTES/BLOCK)
          NAND 4096 BLOCKS/UNIT (536870912 BYTES/UNIT)
          NAND DRIVER ONLY SUPPORTS 1 OF 2 UNITS
          NAND 4 BIT(S) ECC REQUIRED
          NAND 1024 MB TOTAL SIZE
          NAND ONFI DRIVER INIT COMPLETE
    ¯ Downloading complete
    ¯ Elapsed time: 0:00.359 (119298 bytes/s)
    ¯ End loading driver
    ¯ Downloading
    ¯ Downloading 'D:\MLO'

    ¯ Sending data (22716 bytes) :::::::::::::::::::: [22716]
    ¯ Sending data (22716 bytes) :::::::::::::::::::: [22716]
    ¯ Downloading complete
    ¯ Elapsed time: 0:00.093 (244258 bytes/s)
    ¯ Elapsed time: 0:00.000

    Console program success, exit code: 0

    Flash v1.6 -- failed.

    ¯     -stdout
    ¯     -omap 3
    ¯     -no_force_package_alignment
    ¯     -t 60
    ¯     -p CUSTOM_OMAP35XX_BOARD
    ¯     -2
    ¯     chip_erase NAND1BITBOOT 00080000
    ¯ Leaving parameter file:temp_script.txt
    ¯ @temp_script.txt
    ¯ Looking for device (omap usb)
    ¯ Please turn on device
    ¯ Waiting for device (omap usb)
    ¯ Found device (omap usb)
    ¯ Awaiting ASIC id
    ¯ AsicId items 05
    ¯ AsicId id            01 05  01  34 30 07 57
    ¯ 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  F7 48 8F 28 00 00 00 00
    ¯ Searching 2nd for: CUSTOM_OMAP35XX_BOARD 343007 57 GP
    ¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_512m.2nd
    ¯ Entering parameter file:omapflash2nd.txt at line: 5
    ¯     -pheriphalboot_reopen
    ¯ Reading board configuration file Targets\Configurations\configuration_custom_omap35xx.txt
    ¯ Reading definition file .\targets\definitions\definitions_omap3.txt
    ¯     -board_config Targets\Configurations\configuration_custom_omap35xx.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
    ¯ Found 2nd
    ¯ Looking for a driver for 'NAND1BITBOOT'
    ¯ chip_driver NAND1BITBOOT Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 0 address 0x28000000 bberase 0 eccoffset 2
    ¯ Downloading driver
    ¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'

    ¯ Sending data (41008 bytes) :................... [2563]
          Interface 'OMAPFLASH DRIVER v5'
          Driver 'NAND ONFI 16/8 BIT'
    ¯ Download failed (data response error): Reception failed - timeout after 60 s
    ¯ Elapsed time: 1:00.079 (683 bytes/s)
    ¯ Operation FAILED (Reception failed - timeout after 60 s)
    ¯ Elapsed time: 0:00.000

    Console program failed, exit code: 3


  • Dear Vulgaris,

    You got it work right, I too faced some issue in 1.6 so i was following 1.5.

    Please tell me also, if you got any thing

    Regards

    Jethin