cancel
Showing results for 
Search instead for 
Did you mean: 

"Run after programming" only works after *changing* the setting.

BB-RTB
Visitor

Hallo zusammen,

mir ist im STM32CubeProgrammer (GUI, v2.19.0) ein merkwürdiges Verhalten im Automatic Mode aufgefallen:

Wenn man den Haken bei "Run after programming" direkt aktiviert und dann auf „Start“ klickt, wird kein Reset ausgeführt, obwohl die Option gesetzt ist. Das Programm wird nicht neu gestartet. Wenn man schnell hintereinander viele Platinen updaten will mit Neustart des Programms ist dies hinderlich

Workaround:
Wenn man den Haken einmal entfernt und dann wieder setzt, funktioniert der Reset im Automatic Mode anschließend wie erwartet. Offenbar wird die Option intern erst korrekt übernommen, wenn sie aktiv verändert wurde.

Das Verhalten ist reproduzierbar und tritt unabhängig vom Ziel-MCU auf (getestet mit STM32L4 und ST-Link v3MINIE).

:wrench:Vorschlag:
Es wäre super, wenn das in einer der nächsten Versionen behoben werden könnte – vermutlich reicht ein Fix im Initialisierungsverhalten der GUI.

Viele Grüße
BB-RTB

 

Translation:

Hello everyone,

I noticed some strange behavior in Automatic Mode in the STM32CubeProgrammer (GUI, v2.19.0):

If you check the box for "Run after programming" directly and then click "Start," a reset is not performed, even though the option is enabled. The program does not restart. This is a hindrance if you want to update many boards in quick succession and restart the program.

Workaround:
If you uncheck the box and then recheck it, the reset in Automatic Mode works as expected. Apparently, the option is only correctly applied internally once it has been actively changed.

This behavior is reproducible and occurs regardless of the target MCU (tested with STM32L4 and ST-Link v3MINIE).

Suggestion:
It would be great if this could be fixed in one of the next versions – a fix to the GUI's initialization behavior would probably suffice.

1 REPLY 1
mƎALLEm
ST Employee

Hello @BB-RTB and welcome to the community,

The official language of this ST community is English. 

Thank your for your understanding.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.