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: Flash size checked by "flash CRC check" seems too small?

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hi champs,

 

I am asking this for our customer.

In the diagnostic library

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

sta_tests.c

For "flash CRC check", numBytes is defined in uint16_t, meaning it cannot exceed 0xFFFF.

If so, how does the user use it to verify a flash region larger than 0xFFFF words?

For example, F28374S, the flash size ranges from 0x80000 to 0xBFFFF. How does the user handle that?

 

image.png

  • They may need to break their flash into subsections and generate a CRC for each one in order to use this function. The assembly function STL_CRC_calculate is unfortunately written in a way where we can't just simply change numBytes to a uint32_t.

    Whitney