cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 - update firmware from data stored in SRAM

Foreen
Associate II

I would like to remotely update the firmware of my STM32WLE5. I can transfer new binary file from the server to the STM's SRAM using my custom link only, which means I cannot utilize other native update procedures provided by STM, such as UART. However, I'm unsure about what steps to take with the data once it's in the SRAM.

Does anyone know how to update the firmware using the data stored in the SRAM?

Thank you for any help.

 
1 REPLY 1

Use the HAL Flash programming functions, copying data out of memory using pointers?

https://github.com/STMicroelectronics/STM32CubeWL/blob/main/Projects/NUCLEO-WL55JC/Examples/FLASH/FLASH_EraseProgram/Src/main.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..