Skip to main content
kRaje.1
Associate III
January 6, 2023
Question

hi today i wrote a led blicky code in stm32cubemx and i am using external j link debugger to flash a code but i am getting a error like this.

  • January 6, 2023
  • 5 replies
  • 2874 views

0693W00000Y7Z8oQAF.png

This topic has been closed for replies.

5 replies

MM..1
Super User
January 6, 2023

Dont create dupl. When you choice use JLink first learn howto use it.

Seems you connect WL board, this SOC isnt perfect for try ...

Have your board onboard STLink ?

kRaje.1
kRaje.1Author
Associate III
January 6, 2023

No This board(LORA-E5 DEV BOARD(stm32wle5jc controller)) does not have onboard STLink.so i connected external j-Link debugger for code flash in stm32cubeide. but i am getting error like that. sir can help me how to resolve this problem.

MM..1
Super User
January 6, 2023

Your log window show Cnonnected corectly ?

For JLink you need connect too power line ...

kRaje.1
kRaje.1Author
Associate III
January 7, 2023

I have checked logs, J-Link connected but it showing below error.

Could you please share how to connect the power lines to JTag. if you have any connection diagram, please share us.

I have attached screen shots of below errors. Kindly check.0693W00000Y7d5UQAR.png0693W00000Y7d5PQAR.png0693W00000Y7d5KQAR.png 

Could not connect to target.

Please check power, connection and settings.

Checking target voltage...

Connecting to target failed. Connected correctly?

Error in final launch sequence:

Failed to execute MI command:

target remote localhost:2331

Error message from debugger back end:

localhost:2331: Connection timed out.

Failed to execute MI command:

target remote localhost:2331

Error message from debugger back end:

localhost:2331: Connection timed out.

localhost:2331: Connection timed out.

MM..1
Super User
January 7, 2023