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.

burning u-boot.min.nand to Nand Flash failed

OS : Windows xp service Pack 3
CCS v5.2
Ashling Opella-XDS100v2

Dm8148 board's S1 is set all 0s

When I burning u-boot.min.nand to Nand Flash,earse failed,why?

the message is following:

CortexA8: Output: **** CENTAURUS2 ALL ADPLL INIT IS In Progress .........
CortexA8: GEL Output: MODENA ADPLLJ CLKOUT value is = 600
CortexA8: GEL Output: L3 ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: DSP ADPLLJ CLKOUT value is = 500
CortexA8: GEL Output: DSS ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: ISS ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: IVA ADPLLJ CLKOUT value is = 266
CortexA8: GEL Output: SGX ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: USB ADPLLJ CLKOUT value is = 192
CortexA8: GEL Output: VIDEO-0 ADPLLJ CLKOUT value is = 54
CortexA8: GEL Output: VIDEO-1 ADPLLJ CLKOUT value is = 148
CortexA8: GEL Output: VIDEO-2/HDMI ADPLLJ CLKOUT value is = 148
CortexA8: GEL Output: DDR ADPLLJ CLKOUT value is = 333
CortexA8: GEL Output: AUDIO ADPLLJ CLKOUT value is = 200
CortexA8: Output: **** SATA PLL INIT IS In Progress Please wait .....
CortexA8: Output: **** SATA PLL INIT IS In DONE *****************
CortexA8: Output: **** PCIE PLL INIT IS In Progress Please wait .....
CortexA8: Output: **** PCIE PLL INIT IS In DONE *****************
CortexA8: Output: **** CENTAURUS2 ALL ADPLL INIT IS Done **************
CortexA8: Output: **** CENTAURUS2 DDR3 EMIF0 and EMIF1 configuration in progress.........
CortexA8: Output: Busy reading back DMM registers Please wait ...
CortexA8: Output: DMM register read successfully
CortexA8: Output: **** CENTAURUS2 DDR3 EMIF0 and EMIF1 configuration is DONE ****
CortexA8: Output: Enabling Clock for GPMC is in Progress, Please wait.....
CortexA8: Output: GPMC Clock is Active
CortexA8: GEL Output: Reg default Value: 0x00040000
CortexA8: Output: PINMUX configuration is in Progress, Please wait.....
CortexA8: GEL Output: Reg written value: 0x00040001
CortexA8: Output: Pinmux is configured successfully !!!
CortexA8: Output: **** CENTAURUS2 ALL ADPLL INIT IS In Progress .........
CortexA8: GEL Output: MODENA ADPLLJ CLKOUT value is = 600
CortexA8: GEL Output: L3 ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: DSP ADPLLJ CLKOUT value is = 500
CortexA8: GEL Output: DSS ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: ISS ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: IVA ADPLLJ CLKOUT value is = 266
CortexA8: GEL Output: SGX ADPLLJ CLKOUT value is = 200
CortexA8: GEL Output: USB ADPLLJ CLKOUT value is = 192
CortexA8: GEL Output: VIDEO-0 ADPLLJ CLKOUT value is = 54
CortexA8: GEL Output: VIDEO-1 ADPLLJ CLKOUT value is = 148
CortexA8: GEL Output: VIDEO-2/HDMI ADPLLJ CLKOUT value is = 148
CortexA8: GEL Output: DDR ADPLLJ CLKOUT value is = 333
CortexA8: GEL Output: AUDIO ADPLLJ CLKOUT value is = 200
CortexA8: Output: **** SATA PLL INIT IS In Progress Please wait .....
CortexA8: Output: **** SATA PLL INIT IS In DONE *****************
CortexA8: Output: **** PCIE PLL INIT IS In Progress Please wait .....
CortexA8: Output: **** PCIE PLL INIT IS In DONE *****************
CortexA8: Output: **** CENTAURUS2 ALL ADPLL INIT IS Done **************
CortexA8: Output: **** CENTAURUS2 DDR3 EMIF0 and EMIF1 configuration in progress.........
CortexA8: Output: Busy reading back DMM registers Please wait ...
CortexA8: Output: DMM register read successfully
CortexA8: Output: **** CENTAURUS2 DDR3 EMIF0 and EMIF1 configuration is DONE ****
CortexA8: Output: Enabling Clock for GPMC is in Progress, Please wait.....
CortexA8: Output: GPMC Clock is Active
CortexA8: GEL Output: Reg default Value: 0x00040001
CortexA8: Output: PINMUX configuration is in Progress, Please wait.....
CortexA8: GEL Output: Reg written value: 0x00040001
CortexA8: Output: Pinmux is configured successfully !!!

