Stm32_programmer_cli flashing with 5 stlink at the same time and not sequentially
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-21 3: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.
- Labels:
-
ST-Link
-
STM32CubeProgrammer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-21 8: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-21 5:36 PM
I am running each thread with each sn corresponding to each stlink as um2237 indicate in page 93.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-21 8: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.
