Open JanneKiiskila opened 1 year ago
Try adding -M attach
to your command:
connection:
...
-M MODE, --connect MODE
Select connect mode from one of (halt, pre-reset, under-reset, attach).
This could be related to the device being locked? I think I've noticed an issue recently with connecting to a locked device being troublesome. I've done some work on it, but haven't fixed it yet, and haven't had a chance to get back to it. I'll try to reproduce again when I have a chance, after the next release.
Flashing of a .bin-file (which fits just fine to memory) fails on FRDM-K66F.
Python version info:
At the same time, I can flash the device just fine via
cp <bin-file> /media/$USER/FRDM-K66F && sync
, so device is not in an abnormal state. Seeems pyocd can't get it to the right state for flashing.FRDM-K66F has Daplink, details below.