We are developing a product that uses UART functionality and need assistance with implementing a multi-image bootloader. Could you provide a sample project that includes:
A bootloader
Program A
Program B
Our goal is to verify that the bootloader can correctly start Program A, detect when an update is available over UART, download the new image, and then switch execution to Program B. Any example code, documentation, or guidance on this workflow would be greatly appreciated.