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**** 2589280 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1058241/tms320f28379d-running-code-from-flash-memory

器件型号:TMS320F28379D

您好 TI 专家   

到现在为止、我以实时调试器模式运行该程序。 现在、我计划从闪存运行我的软件

1.我 将2837xD_RAM_lnk_CPU1替换为 2837xD_FLASH_lnk_CPU1、然后替换为2837xD_CPU1

2.我在我的空主函的开头插入了以下语句  

#ifdef _flash
memcpy (&RamfuncsRunStart、&RamfuncsLoadStart、(size_t)&RamfuncsLoadSize);
#endif

上述声明是否是从闪存运行软件所必需的?  

这两项更改我一直到现在为止。 我是否在软件中进行进一步修改?