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.

am335x nandflash timing debug

hi ,there,

       I'm debug am335x nandflash timing parameters, could you help me out the following questions:

       the program sequences :   1,send command cycle1;   2.send address, 3 send data, 4, send command cycle2.

      when I program nandflash in that order, the program corrupted; I debug it and  found  out it corrupted at 3rd stage, then, I add some delay after every char put in data register,It worked fine.  btw, the reading works fine.

     which parameter should i adjust? I have tested a lot, but nothing came out.

Tks.

  • Hi Jin,
     
    first of all you should check your NAND Flash datasheet, to see the correct write timing sequences. Then you should check what is actually output on the GPMC bus. It may be that your GPMC interface is configured incorrectly. GPMC configuration is explained in AM335X TRM, Section 7, and Section 7.1.4 gives some examples on how to calculate GPMC timing parameters.