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.

Compiler/RM48L952: CRC Table over TI -specific OTP

Part Number: RM48L952

Tool/software: TI C/C++ Compiler

Hello TI,

I would like to know how I can take advantage of the crc table calculated by compiler over a specific region, in this case the OTP region. I have read the manuals to target the linker script in order to have the crc stored in a crc table after compilation, but I am getting the following warning:

"CRC table operator cannot be associated with empty output section"

I am not going to place anything in the Customer OTP, although I would be interested to create a crc over the OTP region which also contains TI specific data (Chip nummber, number of flash banks, etc) in order to check it later on in the C-application.

Is that possible to combine it with the linker script, when your section is literally empty as there are no own .obj files or .const, 

Due to this limitation, I only see to calculate the CRC twice in the C-application and then to check it against right after that.

Is that assumption correct ?