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.

[参考译文] TMS320F2800157:将数据写入闪存的特定位置

Guru**** 2538950 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1407179/tms320f2800157-writing-data-into-specific-location-of-flash-memory

器件型号:TMS320F2800157

工具与软件:

嗨、团队:

我需要使用#pragma LOCATION ()指令将数据0x5AA5写入 F2800157闪存的指定位置(0x090000)。

我在.c 文件中尝试了以下命令。

#pragma 位置(MagicKey、0x090000)
unsigned int MagicKey = 0x5AA5;

但它是不起作用的。 我该如何实现它?. 请帮忙。

谢谢、此致、

Loganathan C.