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.

how to use On board SDRAM of tms320c6713?????

Hello everyone  i need help in programming the on board SDRAM of tms320c6713.kindly help me how to program sdram to read and write data from it..A sample program an guide lines will surely help...Thanks in advance

  • Hi,
    You have to call gel file of C6713 and it would enable the SDRAM so, you can access the RAM directly through "memory browser" of CCS.
    Else, you can access the memory through 'C' code.

    E.g:

    unsigned int* SDRAM = ( unsigned int* )0x80000000;

    //Accessing SDRAM : Writing
    *SDRAM = 0xAAAA5555;

    //Accessing SDRAM : Reading
    printf("SDRAM memory %0x%x",*SDRAM);

    We can also add the SDRAM initializing code from gel file and out into our DSP app.
  • thanks for response i would like to ask you another thing what do you mean by calling the gel file a gel file with the name c6713.gel is already added in my project is there any built function which can be called to read or write in sdram????
  • When you do "connect target" for DSKC6713 board then gel file called from the following location.
    If you setup the target configuration for CCS debugging, you need to select board as DSKC6713.

    C:\ti\ccsv5\ccs_base\emulation\boards\dsk6713\gel\dsk6713.gel

    Please refer to the "init_emif()" function for SDRAM initialization.