[CortexA8] Choose your operation
[CortexA8] Enter 1 ---> To Flash an Image
[CortexA8] Enter 2 ---> To ERASE the whole NAND
[CortexA8] Enter 3 ---> To EXIT
1
[CortexA8] Enter image file path
e:\u-boot.min.nand
[CortexA8] Enter offset (in hex):
0
[CortexA8] Choose the ECC scheme from given options :
[CortexA8] Enter 1 ---> BCH 8 bit
[CortexA8] Enter 2 ---> HAM
[CortexA8] Enter 3 ---> T0 EXIT
[CortexA8] Please enter ECC scheme type :
1
[CortexA8] Starting NETRA NAND writer
[CortexA8]
[CortexA8] ----------------------
[CortexA8] NAND FLASH DETAILS
[CortexA8] ----------------------
[CortexA8] Device ID : 0xf
[CortexA8] Manufacture ID : 0xf
[CortexA8] Page Size : 8192 Bytes
[CortexA8] Spare Size : 256 Bytes
[CortexA8] Pages_Per_Block : 8
[CortexA8] Number_of_Blocks : -1240061414
[CortexA8] Device_width : 1 Byte
[CortexA8] DeviceSize : 673 MB
[CortexA8]
[CortexA8] Setting the ECC scheme
[CortexA8] Set the BCH 8 bit ECC scheme .... done
[CortexA8] Preparing to Flash image ....
[CortexA8] Opening image ... done.
[CortexA8] Erasing Required Blocks [start = 0, count = 2]...[CortexA8] FAIL!! to erase block number 0x0
[CortexA8] FAIL!! to erase block number 0x1
[CortexA8] Done
[CortexA8] Flashing image ...
[CortexA8] Number of blocks needed for header and data: 0x2
[CortexA8] Attempting to start write in block number 0x0.
[CortexA8] FAIL!! to erase block number 0x0
[CortexA8] FAIL!! to erase block number 0x1
[CortexA8] Writing image data to Block 0 Page0x0
[CortexA8] Write failed
[CortexA8] Attempting to start write in block number 0x1.
[CortexA8] FAIL!! to erase block number 0x1
[CortexA8] FAIL!! to erase block number 0x2
[CortexA8] Writing image data to Block 1 Page0x0
[CortexA8] Write failed

  • Hi Gong,

    The most common mistake is not switching the SW2.1 to ON.  If you are using our DM8148 EVM, the switch is near the power connector and the left switch (SW2.1) is supposed to be up.  This is what I should look like if you flash successfully:

    [CortexA8] Welcome to CCS Nand Flash Utility
    [CortexA8]
    [CortexA8]
    [CortexA8] Choose your operation
    [CortexA8] Enter 1 ---> To Flash an Image
    [CortexA8] Enter 2 ---> To ERASE the whole NAND
    [CortexA8] Enter 3 ---> To EXIT
    1
    [CortexA8] Enter image file path
    C:\Users\a0842576\Desktop\UbuntuShare\EZSDK\ti-ezsdk_dm814x-evm_5_04_00_11\board-support\prebuilt-images\u-boot.min.nand
    [CortexA8] Enter offset (in hex):
    0
    [CortexA8] Choose the ECC scheme from given options :
    [CortexA8] Enter 1 ---> BCH 8-bit
    [CortexA8] Enter 2 ---> HAM  
    [CortexA8] Enter 3 ---> T0 EXIT
    [CortexA8] Please enter ECC scheme type :
    1
    [CortexA8] Starting NETRA NAND writer
    [CortexA8]
    [CortexA8] ----------------------
    [CortexA8]   NAND FLASH DETAILS
    [CortexA8] ----------------------
    [CortexA8]  Device ID : 0xca
    [CortexA8]  Manufacture ID : 0x2c
    [CortexA8]  Page Size : 2048 Bytes
    [CortexA8]  Spare Size : 64 Bytes
    [CortexA8]  Pages_Per_Block : 64
    [CortexA8]  Number_of_Blocks : 2048
    [CortexA8]  Device_width : 2 Byte
    [CortexA8]  DeviceSize : 256 MB
    [CortexA8]
    [CortexA8]  Setting the ECC scheme
    [CortexA8]   Set the BCH 8 bit ECC scheme  .... done
    [CortexA8] Preparing to Flash image ....
    [CortexA8] Opening image ... done.
    [CortexA8] Erasing Required Blocks [start = 0, count = 1]...[CortexA8] Done
    [CortexA8] Flashing image ...
    [CortexA8] Number of blocks needed for header and data: 0x1
    [CortexA8] Attempting to start write in block number 0x0.
    [CortexA8] Writing image data to Block 0 Page0x0
    [CortexA8] Writing image data to Block 0 Page0x1
    [CortexA8] Writing image data to Block 0 Page0x2
    [CortexA8] Writing image data to Block 0 Page0x3
    [CortexA8] Writing image data to Block 0 Page0x4
    [CortexA8] Writing image data to Block 0 Page0x5
    [CortexA8] Writing image data to Block 0 Page0x6
    [CortexA8] Writing image data to Block 0 Page0x7
    [CortexA8] Writing image data to Block 0 Page0x8
    [CortexA8] Writing image data to Block 0 Page0x9
    [CortexA8] Writing image data to Block 0 Page0xa
    [CortexA8] Writing image data to Block 0 Page0xb
    [CortexA8] Writing image data to Block 0 Page0xc
    [CortexA8] Writing image data to Block 0 Page0xd
    [CortexA8] Writing image data to Block 0 Page0xe
    [CortexA8] Writing image data to Block 0 Page0xf
    [CortexA8] Writing image data to Block 0 Page0x10
    [CortexA8] Writing image data to Block 0 Page0x11
    [CortexA8] Writing image data to Block 0 Page0x12
    [CortexA8] Writing image data to Block 0 Page0x13
    [CortexA8] Writing image data to Block 0 Page0x14
    [CortexA8] Writing image data to Block 0 Page0x15
    [CortexA8] Writing image data to Block 0 Page0x16
    [CortexA8] Writing image data to Block 0 Page0x17
    [CortexA8] Writing image data to Block 0 Page0x18
    [CortexA8] Writing image data to Block 0 Page0x19
    [CortexA8] Writing image data to Block 0 Page0x1a
    [CortexA8] Writing image data to Block 0 Page0x1b
    [CortexA8] Writing image data to Block 0 Page0x1c
    [CortexA8] Writing image data to Block 0 Page0x1d
    [CortexA8] Writing image data to Block 0 Page0x1e
    [CortexA8] Writing image data to Block 0 Page0x1f
    [CortexA8] Writing image data to Block 0 Page0x20
    [CortexA8] Writing image data to Block 0 Page0x21
    [CortexA8] Writing image data to Block 0 Page0x22
    [CortexA8] Writing image data to Block 0 Page0x23
    [CortexA8] Writing image data to Block 0 Page0x24
    [CortexA8] Writing image data to Block 0 Page0x25
    [CortexA8] Writing image data to Block 0 Page0x26
    [CortexA8] Writing image data to Block 0 Page0x27
    [CortexA8] Writing image data to Block 0 Page0x28
    [CortexA8] Writing image data to Block 0 Page0x29
    [CortexA8] Writing image data to Block 0 Page0x2a
    [CortexA8] Writing image data to Block 0 Page0x2b
    [CortexA8] Writing image data to Block 0 Page0x2c
    [CortexA8] Writing image data to Block 0 Page0x2d
    [CortexA8] Image successfully flashed
    [CortexA8]
    [CortexA8]
    [CortexA8] NAND flashing successful!

    This is also another post about NAND flash:  http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/151726/549020.aspx#549020.  Hope this help.

    BR,

    Viet

  • Hi Viet,

    I switch SW2.1 to ON,another error is following--Verify failed. Attempting to clear page

    ECC scheme type is BCH 8 bit ,Verify failed,the whole message is following:

    [CortexA8] Welcome to CCS Nand Flash Utility
    [CortexA8]
    [CortexA8]
    [CortexA8] Choose your operation
    [CortexA8] Enter 1 ---> To Flash an Image
    [CortexA8] Enter 2 ---> To ERASE the whole NAND
    [CortexA8] Enter 3 ---> To EXIT
    1
    [CortexA8] Enter image file path
    e:\u-boot.min.nand
    [CortexA8] Enter offset (in hex):
    0
    [CortexA8] Choose the ECC scheme from given options :
    [CortexA8] Enter 1 ---> BCH 8 bit
    [CortexA8] Enter 2 ---> HAM 
    [CortexA8] Enter 3 ---> T0 EXIT
    [CortexA8] Please enter ECC scheme type :
    1
    [CortexA8] Starting NETRA NAND writer
    [CortexA8]
    [CortexA8] The NAND Flash is ONFI compatible
    [CortexA8] 
    [CortexA8]
    [CortexA8] ----------------------
    [CortexA8]   NAND FLASH DETAILS
    [CortexA8] ----------------------
    [CortexA8]  Device ID : 0xca
    [CortexA8]  Manufacture ID : 0x2c
    [CortexA8]  Page Size : 2048 Bytes
    [CortexA8]  Spare Size : 64 Bytes
    [CortexA8]  Pages_Per_Block : 64
    [CortexA8]  Number_of_Blocks : 2048
    [CortexA8]  Device_width : 2 Byte
    [CortexA8]  DeviceSize : 256 MB
    [CortexA8]
    [CortexA8]  Setting the ECC scheme
    [CortexA8]   Set the BCH 8 bit ECC scheme  .... done
    [CortexA8] Preparing to Flash image ....
    [CortexA8] Opening image ... done.
    [CortexA8] Erasing Required Blocks [start = 0, count = 1]...[CortexA8] Done
    [CortexA8] Flashing image ...
    [CortexA8] Number of blocks needed for header and data: 0x1
    [CortexA8] Attempting to start write in block number 0x0.
    [CortexA8] Writing image data to Block 0 Page0x0
    [CortexA8] Verify failed. Attempting to clear page
    [CortexA8] Attempting to start write in block number 0x1.
    [CortexA8] Writing image data to Block 1 Page0x0
    [CortexA8] Verify failed. Attempting to clear page
    [CortexA8] Attempting to start write in block number 0x2.
    [CortexA8] Writing image data to Block 2 Page0x0
    [CortexA8] Verify failed. Attempting to clear page
    [CortexA8] Attempting to start write in block number 0x3.
    [CortexA8] Writing image data to Block 3 Page0x0
    [CortexA8] Verify failed. Attempting to clear page
    [CortexA8] Attempting to start write in block number 0x4.
    [CortexA8] Writing image data to Block 4 Page0x0
    [CortexA8] Verify failed. Attempting to clear page
    [CortexA8] Attempting to start write in block number 0x5.

    Thanks!

  • Dear Gong

    I also have the same issue like you.  "Verify failed. Attempting to clear page"

    Kindly could you inform me the reason ?

    Thanks in advance.

    Hennessy

  • Hennessy,

    Hennessy said:
    I also have the same issue like you.  "Verify failed. Attempting to clear page"

    I can provide you the below links, might be in help:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/237772/839656.aspx#839656

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/235461.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/151726.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/164408.aspx

    Best regards,
    Pavel