I'm trying to use an Atmel AVR-ICE through the ISP connection to upload the bootloader and get the following error message inside Arduino IDE:
avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/buster/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : atmelice_isp avrdude: usbhid_open(): No device found avrdude: usbdev_open(): Found Atmel-ICE CMSIS-DAP, serno: Jxxxxxxxxxxx avrdude: usbdev_open(): error claiming interface 0: Permission denied avrdude: usbdev_open(): no usable interface found avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2141 avrdude done. Thank you.
From what I've found so far is Mac OS grabs the USB device when it's first connected and then Avrdude can't connect. Does anyone know of any work arounds??
If no fixes for Atmel AVR-ICE, then are there any recommendations for a USB ISP programmer that works under Mac OS ?
---- [UPDATE] ----
Well a little more googling returned a solution to the problem.
You need to trick Mac OS into thinking the USB device has already been claimed. This is done by using a signed dummy kext for the Atmel ICE.
Here is a link describing the fix. Although it references High Sierra, I can verify that it also works with Catalina:
AVRDude and Atmel ICE on OSX 10.3 High Sierra