cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Problem occured while trying to connect

jju.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief II

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

View solution in original post

4 REPLIES 4
Piranha
Chief II
  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
Associate II

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
Chief II

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

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