cancel
Showing results for 
Search instead for 
Did you mean: 

Programmed STM32WLE5CC

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.

1 REPLY 1
Andrew Neil
Super User

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?

Is it a genuine ST-Link?

 

Further details:

How to solve connection errors when connecting and programming the STM32 target board.

How to solve debugger connection issues.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.