Skip to main content
Graduate II
August 20, 2025
Question

STSW-LINK007 on FreeBSD

  • August 20, 2025
  • 1 reply
  • 718 views

Hello world :)

Trying to upgrade firmware on series of STLINK-V3MODS on FreeBSD, downloaded 3.16.9 package from [1], after running:

java -jar STLinkUpgrade.jar

I got error message "Platform not supported (freebsd)".

Would it be possible to add support for FreeBSD? All should work as on Linux or macOS except serial port names here are /dev/cuaU0, /dev/cuaU1, etc. Ah I notices there are some dynamic libraries involved but these can be cross-compiled easily too let me know if you need support :)

Thanks :)

Tomek

[1] https://www.st.com/en/development-tools/stsw-link007.html

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 21, 2025

    Hello,

    As far as I know, there is no plan for the ST-Link upgrade tool to support FreeBSD.

     

    CeDeROMAuthor
    Graduate II
    August 21, 2025

    Thanks @Mike_ST , how can I help to make this happen? Would it be possible to provide only firmware *.bin file so open-source tools can be used?

    Technical Moderator
    August 21, 2025

    Thank you for you help, but the STM32 ecosystem does not support FreeBSD, so I think it won't happen.

    ST doesn't provide the binary file. You have to use the ST-Link Upgrade tool.

    You can try to launch a linux VM under free BSD, maybe the upgrade process will work (never tried).