Kext to be able to use Atmel-ICE with OpenOCD
This can fix the errors:
usbdev_open(): error claiming interfaceError: unable to find CMSIS-DAP device
Based on:
To recognize the Atmel-ICE as a HID device, the IOProviderClass
should not be IOUSBInterface but IOHIDInterface as OpenOCD
prefers to use hidapi.
-
Retrieve the product ID and vendor ID of your Atmel-ICE:
-
You can use
lsusbto list it, an example output looks like this:Bus 020 Device 015: ID 03eb:2141 Atmel Corporation Atmel-ICE CMSIS-DAP Serial: J41800053365Where
03ebis the product ID and2141is the vendor ID (in hex). -
Open
System Information, then inHardwareopenUSB. Find your Atmel-ICE in the list and click on it. At the bottom you can find theProduct IDandVendor ID.
-
-
Use
./install.sh <productId> <vendorId>to install the kext correctly. -
Reboot your Mac.