The following sequence of commands will download the included Info.plist file and install it into the system kext directory as a dummy kext.
sudo mkdir -p /System/Library/Extensions/AtmelICE.kext/Contents
curl https://gist.githubusercontent.com/carlossless/31dc73963d589f18a20b582e787b6206/raw/Info.plist > /System/Library/Extensions/AtmelICE.kext/Contents/Info.plist
sudo chown -R root:wheel /System/Library/Extensions/AtmelICE.kext`
sudo chmod -R 755 /System/Library/Extensions/AtmelICE.kext
sudo kextcache -system-caches
Take note of the product ids of your actual device. I've seen different ones being used. An easy way to check that is to use lsusb. Then convert the product id from hex (base 16) to dec (base 10) and change the idProduct
value in the plist.
ISP flashing might be very slow when using AVRDUDE, to make it faster use the -B 1
flag.
Note: this requires a higher clock speed of the device too.
I came up with a solution: http://hinterm-ziel.de/index.php/2021/07/13/avrdebug-and-atmel-ice-under-macos/
I basically set up a brew formula that you can use to install avrdude from the most recent codebase.