Open michieldwitte opened 5 years ago
I've been able to create a quick workaround for this issue. (https://github.com/michieldwitte/pyOCD/commit/2ad02e2c4fd0e390edc971dd081b175d5a3942d6)
Addressing this through some connect options is on the todo list.
Is there a way to connect to a device in sleep mode? Can I issue a hardware reset, and halt the processor before trying to connect?
Currently I'm getting this error:
I've had this issue before using OpenOCD Changing the following line in the device config file resolved it.
When first connecting and disconnecting the stlink-utility and then running the script there are no issues.