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.

[参考译文] TMS320F28377S:启用 ECC 时代码复位

Guru**** 2455360 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/762637/tms320f28377s-code-reset-when-ecc-is-enabled

器件型号:TMS320F28377S

大家好、

我对 ECC 有疑问。

1. 如果我的客户使用 CAN 对闪存进行编程、如果 ECC 被启用、那么代码将持续复位。 我认为这是由触发看门狗的 ECC 故障引起的。

2. 如果通过仿真器对代码进行编程、则不会发生复位。

因此、我认为问题是由通过 CAN 的闪存操作引起的。 我猜是因为 ECC 没有重新编程、所以导致了错误。

使用此函数是否会解决问题?

fapi_issueProgrammingCommand (((uint32 *) u32Index、Buffer+I、8、0、0、Fapi_AutoEccGeneration);

谢谢!