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.

TMS320C6713B: 6713在外部SDRAM运行程序的demo

Part Number: TMS320C6713B

你好:

请问是否有dsp6713在外部SDRAM运行程序的demo或者文档资料呢?

  • 可以在应用程序中用#pragma DATA_SECTION ( symbol , " section name " );和#pragma CODE_SECTION (symbol , " section name " )伪指令可以把数据段或者代码段分配到外部SDRAM。

    具体请看下面的编译器手册。
    7.9.4 The CODE_SECTION Pragma
    7.9.7 The DATA_SECTION Pragma
    https://www.ti.com/lit/ug/sprui04b/sprui04b.pdf


    下面是个例子供参考。

    test.c文件中

    #pragma DATA_SECTION(bufferB, ”my_sect”)
    char bufferB[512];

    在CMD文件中
    MEMORY
    {
    PAGE 0:
    DARAM2 : origin = 0008000h, length = 0028000h
    }


    SECTIONS
    {
    my_sect: {}> DARAM2 PAGE 0
    }