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.

nandflash bug after reload u-boot in DM8168

Hi,we buy a Spectrum Digital DM816x/AM389x EVM (with daughter card)。That is OK, but one day I typed “ nand scrub ” in uboot,then uboot has a bug. I think that is because nand flash has been cleared all ,so I reload uboot file again in CCS5 following the guide in DVRRDK,as follows:

turn SW3 to all“0”,SW4[10],open CCS5.2 ,reload the project in host-tools/src/ nand-flash-writer. After rebuild,I reload the nand-flash-writer.out into the board,and start。Then we can see taht:

[CortexA8] Welcome to CCS Nand Flash Utility

[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

2

[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] Performing Global Nand Erase

[CortexA8] ... done

[CortexA8]

[CortexA8] NAND flashing successful!

[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:\my\sharedfiles\DVRRDK_03.00.00.00\pre_built_binary\ti816x_dvr\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 : 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] Writing image data to Block 1 Page0x1f

[CortexA8] Writing image data to Block 1 Page0x20

[CortexA8] Writing image data to Block 1 Page0x21

[CortexA8] Image successfully flashed

[CortexA8]

[CortexA8]

[CortexA8] NAND flashing successful!

So Uboot reloads successfully ,then we turn SW3 to [0000010010],and start the board, it goes into uboot. But when we type “nand erase”in uboot ,we get the bug information that :

Also ,I try to save the uboot enviroment,and the bug information goes that :

Then ,it comes a waiting without stop,so I can do nothing。

I also think that I do not have reloaded the right uboot bin ,so I erase all, and reload bellow

E:\my\sharedfiles\DVRRDK_03.00.00.00\pre_built_binary\ti816x_dvr\uboot_NAND_DM816X_EVM

But , the bug information is also here ,this is no chang.

What is the matter ?/ what can I do ? please help me

 

Thank you !!

 

Best wishes !