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.

[参考译文] TMS320F28377D:闪存大小由&quot 检查;闪存 CRC 校验"似乎太小了?

Guru**** 2654075 points

Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1585651/tms320f28377d-flash-size-checked-by-flash-crc-check-seems-too-small

器件型号: TMS320F28377D
主题: C2000WARE 中讨论的其他器件

尊敬的 champs:

 

我向我们的客户询问这个问题。

诊断库中

C:\ti\c2000\C2000Ware_1_00_01_00\libraries\diagnostic\f2837xd\examples\cpu1\test_application

sta_tests.c

对于“FLASH CRC 校验“、numBytes 在 uint16_t 中定义、这意味着它不能超过 0xFFFF。

如果是、如何使用它来验证大于 0xFFFF 字的闪存区域?

例如、F28374S 的闪存大小范围为 0x80000 至 0xBFFFF。 用户如何处理它?

 

image.png

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

    为了使用此函数、用户可能需要将闪存拆分为子段并为每个子段生成 CRC。  遗憾的是、汇编函数 STL_CRC_CALCULATE 的编写方式不能简单地将 numBytes 更改为 uint32_t

    Whitney