cancel
Showing results for 
Search instead for 
Did you mean: 

OTA Updates for STM32C091

Naidu
Associate II

Hi Team,

This is Vamsi. I am using a smart display with the STM32C091 MCU and would like to implement OTA updates for this chipset. Could you please suggest the best possible way to achieve this?

6 REPLIES 6
MM..1
Chief III

OTA without OTA connect is realy impossible. Read AN2606...

I have not understood OTA Connect. Could you please elaborate on this?

Try you elaborate , what you mean is OTA ?

Naidu
Associate II

OTA refers to updating the firmware over the air. For ESP32 chipsets, we typically use HTTP requests to download the file and perform the update wirelessly. However, I'm not familiar with the exact procedure for STM32. Please let me know if you need any additional information from my end.

No info required from your end,  as i write on first message 091 dont have over air connect then OTA is impossible.


@Naidu wrote:

OTA refers to updating the firmware over the air. .


Exactly.

So, to do that, you need some sort of over-the-air communication.

The ESP32 has WiFi and Bluetooth built in - so it can use them.

The STM32C091 has no built-in wireless capabilities - they have to be provided externally by you, the designer.

EDIT: Or you need to choose a different STM32 - one which does have built-in wireless capabilities.

So the question is, what over-the-air communication do you intend to provide?

 

Having said that, the basics of a system able to update its own firmware are largely distinct from the communications.

What you need is a so-called Bootloader:

https://community.st.com/t5/stm32-mcus-products/how-can-i-use-an-esp32-to-update-the-firmware-of-an-stm32-from/m-p/696326/highlight/true#M254867

https://community.st.com/t5/stm32-mcus-products/how-can-i-use-an-esp32-to-update-the-firmware-of-an-stm32-from/m-p/696331/highlight/true#M254868 

 

This is also known as "In-Application Programming"; IAP.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.