Skip to main content
Graduate
March 8, 2022
Question

ST-LINK forced update

  • March 8, 2022
  • 1 reply
  • 983 views

Hello,

We have CI/CD pipeline running in a build server with an ST-LINK attached to program an STM32 MCU. Suddenly the pipeline stopped working because of:

ST-LINK firmware upgrade required. Please upgrade the ST-LINK firmware using the upgrade tool.

The whole pipeline is automatically ran with command line tools. I would like to know how is it possible that it suddenly stopped working and how can it know that the ST-LINK firmware is outdated? This is disturbing since we are trying to keep the whole test setup as static as possible and only do controlled updates.

    This topic has been closed for replies.

    1 reply

    Graduate II
    March 8, 2022

    You don't mention a tool chain.

    IAR/Keil might hold ST-LINK related DLLs which update, and then have expectations.

    If you introduce a new board/ST-LINK, it may also be behind the version expectations of the drivers/dlls

    suteAuthor
    Graduate
    March 9, 2022

    We are using STM32CubeProgrammer CLI and the ST Link GDB server in Linux inside a Docker container so the environment has always been identical and nothing has changed. I am really baffled how this situation happened.

    Graduate II
    March 9, 2022

    The only thing I can think of would be time-bombs, but I can't say I've encountered any date related triggers myself, or from forum reports.

    Perhaps the ST-LINK was caught in some odd state, and the version got misreported, or defaulted to some other number.