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.

What's the difference of ECC between u-boot and nand flash writer in starterware?

Hi,

      I am burning images into nand flash with nand flash writer, both boot_ti.bin and apps_ti.bin. It can boot up from nand.

But when I tried to burn images with u-boot, it can't boot up.

The detailed information as follows:

(1) boot over uart

using u-boot-spl.bin and u-boot.img, and it can boot up.

(2) Then with u-boot command, such nand erase, nand write,  burning image into nand flash.

a) burning boot_ti.bin into nand flash 0x0 offset

mw.b 0x82000000 0xFF 0x20000

loadb 0x82000000

download boot_ti.bin into 0x82000000 with Kermit

nand erase 0x0 0x20000

nand write.i 0x82000000 0x0 0x20000

b) burning apps_ti.bin into 0x80000 offset

mw.b 0x82000000 0xFF 0x40000

loadb 0x82000000

download apps_ti.bin into 0x82000000 with Kermit

nand erase 0x80000 0x40000

nand write.i 0x82000000 0x80000 0x40000

 

It's said that there is  ECC(BCH8) in u-boot, the same as ROM CODE and nand flash writer's.

But why it can't boot up?