2023-02-26 09:27 PM
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
Please do the needful.
Thanks
Mahesh
Solved! Go to Solution.
2023-02-28 11:32 PM
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
2023-02-27 12:01 AM
but debug telling. there is no connection.
what did you connect - details ?
2023-02-27 12:27 AM
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
2023-02-27 03:48 AM
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.
2023-02-27 03:49 AM
Hi Imen,
I am using segger J-Link but not st-link
2023-02-27 05:00 AM
connected are : gnd, vcc, swd, swc, rst ?
and then setting is: con.under rest ot try software sys.res.
2023-02-27 08:07 PM
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
2023-02-28 02:35 AM
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:
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,
2023-02-28 11:32 PM
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
2023-03-01 01:27 AM