Upgrading Firmware in SBMS0

40 views
Skip to first unread message

Soggy Paws

unread,
Jun 21, 2026, 4:48:56 AM (5 days ago) Jun 21
to electrodacus
I think I have successfully upgraded our "spare" SBMS0.  I couldn't find a step-by-step here on electrodacus.com.
What I found was this link from 2020, plus Dacian's comments in the recent discussion about his new firmware. "New Firmware soon to be released"
As soon as Dacian confirms that my result looks correct (haven't powered the spare SBMS0 up, but results output by the programmer software), I'll put together my notes which consolidates Dacian's 2 posts and some Googling.
Here's my log file and a screenshot from the programming software you have to download and install.
Hope this will help someone else who's not an electrical engineer used to flashing microprocessors.
Result of Programming Spare SBMS0.log
Results of Programming Spare SBMS0.jpg

Dacian Todea (electrodacus)

unread,
Jun 21, 2026, 1:15:28 PM (4 days ago) Jun 21
to electrodacus
Yes it seems you successfully upgraded the firmware to version 6.0c.  Since a few days ago I made a small modification related to diversion with max power point so if you still have those connected you can upload this latest version https://electrodacus.com/SBMS0/sbms0-v03d-v61c.bin.zip
This is the latest on how to connect the SBMS0 for updating the firmware but that older posts I made are also valid https://groups.google.com/g/electrodacus/c/pWpo8UhwBlI/m/rqlrPVBlBAAJ
I never used the STM32CubeProgrammer but I imagine that should be fairly simple to use.
There is no chance to brick the SBMS0 because the boot loader is build in to microcontroller in hardware so even if wires disconnect during programing you can always just write the firmware again.

Soggy Paws

unread,
Jun 21, 2026, 11:47:09 PM (4 days ago) Jun 21
to electrodacus
If you don't use the STM32CubeProgrammer, what do you use to write the firmware to the SBMS0?  
I googled "How to update my Electrodacus SBMS0 with STLink 2.0", and that's what AI suggested with step-by-step instructions.  It's info about connections weren't quite right (I used yours that you linked above), but the process of using the STM software was useful and apparently correct.  Other than the fact that the download is nearly 1GB, and then another GB to install (on Windows), it was free (had to give up my email address).
Note that my cheap-o STLink connection pins are slightly different order than yours, so you do have to pay attention to what your STLink is labeled.

Dacian Todea (electrodacus)

unread,
Jun 22, 2026, 12:15:08 AM (4 days ago) Jun 22
to electrodacus
My computers are all running Linux for the past 25 years.  It seems since 2018 STM32CubeProgramer is available on Linux also but it was not available when I started working on this project.
So I use the EclipeIDE when writing the code and that has ST-Link configured as an external tool for convenience.
ST-Flash is a command line utility that is just around 27kB and is simply used like this st-flash write firmware.bin 0x08000000   
ST-Flash is open source and available for Linux, Windows and MAC

I find it silly that they bundle everything in that STM32F373 and so is that huge 1GB install when ST-Flash is just a 27kB executable file.
Reply all
Reply to author
Forward
0 new messages