2022-09-21 03:38 PM
I have a python script in order to flash many stm32 chips each one connected with a stlink. 5 devices. My python script is designed to create threads by using threading package, and the idea is flash all the devices at the same time. But this is not happening in this way, and each device is flashed sequentially. So my question is, cli support many instances to flash many devices with many stlinks concurrently?
Solved! Go to Solution.
2022-09-21 08:09 PM
Issue solved.
I use multiprocessing package instead of threading package. Also, I use manager to create a list in order to receive the return values of my multiprocessing methods.
2022-09-21 05:36 PM
I am running each thread with each sn corresponding to each stlink as um2237 indicate in page 93.
2022-09-21 08:09 PM
Issue solved.
I use multiprocessing package instead of threading package. Also, I use manager to create a list in order to receive the return values of my multiprocessing methods.