The "Firmware Over The Air" method, supported by the flyport-pro wifi modules is very attractive and well designed. Nevertheless in my humble opinion, it lacks a fairly important function: the ability to check whether a firmware update is really necessary or not. In other words, I don't want to perform the firmware upgrade if the microcontroller already contains the firmware version available on the FTP server.
To discriminate whether or not downloading the firmware update, we could compute the MD5 hash of the microcontroller's flash and then compare it with the one on the server. The update is not required if the two MD5 hashes are matching.
My question is: is there any function that allows me to compute the MD5 hash of the microcontroller's internal flash memory?
Thanks to everyone who will answer