Part Number: MSP432P401Y
I have been scouring through the forums and documentation looking for information on how to implement Over The Air updates on the MSP432P401Y but have yet to determine how or the best way this can be done. I have come across examples of how to enable this functionality for similar models of the MSP432 with either a connected ethernet or Bluetooth module but they do not go into much detail on how it is actually coded in the MSP.
We are using a Sara R410M cell module to communicate over the internet and can save a firmware update package to it's internal memory to be read back over a UART AT interface but we would likely need to modify the MSP's bootloader to be able to determine when to start parsing the file over the UART. The default bootloader would likely not be able to parse the file due to some extra file description information appended by the use of the AT interface.
I assume that we would need to further modify the bootloader on the MSP so that you can boot to either of the two Main flash memory banks depending on some criteria (newest software version information perhaps).
The perceived flow of operations would be as follows:
1) Send software update file over the internet to our cell module
2) Cell module saves the file to it's internal memory
3) MSP reads back this file and sends it to its bootloader to program to one of the two Main flash memory banks. (Keeping a copy of the original software as a backup)
4) Bootloader can attempt to boot to the newest firmware and fall back to the backup if needed.
Is this something that is possible with the MSP through the use of a custom bootloader? Is there an example project of the default bootloader that I can modify for my needs that works with the MSP432P401Y model variant? I am using CCS10 and the latest SimpleLink library.