hello:
I've been working on a S32K144 feature recently to generate a checksum for my own hex or S19 files and store it in flash to verify file integrity
I'd also like to know how the internal checksum is calculated using how to use the S32DS configuration, or which tool to use to do this at GCC compile time。
Hi,
if you need checksum for - let's say Intel hex - generated by objcopy tool - you need to use an external tool like srec_cat - https://srecord.sourceforge.net/
Nice tutorial you can find here - https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/