Skip to main content
FArdi.1
Associate II
Sep 29, 2021 3:43 AM UTC
Question

STM32CubeProgrammer 2.8.0 Automatic mode is not working

Using ST-link V3.

MCU: STM32L031

First programming was ok. After disconnecting and reconnect with second device, nothing happen.

0693W00000FAklrQAD.pngUsing same set of hardware, but changed software to ST-LINK Utility.

Result: ok. Automatically programmed the second device.

0693W00000FAkm6QAD.png

This topic has been closed for replies.

11 replies

ST Technical Moderator
Oct 6, 2021 3:47 PM UTC

Hello @FArdi.1,

Try unplug the board every time or use STLink utility.

Try this and if this solves your problem please let me know.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
FArdi.1
FArdi.1Author
Associate II
Oct 7, 2021 1:08 AM UTC

Try unplug the board every time:

Reply: That's my main purpose of using automatic mode. I must unplug previous board, and plug the next one. I expected STM32CubeProgrammer detect automatically, but it didn't.

use STLink utility:

Reply: STlink utility worked fine as mentioned in original posting. I thought this software is replaced by STM32CubeProgrammer?

https://www.st.com/en/development-tools/stsw-link004.html

0693W00000FBhXKQA1.png

ST Technical Moderator
Oct 7, 2021 3:05 PM UTC

Hi @FArdi.1​ 

ST-Link utility is not recommended for new products.

Maybe you need to update the ST-Link Firmware !

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
KSchu.5
Visitor II
Mar 7, 2022 12:08 PM UTC

I have exactly the same problem, the automatic mode does not recognize the second device.

Is this a confirmed bug?

Tested with:

STM32CubeProgrammer 2.8.0

ST-Link/V3 (Firmware V3J8M3B5S1)

ALin.10
Visitor II
Mar 9, 2022 3:06 AM UTC

I have exactly the same problem, the automatic mode does not recognize the second device.

Tested with:

MCU:STM32G030

STM32CubeProgrammer 2.9.0

ST-Link/V2 (Firmware V2J39S0)

Jin.Ian
Associate
Aug 15, 2022 2:59 PM UTC

I use STM32G030. I have exactly the same problem. Stm32CubeProgrammer doesn't recognize the second device. Any solution by now?

Thanks.

Tesla DeLorean
Guru
Aug 15, 2022 3:53 PM UTC

CM0(+) devices can be particularly sensitive to speed.

If your interface doesn't connect NRST, a whole bunch of those methods won't be usable.

Discuss your priorities and expectations with your FAE, or sales rep.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
JWieb
Associate III
Aug 11, 2023 4:45 PM UTC

Bump. Would also like help with Automatic mode. First device works, disconnect is detected, but second device does nothing. 

STM32CubeProg V2.9.0

STLINK V2J40M27

Piranha
Principal III
Aug 11, 2023 10:16 PM UTC

And why haven't you tested the latest versions first?