Parallel programing using pyocd #1125
Unanswered
Thomas-Lawrence
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Are you using the APIs to in your threads? I think you can use multiprocessing pool to launch pyocd command line to perform the flashing tasks. It would be easy and more stable. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to do parallel programming using pyocd.
Details of my system :
Target : HC32F460
Interface: CMSIS-DAPLink
I was able to flash the target using pyocd and now I am trying to flash several targets in parallel. To start with I connected two targets to two separate interfaces. The pyocd commands are then amended with the unique IDs of these interfaces and created two threads to do flashing, but it fails! I have tested both the interfaces individually and in both cases the target was successfully flashed.
Is it possible to do parallel programing with pyocd? I am new to python world and any suggestions would help.
Beta Was this translation helpful? Give feedback.
All reactions