How to do COMPARE command via python API? #1659
Unanswered
izb-synapse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a simple python script that flashes a target to replace the use of an STLINK + STM32CubeProgrammer. I have the flashing part done by using pyocd
FileProgrammer
object, but one other feature in STM32CubeProgrammer that I would like to replicate is the "Verify" function, where the program reads the target memory and compares to the file you have just written. I see that in the pyocd commands list there is a COMPARE command, but I can't seem to find how to use it via the Python API (if possible).Thank you
Beta Was this translation helpful? Give feedback.
All reactions