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.

[参考译文] TMS320F28388D:如何在闪存中使用 ECC 进行 S2记录

Guru**** 2527550 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1014865/tms320f28388d-how-to-use-ecc-in-flash-for-s2-records

器件型号:TMS320F28388D

您好!

 我想在  启用 ECC 的情况下对闪存进行编程。  fapi_issueProgrammingCommand()函数在  示例代码中接受16字节作为 u16DataBufferSizeInWords 参数的输入。

我想刷写 S2格式的数据、其中包含15字节的数据。 我已正确运行  Fapi_DataOnly 编程命令类型的代码。 使用相同的算法,当我在   Fapi_issueProgrammingCommand()函数中将编程命令类型更改为 Fapi_AutoEccGeneration 时,我会遇到错误。  

我应该如何解决这个问题?

谢谢你