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.

generate crc through linker for all of flash



Hi,

 

I'm very new to crc and have some questions.  I'd like to generate crc values for all of flash, and am looking at doing this through the linker generated crc table using the crc_table function.

 

I have a couple of questions:

- can the crc value be created for multiple .obj files, or does each file need it's own crc value if generated from the linker?

I know I can have multiple lines like:

.section_to_be_verified_1: {a1.obj(.text)}

crc_table(_my_crc_table_for_a1_and_c1)

.section_to_be_verified_3: {c1.obj(.text)}

crc_table(_my_crc_table_for_a1_and_c1, algorithm=TMS570_CRC64_ISO)

But this will require > 50 entries...there has to be a better way!

- is there any benefit to having multiple crc values across flash over one crc value for all of flash?

 

Thanks,

David