cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect debugger/programmer.

LMehm
Associate III

Hello,

We programmed our STM32L011 microcontroller with firmware that enters STOP mode and waits for an interrupt.

However, we accidentally disabled the interrupt on the PA4 line. As a result, the device now immediately enters STOP mode, and we are unable to reprogram it.

Could you please advise how we can recover the device in this situation?

Thank you in advance.

10 REPLIES 10

Another tip is to ensure there's a delay from power-up or reset before it first goes into STOP - giving a "window" during which the debugger can connect.

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.