TI中文支持网
TI专业的中文技术问题搜集分享网站

C6000串口加载程序

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

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

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

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

         

Shine:

请问你看的是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++ CompilerNOTE: 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

赞(0)
未经允许不得转载:TI中文支持网 » C6000串口加载程序
分享到: 更多 (0)