STM32CubeProgrammer does not work with the STM32L-discovery
Hello,
I inherited an old software project from a colleague who retired. (He originally worked on Windows XP.)
The software was designed to run on an STM32L-Discovery board.
Since some packages need to be maintained, I want to build the software on a Linux machine (Ubuntu 24.04.4 LTS). I managed to create a CMake project that successfully builds the binary for the target.
The issue I’m facing now is that I can’t flash the binary to the target hardware because STM32CubeProgrammer displays the following message:
“Error: Old ST-LINK firmware version. Upgrade ST-LINK firmware.”
I also tried on a Windows 10 machine and got the same result.
On the official board page [1], there’s no mention of STM32CubeProgrammer.
I’ve been searching for a solution since this morning, but I haven’t found the right hint yet.
Can anyone confirm whether CubeProgrammer is unable to write to this Discovery board?
Can anyone recommend a programmer I can use to flash the binary? (I know a few are listed in the documentation, but I don’t have experience with those.)
Thank you in advance.
Regards,
Elvys
[1] https://www.st.com/en/evaluation-tools/stm32l-discovery.html#documentation
