Kenneth MacCallum 2021-02-04 07:44:31 PST
If the SFDQ had an eeprom, then this could be used both for non-volatile storage, but also for a secure way to update firmware.
Kenneth MacCallum 2021-02-04 08:13:18 PST
Actually, the built in bootloader cannot load from eeproms. Still, it feels more secure to first load the new code onto a local eeprom and then load into flash, instead of doing it over the uart.
Leaving this ticket open for investigation into booting from SPI flash. Potentially made possible by the addition of an SD card on SPI3 in rev X7.
https://www.st.com/resource/en/application_note/an4286-spi-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf