I am looking to design a board with two microcontrollers, the nRF52840 will be the primary micro plus another that will be connected via UART.
The second micro can be updated via an inbuilt bootloader via the UART. I would like to, if possible, use the existing OTA functionality on the Nordic to push a combined package for both micros.
Has anyone do anything similar? How did you go about it?
My first thoughts were something like, combine the two hex files, offset the second micro addressing, possible to a external flash connected to the Nordic, extending the memory address, then have the OTA process write to that extended memory address. I then later manage the sending over serial part.
I had also through about streaming the data via the UART service but we need upgrade fallover recovery, that's why I'm thinking external flash, where I could possibily do a A/B bank system.
Any thoughts, suggestions, similar attempts or implementations?