IAP vs Bootloader for STM32U5 for OTA FW upgrade
Hi,
I'm studying a way to do OTA FW upgrade for a STM32U5A5 MCU using a LTE modem and SPI Flash external memory. My environment is: STM32CubeIDE v1.16.1 with STM32CubeMX v6.12 and FW_U5 v1.6.0. I'm also using FreeRTOS.
I was checking the native Booloader by ST (Application Note 2606), but I understood I need an host programmer to use it, but my final application will not have it. I checked also the possible patterns for boot selection (Pattern 12 for U5) trying to imagine the BL reading autonomously from the SPI memory of a previously downloaded Firmware:
- Is it right that it is mandatory a host to use thi BL or my idea could be accomplished in some way?
Then, I checked the possible IAP implementation and I reached the AN4657, but it seems quite old and without CubeIDE examples or latest STM32 MCU families implemented:

- Is there any update for STM32U5 IAP examples?
As last result, I got the IAP_main and IAP_binary_template example for STM32U575 (mine is STM32U5A5) , but the second, as a template, is quite empty, the first is quite good example, using UART and SDD memory and ThreadX and FileX middleware.
- Is this the best example to follow for OTA FW upgrade with LTE modem and Flash SPI memory? Do I need any warning?
Many thanks,
Fabio
