Skip to main content
jju.1
Associate
May 11, 2023
Solved

Error: Problem occured while trying to connect

  • May 11, 2023
  • 3 replies
  • 5985 views

l want to connect pcb board through stm32cubeprogrammer.

But it posts pop-up like that.

The error massage is "Error: Problem occured while trying to connect".

And sometimes it connects well, so i can't find the reason.

Could you give me some adivce to this problem?
_legacyfs_online_stmicro_images_0693W00000bjotnQAA.png

This topic has been closed for replies.
Best answer by AScha.3

again...

  1. Update the ST-LINK firmware.
  2. set to swd , not jtag


_legacyfs_online_stmicro_images_0693W00000bk3geQAA.pngyou have old firmware, V29 ; now is V40 ...about.

3 replies

Piranha
Principal III
May 13, 2023
  1. Update the ST-LINK firmware.
  2. Do you actually have a JTAG connection, not SWD?
  3. If low-power modes are used, it is recommended to use "Connect mode: Under Reset" and "Reset mode: Hardware reset".
jju.1
jju.1Author
Associate
May 15, 2023

Hello.

I've already downloaded the latest version from this site, and I've checked the jtag connection. And sometimes they connect well. If i try 100 times, it will be connected about 1 time, and in that state, the connection will be good until the computer is turned off.

AScha.3
AScha.3Best answer
Super User
May 15, 2023

again...

  1. Update the ST-LINK firmware.
  2. set to swd , not jtag


_legacyfs_online_stmicro_images_0693W00000bk3geQAA.pngyou have old firmware, V29 ; now is V40 ...about.

"If you feel a post has answered your question, please click ""Accept as Solution""."
jju.1
jju.1Author
Associate
May 15, 2023

oh it connects well. I really appreciate your hep. Thanks a lot!!