cancel
Showing results for 
Search instead for 
Did you mean: 

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.

kRaje.1
Associate II

0693W00000Y7Z8oQAF.png

5 REPLIES 5
MM..1
Chief II

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

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.

Your log window show Cnonnected corectly ?

For JLink you need connect too power line ...

kRaje.1
Associate II

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