2025-06-26 5:00 AM
Greetings,
To start with stm32 wireless series i bought STM32WLE5CC and uploaded my custom code of gpio toggeling without initialiazing PA13 and PA14 for serial wire debug. The program runs as it should but when i try to re-flash the controller with ST-Link V 2 the chip is not being recognized.
Can this issue arise due to the failure of initialiazing PA13 and PA14 ? If so then is there any work around to save my chip :).
Note : I have used cube mx for code generation.
Thanks & Regards,
Nimit Vachhani.
Solved! Go to Solution.
2025-06-26 5:08 AM
What board is your chip on?
If you did nothing at all to PA13 and PA14, that should leave them in their default state - which is SWD.
If your code does reconfigure PA13 and/or PA14, then connecting under hardware reset should override that.
Do you have the hardware reset connected from your ST-Link?
Further details:
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues.
2025-06-26 5:08 AM
What board is your chip on?
If you did nothing at all to PA13 and PA14, that should leave them in their default state - which is SWD.
If your code does reconfigure PA13 and/or PA14, then connecting under hardware reset should override that.
Do you have the hardware reset connected from your ST-Link?
Further details:
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues.
2025-06-26 8:18 PM
Greetings,
I have clone STlink. Due to this fear i am trying with STM32F429I-Disc1 for programming. Please give me some time i am posting my IOC file here for better info.
2025-06-26 10:04 PM
Great.. The clones were not working. I tried with discovery board and it worked.