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.

[参考译文] TMS320F280025:快速初始化 RAM 数据

Guru**** 2575725 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1015888/tms320f280025-quick-initialization-ram-data

器件型号:TMS320F280025

您好、支持团队、

是否有任何方法可以不循环地快速初始化 RAM 中的变量、例如下面的 u8EepromRawData

ramgs1 : > RAMLS4567
#pragma DATA_SECTION(u8EepromRawData, "ramgs1")
#pragma DATA_ALIGN(u8EepromRawData, 0x80)
u8 u8EepromRawData[256]

此致、

问题

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

    Quy、

    有关  如何初始化 RAM 数据的更多信息、请查看《TMS320C28x 汇编语言工具 v21.6.0.LTS 用户指南(修订版 W)》(TI.com)中的第8章。  

    更多  信息、请参阅 C28x 编译器-了解链接(TI.com)。

    此外、 对堆栈溢出进行快速谷歌搜索显示了类似的步骤: C -如何在外部 RAM 中初始化变量? -堆栈溢出 

    此致、

    Ozino