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.

TI816x Nand Programming problem

Hi,

I am trying to program u-boot into NAND on a TI816x EVM board (rev D).      I am following the instructions in TI816x-PSP-04.00.00.10-FlashingTools and can not seem find the nand device correctly.    The jumper settings are:

SW3---->BTM[4:0] 10010 (other pins should be 0 i.e. OFF)

SW4---->NAND ON

SW4---->SPI OFF

When the nand writer is run it can not find the device id of the nand chip.

[CortexA8] Starting NETRA NAND writer

[CortexA8]

[CortexA8] ----------------------

[CortexA8] NAND FLASH DETAILS

[CortexA8] ----------------------

[CortexA8] Device ID : 0x0

[CortexA8] Manufacture ID : 0x0

[CortexA8] Page Size : 1024 Bytes

[CortexA8] Spare Size : 32 Bytes

[CortexA8] Pages_Per_Block : 64

[CortexA8] Number_of_Blocks : 557659441

[CortexA8] Device_width : 1 Byte

[CortexA8] DeviceSize : 851 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 = 3]...[CortexA8] Done

[CortexA8] Flashing image ...

[CortexA8] Number of blocks needed for header and data: 0x3

[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.

 

I need help trying to understand why i can not program the nand device using CCS 5

 

Thanks,

 

Michael

  • Bump...  Anyone?  

    Update:   I have been able to try a second board with the same results.   I am not able to progam the NAND using CCS5 using the supplied nand_writer.out or a rebuilt one.    I can load the program and run it unsign the XDS100v2, but the nand writer app never identifies the NAND part correctly and the write/verify fails.    All the docs reference the XDS560V2 Emulator and not the XDS100V2 that was supplied with the dev kit.    Has anyone been able to get this working on the DDR2 boards with an XDS100V2?   Some information seems to say that the 4.00.0010 ezsdk has not been tested on the DDR2 board (only sanity checked?).

    Thanks,

    Michael

  • I have programmed NAND on our c6a816x evm but we did not use CCS/JTAG.  We used u-boot to tftp the images and then burn them.  I do remember our NAND wouldn't be detected either until we totally wiped it.  I can't remember the post but if you search or NAND in the forums I'm sure you will find people complaining about a similar thing and the command they used.  It was months ago so I don't remember.

    I bet after you do the u-boot command the thing you are wanting to do will work.  Just curious ... are you wanting to watch the grass grow?  That is what you will be doing using the XDS100 to flash with.  I wouldn't recommend that course unless you just had to.  Using u-boot to tftp the images and then write them is a whole lot faster.

    Regards,

    Brian