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/TMS320C6713B: write in memory

Part Number: TMS320C6713B

Tool/software: Code Composer Studio

Hello,

i'm new with this, so i hope someone can help me,

I'm using TMS320C6713 with ccs5, i want to know how to write in memory,

in the cmd file there are :

{
    IRAM     o = 0x00000000  l = 0x00030000  /* 192kB - Internal RAM */
    L2RAM    o = 0x00030000  l = 0x00010000  /* 64kB - Internal RAM/CACHE */
    EMIFCE0  o = 0x80000000  l = 0x10000000  /* SDRAM in 6713 DSK */
    EMIFCE1  o = 0x90000000  l = 0x10000000  /* Flash/CPLD in 6713 DSK */
    EMIFCE2  o = 0xA0000000  l = 0x10000000  /* Daughterboard in 6713 DSK */
    EMIFCE3  o = 0xB0000000  l = 0x10000000  /* Daughterboard in 6713 DSK */
}

so i want to use IRAM memory, in sections i define this section:

prog > IRAM

is it correct?

if so, how to use this section in c code to write in it?

and in case i define a new memory ( exemple : mem   o = 0x00010000  l = 0x0000000A) where it will be ?

Thank you.

Regards

Manel.

  • Hi,

    I've notified the sw team. Can you share which SDK version are you using?

    Best Regards,
    Yordan
  • hi,
    i'm using CCS Version: 5.4.0.00091
    Thank you.
  • Hello Manel,

    Please take a look at the following documents:

    C6000 Assembly Language Tools v8.x User's Guide - Linker Description section

     Linker Command File Primer

  • Manel,

    Always start with working examples. When you download software libraries such as the Chip Support Library (CSL) there will be examples provided. Since you seem to be using the DSK6713, there should be examples that came with it or are available from the board vendor.

    Another resource you might consider is an archived workshop that covered the C6713. Since the device and its workshop are fairly old, the details on CCS will be dated but information on memory and linker command files will be pretty much the same as on the newer releases of CCS.

    You can search TI.com for "c6713 workshop" (no quotes) to find that old workshop. Oddly, you can search TI.com for "c6713 training" (no quotes) and get a different set of results, including one for migrating from CCSv3 to CCSv5 which may apply well to moving to your work.

    Regards,
    RandyP