Hello Andreas,
The documentation doesn’t mention that. It’s just my experience. I used pyOCD 0.8.0 with Mbed OS2 and it worked. When pyOCD bundled with newer versions of Mbed OS did not work I downgraded back to the old version using pip
(python installer) command (from Linux terminal but it should work on Windows or Mac too):
pip install pyocd==0.8.0
Then it turned out that pyOCD 0.8.0 doesn’t like semihosting and local file system of newer Mbed OS. To disable those drivers the following mbed_app.json
configuration file shall be added to the root directory of a Mbed OS project:
{
"target_overrides": {
"LPC1768": {
"target.device_has_remove": [
"LOCALFILESYSTEM",
"SEMIHOST"
]
}
}
}
Best regards, Zoltan