Skip to main content
Chuev.Vladimir
Associate III
January 11, 2021
Question

Updating firmware using raspberry pi

  • January 11, 2021
  • 2 replies
  • 1225 views

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

    This topic has been closed for replies.

    2 replies

    KnarfB
    Super User
    January 11, 2021

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

    Tesla DeLorean
    Guru
    January 11, 2021

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..