-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Compared to windows STM32_Programmer_CLI or STM32CubeProgrammer that does it in 4 seconds, loading about 90kB of code takes significantly longer on RPi4 and this software, about 11s. I tried all the options like limiting flash size (apparently it only allows to increase, not decrease flash size), increasing frequency, using --opt to not program empty space. There is no setting for speed like there is on CubeProgrammer, but even on default settings it is only 4 seconds on windows CLI. Strangely some other piece of code loaded this time to STM32L053C6 it is even tiny bit faster on RPi and this st-flash, of around 2.95s vs 3.3s on windows. For STM32WL4CC mass storage programming mode is faster on RPi, around 7s, but still far from warping 4s. Why I'm finding this an issue? It will be used on production where every second counts. It looks like optimization issue, any clues?