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.