This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我正在尝试将 C2000项目(TMS320C28345)从 CCS4和 DSP/BIOS 更新到 CCS10和 SYS/BIOS。
我创建了一个新的.cfg 文件并解决了一些与此相关的错误、现在我在旧的"TI 版本:DSP2834x C/C++头文件"和较新的 BIOS 之间遇到了某种冲突。
#10010 errors encountered during linking; "XXXX.out" not built #10099-D 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. run placement with alignment/blocking fails for section ".stack" size 0page 1 #10234-D unresolved symbols remain #16008-D file "../DSP2834x_common/lib/SFO_TI_Build_V5B.lib<SFO-FMD.obj>" specifies ISA revision "C2800", which is not compatible with ISA revision "C28FPU32" specified in a previous file or on the command line #16008-D file "../DSP2834x_common/lib/SFO_TI_Build_V5B.lib<SFO-SME.obj>" specifies ISA revision "C2800", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "C:\ti\bios_6_83_00_18\packages\ti\catalog\c2800\init\lib\Boot.a28FP<Boot.o28FP>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "C:\ti\bios_6_83_00_18\packages\ti\targets\rts2800\lib\boot.a28FP<boot_cg.o28FP>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line (There are many more of this form.)
使用以下工具版本:
CCS 版本:10.4.0.00006
TI C2000 v20.2.5.LTS
SYS/BIOS 6.83.0.18
SysConfig 1.9.0
XDCtools 3.62.1.15_core
如果能就如何解决这一问题提出任何建议,将不胜感激。 谢谢你。
您好、Nathan、
我们有关 DSP BIOS 到 SYS BIOS 迁移这一主题的 SME 目前不在办公室、她将在12月15日返回时作出更详细的响应。 不过、请同时查看我们的应用报告、该报告标题为: Migrating a DSP/BIOS 5 Application to SYS/BIOS 6。 请在迁移过程中继续分享您的经验。
此致、
Krishna
Krishna、
感谢您让我了解并再次向我介绍迁移文档。 我发现 "SYS/BIOS 6使用比 DSP/BIOS 5更大的堆栈、并且占用空间稍大"。
我发现 RAM 名称已更改、并使用.cfg 文件中的以下代码修复了堆栈错误:
//SYS/BIOS 6 uses a larger stack than DSP/BIOS 5, as well as having a slightly larger footprint. Program.stack = 0x200; //decrease the system stack size. // Put the stack in a separate area Program.sectMap[".stack"] = new Program.SectionSpec() Program.sectMap[".stack"] = "M01SARAM";
放置在"L03SARAM"中的所有内容似乎都不再适用。
以下是我的最新错误:
#10010 errors encountered during linking; "XXXXXX.out" not built #10099-D 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 ".cinit" size 0x11bcpage 0. Available memory ranges: #10099-D 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 ".econst" size 0x255dpage 0. Available memory ranges: #10099-D 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. run placement with alignment/blocking fails for section "HMemData" size 0x386bpage 0. Available memory ranges: #16008-D file "../C28x_FPU_fastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib<atan2_f32.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "../C28x_FPU_fastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib<cos_f32.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "../C28x_FPU_fastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib<FPUmathTables.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "../C28x_FPU_fastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib<sin_f32.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line #16008-D file "../C28x_FPU_fastRTS/V100/lib/rts2800_fpu32_fast_supplement.lib<sqrt_f32.obj>" specifies ISA revision "C28FPU32", which is not compatible with ISA revision "C2700" specified in a previous file or on the command line ...
尽管不知道 C2700的引用来源、但该项目从未使用过该系列。
您好、Whitney、
感谢您在返回后立即返回。
我很高兴您在 Memory Allocation 视图中指出了我、这看起来非常有用、我相信我现在可以解决内存分配问题。
至于兼容性、我可以找到的所有内容都已设置为 fpu32:
我将运行时支持库设置为
在 XDCtools 设置中、Target 为 ti.targets.C28_float
系统的原始作者告诉我、他"使用了 C28的预编译库。 这些库被包括在内以加快 FPU 函数的速度。"
我认为我正在使用这些相同的库文件。
眼图很好! 这似乎是问题所在。 我不知道编译为何会占用该编译、但在手动将该库从编译中排除后、它将无错误地编译!