2023-04-26 07:26 AM
For production we need an uploading scheme without any user interaction (no reset, power cycle etc.) except USB insert. Is this possible?
What I have tried so far:
The (empty) controller starts up into STM32 bootloader the first time (boot pin = 0). Connecting via CubeProgrammer CLI (USB) and flashing the application is no problem. Sending a start command does nothing. Sending -detach raises an error.
But: changing any option byte will reboot the controller and it will than execute application as expected. The problem with this is that the option byte programming ends with timeout error - because reading back fails - the controller directly starts inbetween.
Best regards,
Sven