Since i couldn't find anything similiar online...can anyone help me with some code for generating the firmware checksum in runtime from mbed microcontroller. I am using NucleoF401RE board. I do not have any constraints, i just need to calculate it in some way, whether using the incorporated CRC calculation unit or some other way.