cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Link Utility firmware update resulted in huge slow down in programming

M Tan
Associate
Posted on May 14, 2018 at 15:29

Hi, 

I just updated the firmware on the LINK tool as the utility app said the firmware on the cable was an old version. 

Following the instruction appeared on the screen, I updated the firmware using the option from the menu ST-LINK -> Firmware Update.

The firmware on the link cable is now 

 V2J23S4 according to the information on the screen. 

Before the update, connecting to the target and programming the .srec file used to take only a matter of a few seconds. 

Now, with the new one, it took almost 1 hour until it finally released the connection and the device memory is displayed (it took further 20 minutes after the 'Verification... OK ' message appeared on the screen (please see below), until the GUI fubakkt became responsive). 

Below is the log - please can you tell us what is causing this problem, or could we have the old version of the firmware back?

13:35:05 : ST-LINK SN : 55FF79064986565716411287

13:35:05 : ST-LINK Firmware version : V2J23S4

13:35:05 : Connected via SWD.

13:35:05 : SWD Frequency = 005 KHz.

13:35:05 : Connection mode : Connect Under Reset.

13:35:05 : Debug in Low Power mode enabled.

13:35:06 : Device ID:0x414

13:35:06 : Device flash Size : 512KBytes

13:35:06 : Device family :STM32F10xx High-density

13:36:13 : [testboard debug console 13-04-2018.srec] opened successfully.

14:02:16 : Flash memory programmed in 25mn and 50s and 868ms.

14:02:16 : Verification...OK

Thank you. 

4 REPLIES 4
Posted on May 14, 2018 at 17:31

>>

could we have the old version of the firmware back?

I've posted mirrors to older versions of the ST-LINK Utilities, and firmware updaters in the past, there is no difficulty downgrading the firmware. I would avoid J24 and J25 as these have issues with holding devices in reset when attached to USB chargers or battery packs.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on May 14, 2018 at 17:37

Consider also J-Link OB firmware, couple of older ST-LINK Utilities posted here, don't recall FW# in each.

https://community.st.com/0D70X000006Sh5wSAC

 
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
M Tan
Associate
Posted on May 16, 2018 at 10:11

Hi Clive 

Thank you for your response. Please could we have a link from where we can find those older versions of firmware ? 

Thanks!

David SIORPAES
ST Employee
Posted on May 16, 2018 at 11:36

SWD frequency is set to 5kHz, which is veeery slow.

Try increasing it to something like 1.8MHz in 'Target/Settings' :

0690X0000060KnFQAU.png