cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Configure NucleoF446RE STLink to JLink

dleung
Visitor

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.

dleung_0-1764553745622.png

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.

dleung_1-1764553998485.png

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...

dleung_2-1764554090582.png

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

 

 

2 REPLIES 2
Andrew Neil
Super User

@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 ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Ozone
Principal II

> 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.