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.
Under Big Sur:
"sudo mkdir -p /System/Library/Extensions/AtmelICE.kext/Contents
Password:
mkdir: /System/Library/Extensions/AtmelICE.kext/Contents: Read-only file system"