Skip to main content
TGUDL.1
Associate
Feb 27, 2023 5:27 AM UTC
Solved

Please help us in resolving the error during Flashing the code i.e. (Error in Final launch sequence). Details are mentioned below.

Hi,

I am trying to flash basic Led blinking code. During the flashing, I have seen the error which is attached with this forum. I have double checked the connections.

Details of the board: LoRa-E5 Dev Board which has STM32WLE5JC.

Debugger: Segger Jlink

IDE: STM32CUBEIDE

0693W00000aHhM8QAK.png Please do the needful.

Thanks

Mahesh

This topic has been closed for replies.
TGUDL.1
TGUDL.1Best answer
Associate
Mar 1, 2023 7:32 AM UTC

Hi,

Thanks a lot for the support. Am able to flash the code in the Dev Board. The issue here is during configuration for ADC, one of the pins used for JTAG is misconfigured for the ADC and it causes the JTAG not able to connect the board.

Thank you,

Mahesh

10 replies

AScha.3
Super User
Feb 27, 2023 8:01 AM UTC

but debug telling. there is no connection.

what did you connect - details ?

If you feel a post has answered your question, please click on " Best Answer ".
TGUDL.1
TGUDL.1Author
Associate
Feb 27, 2023 11:48 AM UTC

I have connected one end of the debugger (j-link) to PC and other end to the STM32WLE5 Development board (LoRa-E5 Dev Board). The connection looks as below. I am using J-link debugger to flash the code.0693W00000aHiY5QAK.jpg

ST Technical Moderator
Feb 27, 2023 8:27 AM UTC

Hello @Community member​ and welcome to the Community :)

Can you connect the board via STM32CubeProg?

Try with different boards, cables.

Check connectivity options and the jumper position on the board (UM2592: STM32WL Nucleo-64 board (MB1389))

Try Connect Under Reset.

If the problem is not resolved, please share more details about the CubeIDE, Cubeprogrammer version.

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
TGUDL.1
TGUDL.1Author
Associate
Feb 27, 2023 11:49 AM UTC

Hi Imen,

I am using segger J-Link but not st-link

AScha.3
Super User
Feb 27, 2023 1:00 PM UTC

connected are : gnd, vcc, swd, swc, rst ?

and then setting is: con.under rest ot try software sys.res.

0693W00000aHk47QAC.png

If you feel a post has answered your question, please click on " Best Answer ".
TGUDL.1
TGUDL.1Author
Associate
Feb 28, 2023 4:07 AM UTC

Yes, the connections are connected as gnd, vcc, swd, swd, rst from the debugger to the Dev board. Will try the software system reset and update you. Thanks

Wijeden RHIMI
ST Employee
Feb 28, 2023 10:35 AM UTC

Hello @TGUDL.1 ,

1- Try to test the same scenario with Cubeprogrammer

2- I wonder you to enable low power debug mode and connect under reset as shown in the screenshot bellow:

0693W00000aHpsbQAC.png Also, you should mass erase the flash memory using the following link that may help you to do that:

How to solve debugger connection issues (st.com)

Best regards,

Wijeden,

TGUDL.1
TGUDL.1AuthorBest answer
Associate
Mar 1, 2023 7:32 AM UTC

Hi,

Thanks a lot for the support. Am able to flash the code in the Dev Board. The issue here is during configuration for ADC, one of the pins used for JTAG is misconfigured for the ADC and it causes the JTAG not able to connect the board.

Thank you,

Mahesh

Wijeden RHIMI
ST Employee
Mar 1, 2023 9:27 AM UTC

Hi TGUDL.1 ,

Your issue is solved ?

Thanks,

Wijeden,

TGUDL.1
TGUDL.1Author
Associate
Mar 2, 2023 10:27 AM UTC

Yes @Wijedn RHIMI. Thank you for the support.