Skip to main content
AJadh.5
Associate
April 19, 2019
Solved

Is there I2C Bootloader on STM32L051K8?

  • April 19, 2019
  • 2 replies
  • 1019 views

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.

This topic has been closed for replies.
Best answer by David SIORPAES

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.

2 replies

David SIORPAES
David SIORPAESBest answer
ST Employee
April 19, 2019

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.

AJadh.5
AJadh.5Author
Associate
April 19, 2019

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
April 19, 2019

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