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 :)