cancel
Showing results for 
Search instead for 
Did you mean: 

Is there I2C Bootloader on STM32L051K8?

AJadh.5
Associate

I am using STM32L051K8 MCU in my project. All the project has been developed. Now there is a need to provide OTA firmware upload. For that I require to use I2C bootloader as I have alreadey interfaced I2C EEPROM. Please let me know whether it is possible on STM32L051K8 MCU.

1 ACCEPTED SOLUTION

Accepted Solutions
David SIORPAES
ST Employee

Hello,

according to AN2606, STM32L05xx supports UART and SPI bootloaders only. STM32L07xx/08xx parts support I2C.

I am not sure I understood however how the I2C EEPROM would come into play.

AN4221 describes all details of I2C bootloader.

View solution in original post

3 REPLIES 3
David SIORPAES
ST Employee

Hello,

according to AN2606, STM32L05xx supports UART and SPI bootloaders only. STM32L07xx/08xx parts support I2C.

I am not sure I understood however how the I2C EEPROM would come into play.

AN4221 describes all details of I2C bootloader.

Ok. Thanks for your prompt response.

In what way according to you can be OTA (Over The Air) firmware upload can be done without using external memory?

David SIORPAES
ST Employee

I guess there are many options to implement an OTA scheme but an external memory is not strictly necessary. You would usually split the flash in two regions: one for a loader (which takes care of image download, maybe decrypt and flashing), and one for the application itself.

Here's a good description of a BLE based OTA: AN4869