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.

[参考译文] TMS320F28379D:内存分配错误。

Guru**** 2609955 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/990938/tms320f28379d-memory-allocation-error

器件型号:TMS320F28379D

您好!

我收到的错误是"program will not fit into available memory、or the section contains a call
需要无法为此段生成的 trampoline 的站点。
对齐/分块方式放置在".text"大小为0x1f89page"的段中失败。  

我已经尝试将第1页的未使用内存分配给第0页中的.text 内存。 这没用。

然后、我尝试注释该程序的很大一部分、这会导致成功编译、但在内存分配视图中、显示了99%的 ePWM 模块和 CPUsysregs 内存都使用了。 尽管我 仅使用 EPWM1模块。 请帮助。