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.

[参考译文] TMS320F280049:将程序分到指定的flash区间运行 μ A

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1366711/tms320f280049-flash

器件型号:TMS320F280049

工具与软件:

您好,

    我想把一段程序放入指定的flash空间运行,做了如下的操作。

1 μ、程序放入 μ MyCode段 A

#pragma code_section (initEPwm,". 我的代码")
void initEPWM (void)
{}

2 μ A、修改CMD文件

内存
{
  第0页:

  MY_CODE : origin = 0x09B000, length = 0x003000 /*片上 Flash */

部分

{

。 我的代码       :>> my_code  page = 0, align (8)

编译完后,报#10247-D 正在创建输出节"。 MyCode "无 SECTIONS 规范

查map文件

该段程序放入了ram (RAMM0)中。

工程设置

请问我该如何修改?