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

例程里的2837xD_FLASH_lnk_cpu1.cmd改动加入CLA specific sections和CLA C compiler sections后出现警告17003-D怎么解决?

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

Susan Yang:the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field

能给出具体的cmd文件吗?改动的是哪些地方?

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

user5830543:

回复 Susan Yang:

红色圈起来的地方

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

user5830543:

回复 Susan Yang:

2837xD_FLASH_lnk_cpu1.rar

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

Susan Yang:

回复 user5830543:

您现在是想使用CLA?那您可以使用下面路径的cmd文件

C:\ti\c2000\C2000Ware_2_00_00_02\device_support\f2837xd\common\cmd

的 2837xD_FLASH_CLA_lnk_cpu1

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

user5830543:

回复 Susan Yang:

还是这样

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> /home/a0132186/c2000_repo/c2000ware/libraries/math/temp/source/CLAdiv.asm relocation from assembly function "_CLAdiv" to symbol ".scratchpad:Cla1Prog:_CLAdiv" overflowed; the 17-bit relocated address 0x17008 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "../Lib/cla0_math_library_datarom_fpu32.lib<CLAdiv.obj>", offset = 0x00000000, section = "Cla1Prog:_CLAdiv") DTC_test_5 line 53 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task1" to symbol ".scratchpad:Cla1Prog:_Cla1Task1" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x00000014, section = "Cla1Prog:_Cla1Task1") dtc.cla /DTC_test_5/source line 111 C/C++ Problem

Description Resource Path Location Type
<a href="file:/D:/software/TI/ccs/ccsv6/tools/compiler/dmed/HTML/17003.html">#17003-D</a> relocation from function "_Cla1Task2" to symbol ".scratchpad:Cla1Prog:_Cla1Task2" overflowed; the 17-bit relocated address 0x17000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107), file = "./source/dtc.obj", offset = 0x000000e0, section = "Cla1Prog:_Cla1Task2") dtc.cla /DTC_test_5/source line 197 C/C++ Problem

Susan Yang:

回复 user5830543:

您先参考一下专门针对类似错误的说明

processors.wiki.ti.com/…/17003

赞(0)
未经允许不得转载:TI中文支持网 » 例程里的2837xD_FLASH_lnk_cpu1.cmd改动加入CLA specific sections和CLA C compiler sections后出现警告17003-D怎么解决?
分享到: 更多 (0)