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.

VC33 Question

Other Parts Discussed in Thread: TMS320VC33

Our existing products and designing have been using C3x 

The problem I met is that it seems that C33 has some code spaceleft, and the application code can be loaded to the DSP chip, but the code can’t executecorrectly. 

In the CMD file, as below, we defined RAM2 as our code memoryand RAM3 as data memory.

   RAM2:   org = 0x800000 len = 0x4000       /* RAM2 16K words                     */

   RAM3:   org = 0x804000 len = 0x4000       /* RAM3 16K words                     */

 

Another question is can we define more data memory than codememory such as 20 K for data and 12 K for code? 

Also, is there any limitation for the length of file name in thewhole project? 

Thanks again and looking forward to your further reply.

  • What device is this?

  • VC33 or TMS320VC33

  • Can somebody please help with this??

  • Hello John,

     

    Shown part of CMD file looks correctly. To verify code execution you should use JTAG debugger.

    You may describe memory just as

    IRAM: orig  = 0x800000 len = 0x8000

    and place code and data with total 32K volume in it

    SECTIONS
    {
        .text   : {} > IRAM
        .data   : {} > IRAM
        .bss    : {} > IRAM

    ...

    }

    BR, Serge

    P.S. Does TI plan to open museum of DSP? ;)

  • Hi John,

     

    After I modified the memory map to following:

    IRAM: orig  = 0x800000 len = 0x8000

    and place code and data with total 32K volume in it

    SECTIONS
    {
        .text   : {} > IRAM
        .data   : {} > IRAM
        .bss    : {} > IRAM

    ...

    }

    As instructed. When using JTAG emulator, the code is running well. However when the code is

    Loaded to the flash on the board, it can NOT get the expected results.

     

    Here I repeated our problem description: we need more data memory than 0x4000 and the code

    Memory can be shorter than 0x4000. We tried following memory map:

       RAM2:   org = 0x800000 len = 0x3200     /* RAM2 16K words                       */

       RAM3:   org = 0x803200 len = 0x4E00    /* RAM3 16K words                        */

    But could NOT solve the problem.

     

    Is there any other way to handle it?

     

    Thank you very much for your helps.

     

    Regards,

    Lin

  • Dear colleague(s),

    Does code executed from flash, or it executed from IRAM loaded by bootloader ?

     

    BR, Serge