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.

[参考译文] TMS320F28069:在运行时写入自有闪存?

Guru**** 2539500 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1215823/tms320f28069-write-to-own-flash-at-runtime

器件型号:TMS320F28069
主题中讨论的其他器件:C2000WARE

F28069上运行的程序可以写入闪存吗? (即存储程序代码的闪存)

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

    Thomas、

    这里的规则是您不能在代码运行时对闪存进行编程。  

    现在、您可以在执行期间对闪存进行重新编程、但是在重新编程的过程中、代码需要从 RAM 运行。 您可以通过 API 调用将一小部分代码从闪存复制到 RAM、然后跳转到该代码以执行以上操作。  擦除/编程完成后、您可以跳回闪存。

    我们在 C2000Ware C:\ti\c2000\c2000\C2000Ware_4_03_00_00\device_support\f2806x\examples\c28\flash_programming 中有一个相关示例、或者如果您愿意、以下是云链接。

    https://dev.ti.com/tirex/explore/node?node=A__AO12bLHPMTpCl3tIMzFE1w__c2000ware_software_package__gYkahfz__LATEST

    此致!

    Matthew