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.

[参考译文] MSP432E401Y:错误#10099-D:程序无法装入可用内存、或者该段包含一个调用站点、该调用站点需要一个可以为此段生成 trampoline ##39;t。 段".data"大小0x82的运行对齐放置失败

Guru**** 2528170 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1451365/msp432e401y-error-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-fails-for-section-data-

器件型号:MSP432E401Y

工具与软件:

团队成员、您好!

 我有两个大小为 529507和 4528的数据数组、它们将通过 SSI 传输到 FPGA。 在尝试构建这个项目时、会显示以下错误

您能否说明应该采取哪些措施来解决 MSP432E041Y 的此问题?

附加存储器分配供您参考。

提前感谢

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

    您好!

    [报价 userid="577647" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1451365/msp432e401y-error-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-fails-for-section-data-"] 我有两个大小 分别为529507和 4528的数据数组[/报价]

     从日志中可以看到、您正在尝试分配0x82850字节的 SRAM、而数据段可用的未使用 SRAM 仅为0x3EAFF。  请记住、MSP432E 只有256KB 的 SRAM、正如您所说的、您具有大小为529507的阵列。 这大大超过了芯片上 SRAM 的物理数量。 您需要通过减少 SRAM 的使用量在应用层面解决该问题。 这不是 MCU 级问题。