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.

AM3351: How can I intialize DDr for my custom board by editing the gel file

Part Number: AM3351

Hi,

My custom board is am3351 and with ddr of mt41k512m16ha 125 and ddr reference is 400 mhz.

What are changes to be done in gel file for my custum board .

So ,how can I edit the gel file and what is the name of gel file to be used.

Regards,

Mounika 

  • Please refer to this app note:     

    https://www.ti.com/lit/pdf/SPRACK4

    Regards,

    James

  • hi

    can you provide the values present in EMIF TOOL like timing values and board details to update in gel file ?

    ddr we are is mt41k512m16ha 125 .

    regards,

    mounika

  • hi,

    i got a error while debugging   with code composer studio . DDR  i am using is mt41k512m16ha 125.i am giving 25mhz clock to sitara.

    i am attaching  gel file and related error when i got during debugging

    AM335x_15x15_EVM.gel 

    ERROR:

    CortxA8: Output: ****  AM335x 15x15 EVM Initialization is in progress ..........
    CortxA8: Output: ****  AM335x ALL PLL Config for OPP == OPP100 is in progress .........
    CortxA8: Output: Input Clock Read from SYSBOOT[15:14]:  19.2MHz
    CortxA8: Output: ****  AM335x PLL Config failed!!  Check SYSBOOT[15:14] for proper input freq config
    CortxA8: Output: ****  AM335x DDR2 EMIF and PHY configuration is in progress.........
    CortxA8: Output: EMIF PRCM is in progress .......
    CortxA8: Output: EMIF PRCM Done
    CortxA8: Output: DDR PHY Configuration in progress
    CortxA8: Output: Waiting for VTP Ready .......
    CortxA8: Output: VTP is Ready!
    CortxA8: Output: DDR PHY CMD0 Register configuration is in progress .......
    CortxA8: Output: DDR PHY CMD1 Register configuration is in progress .......
    CortxA8: Output: DDR PHY CMD2 Register configuration is in progress .......
    CortxA8: Output: DDR PHY DATA0 Register configuration is in progress .......
    CortxA8: Output: DDR PHY DATA1 Register configuration is in progress .......
    CortxA8: Output: EMIF Timing register configuration is in progress .......
    CortxA8: Output: EMIF Timing register configuration is done .......
    CortxA8: Output: PHY is READY!!
    CortxA8: Output: DDR PHY Configuration done
    CortxA8: Output: ****  AM335x DDR2 EMIF and PHY configuration is done ****
    CortxA8: Output: ****  AM335x 15x15 EVM Initialization is Done ******************
    CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 9.12.0.00150)
    CortxA8: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.12.0.00150)
    CortxA8: Unable to determine target status after 20 attempts
    CortxA8: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

    Regards,

    Mounika