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.

C6000串口加载程序



目前在做DSP6713的串口加载程序,基本流程已经没有问题了,但是通过PC机端软件把.HEX发送我DSP烧写FLASH未成功,梳理原因发现:

1  HEX文件只包含已初始化的块,但是我通过分析map文件发现很多在程序中初始化过的全局变量竟然分配到了.bss里,导致烧写程序不全;

2 请问第一条是我理解有误,还是CCS6.0配置问题?如下图...

 0x2f568这个地址存放的是初始化的全局变量

         

  • 请问你看的是hex map文件?hex conversion utility不会转换.bss未初始化段。请看下面的文档hex conversion utility章节。

    Uninitialized sections are never converted, whether or not you specify them in a SECTIONS directive.
    Sections Generated by the C/C++ Compiler
    NOTE: The TMS320C6000 C/C++ compiler automatically generates these sections:
    • Initialized sections: .text, .const, .cinit, and .switch
    • Uninitialized sections: .bss, .stack, and .sysmem

    http://www.ti.com/lit/ug/sprui03b/sprui03b.pdf