Hi,
I met a verified error when burnt uboot to flash. The error log as follow:
[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:\whx\uboot_NAND_DM816X_DVR
[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 : 0xda
[CortexA8] Manufacture ID : 0xec
[CortexA8] Page Size : 2048 Bytes
[CortexA8] Spare Size : 64 Bytes
[CortexA8] Pages_Per_Block : 64
[CortexA8] Number_of_Blocks : 2048
[CortexA8] Device_width : 1 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 = 2]...[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] 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
......................................................................
Platform info as follow:
Platform: dm8168 ccs5.2
Emulator: xds100v2
Flash: k9f2g08u0m
File: nand-flash-writer.out
Uboot file: uboot_NAND_DM816X_DVR
Nand flash details are correct, and 0xda is supported nand flash device by dm8168. I tried set ECC mode to 2(HAM), there was no Verify failed, but the platform can't boot.
And I am not sure if this flash support BCH 8-bit, there is only this line in datasheet:
ECC : Error Correcting Code --> Hamming Code etc.
Example) 1bit correction & 2bit detection
I found the same issue in this URL,
http://e2e.ti.com/support/embedded/linux/f/354/p/164408/601212.aspx#601212
but the solution can't solve my question.
Could anyone give me any suggestion,thanks!