Page 1 of 1
Starm 32F042K6!
Posted: Sat Apr 15, 2023 7:37 pm
by jgu1
Hi!
Recently I bougth a new Laptop. I have Installed all FC version Toolchain ect. Everything work, but not the Starm. On my older Laptop 32F042K6 compile the same program and program the device, but not possible on the new laptop?
I have compared on the two laptop the compiler options > Compiler > programmer look similar, and in the devicemanager I can see the the USB virtual port for the device. But I get error, Any idea what could be wrong , please?
Thank´s in advance
Jorgen
Re: Starm 32F042K6!
Posted: Sun Apr 16, 2023 6:44 pm
by LeighM
This is very strange.
I would expect ST-LINK_CLI.exe to output some messages, but there is nothing.
Neither does Windows suggest ST-LINK_CLI.exe is missing or not found.
So I can only assume that there is maybe a corruption of ST-LINK_CLI.exe
Have a look at the contents of directory C:\Program Files (x86)\Flowcode\Common\Compilers\starm\ST-LINK Utility.
There should be a few files including ST-LINK_CLI.exe (mine is size 261KB)
Try clicking and running it and see if it outputs some help text.
Hopefully doing the above might give some clues.
If not, try re-installing the ST ARM Toolchain and utility tools.
There is also the UI version that you could try - STM32 ST-LINK Utility.exe
Re: Starm 32F042K6!
Posted: Sun Apr 16, 2023 7:50 pm
by jgu1
Hi Leigh!
Thank´s for fast reply.
I try to do as you said, click on the ST-LINK_CLI.exe, came out with error, System error the same for the other files. I try to uninstall the toolchain and reinstall it again, whitout succes.
then I Googled the STM32 ST-LINK Utility.exe and found this:
https://stm32-st-link-utility.software. ... ownloading
Install the program, and ops it worked now

I can program the device.
I have some other ARM devices used in FC, I have not tested these yet, do you these will work too?
Thank´s
Jorgen.
Re: Starm 32F042K6!
Posted: Mon Apr 17, 2023 8:31 am
by LeighM
Ah, anti-virus issues then.
Looks like you have fixed the tools, so yes other ST ARM devices should also now work ok.
Re: Starm 32F042K6!
Posted: Mon Apr 17, 2023 1:41 pm
by jgu1
Yes it seem to work now, I try a couble of other device, and the work. Thank´s..