2025-11-30 6:00 PM
Hi! I am having a lot of trouble configuring the ST-Link on my NucleoF466RE board to JLink with STLinkFlash.exe even after consulting different community posts and websites.
I was able to connect to my board using STM32CubeProgrammer on my Ubuntu 24.04.2 LTS laptop and upgrade it with the STLinkUpgrade program below.
Then I connected my nucleo board to my Windows VM from Virtual Box since STLinkFlash.exe can only be run in Windows. I have installed the right STLink and JLink drivers from SEGGER website and confirmed in my Device Manager that the STLink was detected.
However, when I launched STLinkFlash.exe to upgrade my STLink to JLink, I got the error "ERROR: Timeout: ST-LINK/V2-1 did not enter DFU mode". I tried putting the nucleo board in DFU mode by shorting the BOOT0 pin to VDD or removing/connecting different jumpers available on the board, but none worked...
Has anyone been able to configure their STLink on their nucleo board to JLink recently? Would really appreciate any pointers to debug this! Thank you in advance :)
2025-12-01 2:32 AM
@dleung wrote:Hi! I am having a lot of trouble configuring the ST-Link on my NucleoF466RE board to JLink with STLinkFlash.exe
That's a Segger utility - nothing to do with ST - so you need to go to Segger for support it:
https://www.segger.com/support/technical-support/
https://forum.segger.com/board/4-j-link-flasher-related/
BTW: there doesn't seem to be any such thing as a NucleoF466RE - did you mean NUCLEO-F446RE ?
2025-12-01 2:46 AM
> Has anyone been able to configure their STLink on their nucleo board to JLink recently? Would really appreciate any pointers to debug this! Thank you in advance :)
I did, with success.
And I only know of the Windows version of this conversion tool - unfortunately.
Although it seems plausible that this tool requires the ST-Link Windows drivers (from ST) installed to recognize the ST-Links as such in the first place.
2025-12-01 7:17 AM
Ahhh thanks for the clarification and sending the Segger links! And yep sorry there was a typo, I meant Nucleo-F446RE board. I will submit my query to Segger technical support. Thanks!
2025-12-01 7:32 AM
Hi Ozone,
Thanks for letting me know! What is your STLink version on your Nucleo-F446RE board? When you say you know of the Windows version of this conversion tool, do you mean STLinkFlash.exe? Because that is what I used to try configuring the STLink on my Nucleo-F446RE board to JLink in my Windows virtual machine on my Ubuntu laptop. I did install the STLink USB Windows driver (STSW-LINK009 from ST) that recognized my Nucleo-F446RE board as a STLink in my Device Manager in my Windows VM, but STLinkFlash.exe failed to upgrade it to JLink with that DFU error...
Thanks!
2025-12-01 11:40 PM
> What is your STLink version on your Nucleo-F446RE board?
Not a F446 Nucleo.
Several F407 discoveries, F303 discoveries, some C031 nucleo and F746 nucleos, and lately two F303 nucleo-32 boards.
Some of them ST-Link V2.0, most of them V2.1.
Since V3 ST-Links are based upon a STM32F7xx instead the F103, such versions most probably don't work.
And Segger explicitely supports only onboard ST-Links in it's licence conditions, not sure if the STLinkFlash.exe contains similiar restrictions.
I tried a ST-Link V3minie (standalone) just for reference, and the STLinkFlash.exe reported "no ST-Link found".
Checking in the device manager, it was listed there as ST-Link.
> Because that is what I used to try configuring the STLink on my Nucleo-F446RE board to JLink in my Windows virtual machine on my Ubuntu laptop.
I use my dayjob PC for this purpose ...