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.

the omap-l138 nand-writer-03.20.00.14 CAN support K9F5608? I am not sure?

Other Parts Discussed in Thread: OMAP-L138

HI!

   I  designed a new board for omap-l138,nandflash is K9F5608(samsung)。I use CCSV4 (XDS100V2),CODE is nand-writer-03.20.00.14。I download nand-writer.OUT to cpu(ddr),I CAN read K9F5608 ID(EC 75),but  can not to write。SO I am not sure ?THE nand-writer .OUT support  K9F5608 ?Does anyone use this nandflash (K9F5608)and success write to it? or  rewrite the code ?

    CCS Printf

Enter the image type (one of "armais" "uboot" "other")
armais
Enter the file Name
d:\ubl-nand.bin
Number of blocks needed for data: 0x1
Attempting to start write in block number 0x1.
Unprotecting blocks 0x1 through 0x1.
Erasing block 0x1 through 0x1.
Writing image data to Block 0x1, Page 0x0
NAND_readPage failed!
Verify failed. Attempting to clear page
Erasing block 0x1 through 0x1.
Attempting to start write in block number 0x2.
Unprotecting blocks 0x2 through 0x2.
Erasing block 0x2 through 0x2.

  • Hi Daniel, since your NAND appears to be a small block device, this might not have been tested on the tools which were designed for the NAND on the EVM.

    I would suggest stepping through the code to make sure the commands issued line up with the NAND datasheet instructions for reading and writing. Maybe someone else using a similar device can share their experience or solution here.

    Jeff

  •  

     Does anything wrong with my  hardware ?

    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: |               BOOTROM Info                |
    ARM9_0: Output: ---------------------------------------------
    ARM9_0: Output: ROM ID: d800k006
    ARM9_0: Output: Silicon Revision 2.0
    ARM9_0: Output: Boot Mode: NAND 8
    ARM9_0: Output:
    ROM Status Code: 0x00000005
    Description:ARM9_0: Output: Peripheral Open Failed
    ARM9_0: Output:
    Program Counter (PC) = 0xFFFD397C

     

  • If you are able to open the NAND device with the CCS version of the flashing utility then there probably isn't any hardware problem. I suggested verifying that the open, unprotect, and read/write commands in the CCS flasher match the datasheet for your NAND device. You can step through the code line by line, and you should find some discrepancy.

    Jeff

  • I still can not write nandflash(K9F5608uod PAGESIZE 512+16BYTE)! I also use sfh_omap_l138.exe (serial flasher)and ccs step through the code line by line,but can not.I am SO worry about that。 

  • Did you check to make sure the flash Write Protect pin is not active? Since you can read but not write, maybe that is the case.

    Jeff