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.

NAND Flash access on 814x EVM

Has anyone successfully used the NAND flash on the 814x EVM?  I have tried using the CCS NAND flash programmer using the following switch settings:

SW1, SW13: All off. SW2.1 on, SW2.2 off.

With these settings the flash programmer seems to run but it reads 0's for the device id and man. id, and garbage for the other parameters.  By enabling SW2.2 I can successfully program the SPI flash using CCS.  I have also tried setting SW1 for NAND boot with UART as a fallback mode.  In this mode I could successfully load the first stage u-boot via the UART, but the loaded u-boot could not detect a nand part either.

The schematics for the EVM suggests that SW1.7 should be on but I tried that as well without any success.  I even tried reseating the flash part in the socket.

If anyone has successfully accessed the flash I would appreciate knowing what your switch settings were.  I have a PG2.0 Rev C EVM.  Thanks for the help.

 

 

 

  • Hi Jason,

    We are highly recommend to go over this wiki page for NAND flash question:

    http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_Flashing_Tools_Guide#Steps_for_Flashing

    Hope it helps,

    Viet

  • The instructions on the wiki page were the ones I was following.  Other than the SW2 setting and the actual file downloaded by CCS, there isn't much difference in the instructions for NAND flashing vs SPI flashing.  Any other suggestions?

     

  • One more bit of information.  I downloaded the HW diagnostics utilities from Mistral and ran the NAND and NOR flash tests.  The NAND test failed similarly to the previous tests.  The NOR test read the device id's properly for the NOR flash, but hangs in the flash erase stage.  Does this give anyone any clues as to the source of the problem?  Thanks.

     

  • Jason,

    I just download the package,centaurus_evm_diagnostics_r3.zip, from Mistral website and run the BB_001_NAND_GPMC.out.  It ran fine.  Here is the output:

    [CortexA8]
    [CortexA8] 01  Testing NAND Flash...
    [CortexA8] NAND MFGID = 2c
    [CortexA8] NAND DEVID = ca
    [CortexA8] Testing 4 blocks
    [CortexA8] Erasing NAND blocks
    [CortexA8] NAND Errase successful.
    [CortexA8] NAND Errase successful.
    [CortexA8] NAND Errase successful.
    [CortexA8] NAND Errase successful.
    [CortexA8] --> 0 block erase errors
    [CortexA8] Programming NAND pages
    [CortexA8] Comparing data
    [CortexA8] --> 0 page verify errors
    [CortexA8]     PASS
    [CortexA8]
    [CortexA8] ***ALL Tests Done***

    Make sure you read and follow the readme file in <>\centaurus_evm_diagnostics_r3\src\CCS_Test_Code\CCS_Test_Code\Base_Board\NAND directory.  You can ignore the warning from GEL file and continue if you see any.

    Regards,

    Viet

  • Just in case anyone is curious, I tried the CCS NAND flash procedure on another EVM with success.  So it seems the culprit is a bad EVM or a bad NAND chip on the EVM.