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.

x-load throws 'ECC failed' on nand read

Other Parts Discussed in Thread: AM3517

Hi,

I am using LogicPD am3517 evm board. I have build the 'TI X-Loader 1.51' and 'TI U-Boot 2010.06'. I am doing nand_read (using API nand_read_block()) in x-loader to read a nand flash location (say 0xAAAAA). This nand location I modify in u-boot code. Initially when complete NAND is erased and flashed with x-load/u-boot. x-load reads some junk data at 0xAAAAA and proceed with u-boot loading. Now when u-boot writes some data at location 0xAAAAA and I reset the board, x-load fails while reading this NAND location with ECC failed error. u-boot successfully writes and reads back the data (for verification) but x-load fails to understand the data.

Is ECC algorithm implementation is different b/w x-load & u-boot? I flash the x-loader and u-boot with 'nandecc hw'.

Any help?

Thanks.