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.

.TI.ramfunc内存分配BUG

我将常用程序定义到.TI. ramfunc中,然后.TI.ramfunc SIZE只有0x1244 然后显示出错 如图

这个代码是在将一个文件利用#pragma CODE_SECTION(rfft_Start,".TI.ramfunc") 后出现的错误

  • 该芯片选择的是28377S

    为保证最大效率 将RFFT代码写入RAM中运行以保证最大效率。但是目前出来当前的BUG。

    但是当将程序定义入28377S默认的FLASH CMD文件中时出错 

  • 将CMD文件中的 RUN = RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3 修改为 RUN = RAMLS03

    在PAGE0中将 RAMLS0 | RAMLS1 | RAMLS2 |RAMLS3  修改为 RAMLS03 问题解决

  • HUAZHE YAN,

    感谢您的分享,您也可看下以下链接中关于TMS320F28xxx,copying initialized compiler sections from the internal Flash memory to the internal random access memory (RAM)文档。

    http://www.ti.com/lit/an/spraau8a/spraau8a.pdf

  • 感觉你虽然解决了此问题,但是分析和解决问题的思路是很有问题的,为了避免对以后的人产生误解,我给你一个参考链接和标准答案,希望能对你有帮助:

    参考链接: http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/63540.aspx 

    具体的解决答案: