AnsweredAssumed Answered

CRC generator for hex file

Question asked by Mr_M_from_G on Jan 9, 2017
Latest reply on Jan 10, 2017 by Clive One



I am looking for a way to generate a CRC after compilation and add it to the hex file at a specified address so that it can altogether be programmed to flash and at runtime can be compared to a value calculate by the program.

Any idea how to do it, best in an automated way, so that I don't have to fiddle in some value somewhere for every compiler run? I use Atollic True Studio Light and asked something similar there too. uC is STM32L151