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

工程警告

Description Resource Path Location Type
<a href="file:/D:/ti/ccsv5/tools/compiler/dmed/HTML/17003.html">#17003-D</a> ../CharCut.c relocation from function "AreaCut" to symbol "areaDownBord" overflowed; the 17-bit relocated address 0x18e77 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_H' (12), file = "../Source/imgproc/SerialNumLib.lib<CharCut.obj>", offset = 0x00000a14, section = ".text") main_billacceptor line 400 C/C++ Problem

此警告是什么意思,结构体变量中增加了几个参数后,工程有几百个类似的警告,然后影响程序正常运行

Shine:

请试试下面wiki网站上的Remedy方法。
processors.wiki.ti.com/…/17003
processors.wiki.ti.com/…/Relocation_Overflow_Error

user5353238:

回复 Shine:

在CCS“项目” – >“构建选项”中,转到“编译器”选项卡,然后转到“高级”类别。在这里,您将找到一个名为“Memory Models”的选项。如果选择“–mem_model:data = far”,这将解决您的问题,因为它将使所有全局内存远的内存数据。但请注意,这不是最有效的方法(所有内存访问现在需要3条指令)。这里说的 “Memory Models”选项貌似找不到啊

Shine:

回复 user5353238:

赞(0)
未经允许不得转载:TI中文支持网 » 工程警告
分享到: 更多 (0)