Writing Your Own Bootloader for STM32, Part 2.
While I was finishing the previous article, I came across a thread on Radiokot discussing what format to use for sending firmware to a bootloader. I had the same question, and at the end of the previous article I described why it is more convenient to send firmware as a hex file than as a binary; those interested can read it here. So, we need to look at the record types in a hex file and extend the code from the previous article. Everything...