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.

[参考译文] CODECOMPOSER:迁移 DSP/BIOS 应用程序、错误"ISA 修订版、不兼容"

Guru**** 656470 points
Other Parts Discussed in Thread: TMS320C28345, SYSCONFIG
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1059804/codecomposer-migrating-a-dsp-bios-application-errors-isa-revision-which-is-not-compatible

器件型号:CODECOMPOSER
主题中讨论的其他器件:TMS320C28345SysConfig

您好!

 

我正在尝试将 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的引用来源、但该项目从未使用过该系列。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这些"ISA 修订版"错误通常表示您的项目中的--float_support 编译器选项与用于构建相关.lib 的--float_support 设置之间不匹配。 您的项目中如何设置-float_support? 是 FPU32吗?

    您似乎需要编辑链接器命令文件以找到这些段的空间。 如果您需要、这里提供了一些有关编辑链接器文件的指导。 我还建议使用 CCS 中的内存分配工具来可视化您可用的内存。

    惠特尼

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Whitney、

    感谢您在返回后立即返回。

    我很高兴您在 Memory Allocation 视图中指出了我、这看起来非常有用、我相信我现在可以解决内存分配问题。  

    至于兼容性、我可以找到的所有内容都已设置为 fpu32:

    我将运行时支持库设置为

    在 XDCtools 设置中、Target 为 ti.targets.C28_float

    Processor Options

    系统的原始作者告诉我、他"使用了 C28的预编译库。 这些库被包括在内以加快 FPU 函数的速度。"  

    我认为我正在使用这些相同的库文件。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、这看起来不错。 错误提示"在以前的文件或命令行中指定"-这些项目设置应该负责"命令行"部分、所以我认为它必须是导致冲突的其他库吗? 您正在使用哪些其他库?

    在您之前的帖子中、列出的输出 SFO_TI_build_V5B--您是否已切换到该库的 FPU 版本以解决该问题?

    惠特尼

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    眼图很好! 这似乎是问题所在。 我不知道编译为何会占用该编译、但在手动将该库从编译中排除后、它将无错误地编译!