This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker / place CRC Checksum in AXF File

Is it possible to instruct the linker (target is an STM32) to place a CRC checksum on the code in the AXF file at a certain location without using any external tools? If yes, what is the crc width, polynomial and start value?

Reason for asking: I am aware that it could be done with using "fromelf" to convert the AXF to .bin and then place a checksum in the file. However this process is a nightmare when handing over an image to production. Working with external tools is always error prone and I'd rather have the Compiler / Linker add the CRC in the binary without any further intervention or use of external tools.

Many thanks in advance.

Christopher Lang

0