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.

CCS/TMS570LS3137: TMS570LS3137 nand flash driver

Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMS5703137, TMS570LC4357, HALCOGEN

Tool/software: Code Composer Studio

we are tring to connect  a nandflash  MT29F8G08ABABAWP  to  LS3137 emif interface, 

since we know little about nand flash driver, are there any existing nand flash driver which can be referenced?

thanks!

BR.

  • Hello,

    Please take a look at this thread: e2e.ti.com/.../2465064

  • it seems HW connection,  are there any nand driver that can be referebced, now we want to visit cs2 address 0x600000xx, it only bring illegal memory address and aborted.

  • Hello Yuejie,

    The EMIF can interface a variety of asynchronous devices including NOR flash, NAND flash, and SRAM. We have example code for NOR flash, SRAM, but we don't have any example code for NAND flash.

  • OK, thanks,  we'll modify our HW connection firstly according to your reference. of nand flash.

    now we found the sdram interface address 0x80000000 also cause illegal data abort.

    could help share us the tms5703137 + sdram example code ?

    thanks

  • Hello Yuejie,

    Please use the example in HALCOGen for TMS570LC4357 device.

    In the example, the LED blinky code is placed in a section named "blinky_section".

    #pragma SET_CODE_SECTION(".blinky_section")
    void blinky()
    {
       int i;
       gioSetDirection(hetPORT1, 1);
       while(1)
       {
           gioToggleBit(hetPORT1, 0);
           for(i=0;i<1000000;i++);
       }
    }
    #pragma SET_CODE_SECTION()

    The bliky_section is placed in SDRAM defined in linker cmd file:

     .blinky_section :  RUN = SDRAM, LOAD = FLASH0 | FLASH1 LOAD_START(BlinkyLoadStart), LOAD_END(BlinkyLoadEnd),  LOAD_SIZE(BlinkySize),
            RUN_START(BlinkyStartAddr ), RUN_END(BlinkyEndAddr )