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

c6455自带led例程

我用ccsv5.4倒入c6455自带的led例程,但编译不成功,删掉linker.cmd后能编译成功并通过仿真器烧入运行, 请问该如何在不删除cmd文件的情况下编译成功

qing zhang:

link时报错如下:
Description Resource Path Location Type
#10263 ledcfg.cmd CACHE_L1D memory range has already been ledoldline 249 C/C++ Problem
#10263 ledcfg.cmd CACHE_L1P memory range has already been ledoldline 248 C/C++ Problem
#10263 ledcfg.cmd DDR2 memory range has already been ledoldline 250 C/C++ Problem
#10263 ledcfg.cmd IRAM memory range has already been ledoldline 251 C/C++ Problem
#10264 ledcfg.cmd CACHE_L1D memory range overlaps existing ledoldline 249 C/C++ Problem
#10264 ledcfg.cmd CACHE_L1P memory range overlaps existing ledoldline 248 C/C++ Problem
#10264 ledcfg.cmd DDR2 memory range overlaps existing ledoldline 250 C/C++ Problem
#10264 ledcfg.cmd IRAM memory range overlaps existing ledoldline 251 C/C++ Problem

Shine:

回复 qing zhang:

用的是dsp/bios吗?dsp/bios本身会有个cmd文件 ledcfg.cmd,如果要添加自己的linker.cmd文件,可以在linker.cmd文件开始处-l legcfg.cmd,注意自己的cmd文件memory map定义不要与ledcfg.cmd overlap。
5.1.3 Defining Segments in Your Own Linker Command File
www.ti.com/…/spru423i.pdf

qing zhang:

回复 Shine:

是直接import进来的,linker.cmd确实是-l legcfg.cmd,会不会是和led.tcf冲突了?删除Linker.cmd后能编译通过。

赞(0)
未经允许不得转载:TI中文支持网 » c6455自带led例程
分享到: 更多 (0)