cancel
Showing results for 
Search instead for 
Did you mean: 

How to get IAR to compute a CRC of the ROM image

Ricardo Hassan
Associate III

Greetings,

I'm building an app for an STM32L496. I am trying to get the linker to calculate a CRC32 of the ROM image and place it in ROM. I've read a few technical notes on this, and I'm following the ARM example. The problem is I keep getting the "ielftool error: The string '__checksum' was not found in the string table" message. I am declaring __checksum as extern in my code, which doesn't help. If I remove the extern, then I get a duplicate symbol. The example never defines it, it just has the extern reference. I am using C++, which I suspect is part of the issue. Does anyone know the trick to this?

Ricardo 

0 REPLIES 0