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.

cs7 configuration

Console program aborted or crashed, exit code: 62097
¯     -stdout
¯     -omap 3
¯     -t 60
¯     -p CUSTOM_AM37XX_BOARD
¯     -2
¯     chip_erase NANDINFO 0
¯ 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  36 30 07 07 
¯ 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  13 BF 3E EF 00 00 00 00 
¯ Searching 2nd for: CUSTOM_AM37XX_BOARD 363007 07 GP 
¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
¯ Entering parameter file:omapflash2nd.txt at line: 9
¯     -pheriphalboot_reopen
¯ Reading board configuration file Targets\Configurations\configuration_custom_am37xx.txt
¯ Reading definition file .\targets\definitions\definitions_omap3.txt
¯     -board_config Targets\Configurations\configuration_custom_am37xx.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 'NANDINFO'
¯ chip_driver NANDINFO Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 7 address 0x38000000 bberase 0 onfi 0 bpp 8192 sbpp 640 ppb 256 bpl 2048 l 1 acv 0x23 f 0x0018
¯ Downloading driver
¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'
 
¯ Sending data (40768 bytes) ::::::::::::::::.... [32764]
¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
      Interface 'OMAPFLASH DRIVER v5'
      Driver 'NAND ONFI 16/8 BIT'
      Driver configuration: gpmc = 0x6E000000
      Driver configuration: cs = 0x00000007
      Driver configuration: address = 0x38000000
      Driver configuration: bberase = 0x00000000
      Driver configuration: onfi = 0x00000000
      Driver configuration: bpp = 0x00002000
      Driver configuration: sbpp = 0x00000280
      Driver configuration: ppb = 0x00000100
      Driver configuration: bpl = 0x00000800
      Driver configuration: l = 0x00000001
      Driver configuration: acv = 0x00000023
      Driver configuration: f = 0x00000018
      NAND HW ECC
      NAND BCH Mode = 0
      NAND HWECC offset = 1, size = 12
      NAND NONEv0 VENDOR 0x00 UNKNOWN
      NAND 8 BIT DEVICE 0x00 UNKNOWN
      NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
      NAND 8192 BYTES/PAGE (SPARE 640)
      NAND 256 PAGES/BLOCK (2097152 BYTES/BLOCK)
      NAND 2048 BLOCKS/UNIT (0 BYTES/UNIT)
      NAND 0 BIT(S) ECC REQUIRED
      NAND 0 MB TOTAL SIZE
      NAND ONFI DRIVER INIT COMPLETE
¯ Downloading complete
¯ Elapsed time: 0:00.641 (63600 bytes/s)
¯ End loading driver
¯ Erasing
      Erasing to end of device starting at 0x38000000
      NAND ADDRESS 0x00000000 OUT OF RANGE (BOUNDARY 0x00000000)
¯ Operation FAILED (Remote: : Error - ADDRESS BOUNDARY CHECK FAILED)
¯ Elapsed time: 0:00.000
 
Console program failed, exit code: 3

 Nand 2048 Blocks/Unit (0 Bytes/Unit)!!!!!

Why I 'm getting in above statement 0 Bytes/Unit.......Can anyone plz help me?

