Part Number:TMS320F28377SOther Parts Discussed in Thread: C2000WARE
开发环境:CCS10.4.0 xdctools_3_62_01_15_core bios_6_83_00_18
创建完典型Sys/bios工程后,编译没有出现问题,但在添加完外设头文件以及源文件后,编译出现问题,最后定位到是BEGIN段且与文件F2837xS_CodeStartBranch.asm有关(Description Resource Path Location Type
<a href="file:/D:/ti/ccs1040/ccs/tools/compiler/dmed/HTML/10099.html">#10099-D</a> program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment/blocking fails for section "codestart" size 0x2page 0. Available memory ranges: TMS320F28377S.cmd /DSP377S_Bios_Test/cmd line 144 C/C++ Problem
)将BEGIN段由BEGIN : origin = 0x080000, length = 0x000002调整为BEGIN : origin = 0x080000, length = 0x000004,编译通过,但不确定此操作的可行性,请大佬们指教下。所有的头文件以及源文件均来自TI(C2000Ware_4_00_00_00)
Cherry Zhou:
您好我们已收到您的问题并升级到英文论坛,如有答复将尽快回复您。谢谢!
,
Cherry Zhou:
您好,如果在 SYS/BIOS Boot模块中选择了从闪存引导选项Boot from Flash option (没记错的话默认选择该选项) ,SYS/BIOS 将向代码添加其自身等效的 F2837xS_CodeStartBranch.asm ,所以您因此不用再进行手动将 F2837xS_CodeStartBranch.asm 添加到项目中。
请您将其从您的构建中去除,看下是否能解决问题。