However, the pyocd pack --i nrf52840 command doesnt work:
> pyocd pack update
0000418 I Updating pack index... [pack_cmd]
Downloading descriptors (1625/1625)
> pyocd pack --i nrf52840
0000497 W No matching devices. Please make sure the pack index is up to date. [pack_cmd]
Your connections look correct.
The python error message is confusing and I have no idea what it means.
I am not sure what the real problem is.
The DAPlinks are giving me problems sometimes and I have to try 2 or 3 times before it actually works.