cancel
Showing results for 
Search instead for 
Did you mean: 

Updating firmware using raspberry pi

Chuev.Vladimir
Associate III

I have a custom board with SWO pins for STM32 firmware (but I don't have the RESET pin)

I was planning to update my board remotely with ST-Link and raspberry pi

But I found out too late that STM32CubeProgrammer does not support ARM

I tried to use ST-Link Utility but couldn't work it with Soft Reset

Is there a way out? I don't want to order a new board

2 REPLIES 2
KnarfB
Principal III

Should be possible using OpenOCD from sources for Raspi like here: https://iosoft.blog/2019/01/28/raspberry-pi-openocd/

Perhaps you can just add code to your own firmware (loader+app) so it can update itself rather than relying on SWD/JTAG or the System Loader.

ie some sort of IAP / FOTA type affair, where you control ALL the variables, and can write code for whatever platform you choose.

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