cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use a Raspberry Pi to update the firmware on an STM MCU? Also, which families of STM are capable of going through such a process?

SSoni
Associate III

I want to update the firmware on an STM using a raspberry pi 3 that has been connected to it. How can I do so? Please help me with the names of the families of STM that are capable of going through with this process. Also, can this be done using the USB protocol? If so, please guide.

Thanks in advance.

Siddharth

3 REPLIES 3

See application note AN2606. Many support USB/DFU connectivity, all support serial connectivity. ​

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

Thanks for the reply. I can find the controllers that support the updating through Raspberry pi, but what is the procedure to actually do it? The STM MCU that I will be using belongs to the F family. How can I exactly use the raspberry pi to upload new code on the STM? Kindly help me with the procedure.

Thanks

Siddharth

David SIORPAES
ST Employee

You can use dfu-util for USB connectivity or stm32flash for UART connectivity.