Thanks in advance

  • santosh:

    Having a 32 Gbit (4BG) flash device hits a limitation of the program since it uses 32-bit numbers,

    for example, for the size of the erase operation,  the size to be erased (2**32) becomes 0.

    Can you do the operation using two separate erase operations of size 80000000?

    regards,

    Michael T

    PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • Thanks for the reply Michael,

     

    I even tried with 16Gbit (2GB) flash device, Got Nand size also 2048MB, But even the erase operation is not happening,

     

    This is what I got output......... can you suggest?

    Console program aborted or crashed, exit code: 62097
    ¯     -stdout
    ¯     -omap 3
    ¯     -t 60
    ¯     -p CUSTOM_AM37XX_BOARD
    ¯     -2
    ¯     chip_erase NANDINFO 0
    ¯ 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  36 30 07 07 
    ¯ 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  13 BF 3E EF 00 00 00 00 
    ¯ Searching 2nd for: CUSTOM_AM37XX_BOARD 363007 07 GP 
    ¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
    ¯ Entering parameter file:omapflash2nd.txt at line: 9
    ¯     -pheriphalboot_reopen
    ¯ Reading board configuration file Targets\Configurations\configuration_custom_am37xx.txt
    ¯ Reading definition file .\targets\definitions\definitions_omap3.txt
    ¯     -board_config Targets\Configurations\configuration_custom_am37xx.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 'NANDINFO'
    ¯ chip_driver NANDINFO Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin gpmc 0x6E000000 cs 7 address 0x38000000 bberase 0 onfi 0 bpp 8192 sbpp 448 ppb 256 bpl 1024 l 1 acv 0x23 f 0x0018
    ¯ Downloading driver
    ¯ Downloading 'Targets\Flash-Drivers\nand_onfi_16bit_8bit.bin'
     
    ¯ Sending data (40768 bytes) ::::::::::::::::.... [32764]
    ¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
    ¯ Sending data (40768 bytes) :::::::::::::::::::: [40768]
          Interface 'OMAPFLASH DRIVER v5'
          Driver 'NAND ONFI 16/8 BIT'
          Driver configuration: gpmc = 0x6E000000
          Driver configuration: cs = 0x00000007
          Driver configuration: address = 0x38000000
          Driver configuration: bberase = 0x00000000
          Driver configuration: onfi = 0x00000000
          Driver configuration: bpp = 0x00002000
          Driver configuration: sbpp = 0x000001C0
          Driver configuration: ppb = 0x00000100
          Driver configuration: bpl = 0x00000400
          Driver configuration: l = 0x00000001
          Driver configuration: acv = 0x00000023
          Driver configuration: f = 0x00000018
          NAND HW ECC
          NAND BCH Mode = 0
          NAND HWECC offset = 1, size = 12
          NAND NONEv0 VENDOR 0x00 UNKNOWN
          NAND 8 BIT DEVICE 0x00 UNKNOWN
          NAND NAND CYCLES 0x23 (3 ROW, 2 COLUMN)
          NAND 8192 BYTES/PAGE (SPARE 448)
          NAND 256 PAGES/BLOCK (2097152 BYTES/BLOCK)
          NAND 1024 BLOCKS/UNIT (-2147483648 BYTES/UNIT)
          NAND 0 BIT(S) ECC REQUIRED
          NAND 2048 MB TOTAL SIZE
          NAND ONFI DRIVER INIT COMPLETE
    ¯ Downloading complete
    ¯ Elapsed time: 0:00.641 (63600 bytes/s)
    ¯ End loading driver
    ¯ Erasing
          Erasing to end of device starting at 0x38000000
          NAND BAD BLOCK AT ADDRESS 0x00000000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00000000
          NAND BAD BLOCK AT ADDRESS 0x00200000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00200000
          NAND BAD BLOCK AT ADDRESS 0x00400000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00400000
          NAND BAD BLOCK AT ADDRESS 0x00600000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00600000
          NAND BAD BLOCK AT ADDRESS 0x00800000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00800000
          NAND BAD BLOCK AT ADDRESS 0x00A00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00A00000
          NAND BAD BLOCK AT ADDRESS 0x00C00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00C00000
          NAND BAD BLOCK AT ADDRESS 0x00E00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x00E00000
          NAND BAD BLOCK AT ADDRESS 0x01000000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01000000
          NAND BAD BLOCK AT ADDRESS 0x01200000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01200000
          NAND BAD BLOCK AT ADDRESS 0x01400000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01400000
          NAND BAD BLOCK AT ADDRESS 0x01600000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01600000
          NAND BAD BLOCK AT ADDRESS 0x01800000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01800000
          NAND BAD BLOCK AT ADDRESS 0x01A00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01A00000
          NAND BAD BLOCK AT ADDRESS 0x01C00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01C00000
          NAND BAD BLOCK AT ADDRESS 0x01E00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x01E00000
          NAND BAD BLOCK AT ADDRESS 0x02000000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02000000
          NAND BAD BLOCK AT ADDRESS 0x02200000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02200000
          NAND BAD BLOCK AT ADDRESS 0x02400000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02400000
          NAND BAD BLOCK AT ADDRESS 0x02600000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02600000
          NAND BAD BLOCK AT ADDRESS 0x02800000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02800000
          NAND BAD BLOCK AT ADDRESS 0x02A00000
          NAND drv_dnld_erase: SKIPPING BAD BLOCK AT 0x02A00000


    Page size = 8192

    spare size = 448

    pages per block = 256

    Blocks per device = 1024