I’m doing an application where I need to update the firmware trough the USB interface or UART module.
I see that the Kinetis KL27Z has an internal ROM for bootloader, where I can run another application to copy the firmware from an USB interface or UART to an external Flash Memory and update the internal flash of the KL27Z, trough SPI interface, for example. It was my first idea to update the firmware remotely.
Do you have some idea how can I do it in a simple way? Anybody has done it before or saw something similar like these?
I think when I’m updating a firmware, I need to make a simple CRC to check if the data isn’t corrupted. Can I run this type of application in bootloader memory area?