2025-10-02 3:56 AM
Hi Community,
I am trying to get the Automatic Mode working, without success. There is a very similar (but locked) post about this going back to 2021 here, for which there is no accepted solution, so this may be an unresolved bug.
I am using API V2.20.0 and my ST-Link/V2 firmware is up to date. My target device is STM32C071 on my own pcb, using SWD. I have no issue with manual programming but automatic mode is problematic. To keep it simple until working properly, I am not programming any option bytes at this stage.
I start with the ST-Link connected to a board, then click Start Automatic Mode. After a delay of a few seconds it is programmed no problem and the dialogue then requests the device be disconnected and does recognise that it has been. So far so good.
However, it then fails to recognise the second device and hangs, not only the API but also the ST-Link, which must be unplugged and replugged before it will connect to a new instance of STM32CubeProgrammer.
Is it something I'm doing wrong, or is there a problem with the programmer API?
Many thanks in advance for any assistance