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.

[参考译文] TMS320F2800156-Q1:Fapi_issueProgrammingCommand () 缓冲区格式

Guru**** 2439560 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1534790/tms320f2800156-q1-fapi_issueprogrammingcommand-buffer-formatting

器件型号:TMS320F2800156-Q1

工具/软件:

在使用 TMS320F2800156 时、我遇到了一个问题、让我深入研究闪存 API。

 

在查看“F280015x 闪存 API 参考指南“时、“Fapi_issueProgrammingCommand"说明“说明指出、“...pu16DataBuffer... 应进行 128 位对齐“。

同时、在“flashapi_ex1_programming"示“示例中、它接缝了“Buffer"位于“位于地址 0x89a6、而 “280015x_flash_api_lnk.cmd"将“将“Buffer"置于“置于“DataBufferSection"中“中

32 位对齐(即 align(2))。

 

我决定使它对齐 (2) 以匹配例子, 这也纠正了我所面临的问题. 同时、我想确保这是一件好事。 当然,我知道如果我会做 align(8) 它会自动使它 32 和 128 位对齐,但我不 想这样做,这是必需的。 我仅使用 Fapi_Auto EccGeneration 模式、每次编程 64 位。

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

    您好、

    如果您要对 64 位进行编程、我建议至少使用 ALIGN (4) 以避免将来出现任何问题。

    此致、

    Rajeshwary