Reference this thread, https://www.avrfreaks.net/forum/tiny1616-fuse-setting-error, as it seems my problem is directly a result of accidentally setting the fuses on my ATtiny1616 per the settings in the OP there. Fuse settings copied here for completeness;
FUSES = { .WDTCFG = WINDOW_OFF_gc | PERIOD_OFF_gc, // WDT = OFF .BODCFG = LVL_BODLEVEL7_gc | SAMPFREQ_1KHZ_gc | ACTIVE_ENABLED_gc | SLEEP_SAMPLED_gc, // BOD level = 4.3V .OSCCFG = FREQSEL_20MHZ_gc, // .TCD0CFG = // .SYSCFG0 = // .SYSCFG1 = // .APPEND = // .BOOTEND = };
I added the fuse settings to main.c in my project only to see if I could recreate the issue Kabasan was having and never intended to program a device with them. I forgot to remove them, and since the project was built with those fuse settings, when I programmed the chip I lost the ability to reconnect to the chip with the Atmel-ICE.
The Atmel-ICE is known to be functioning properly as I have no problem connecting to another ATtiny1616 and many other chips as well.
My question is, how do I connect to the ATtiny1616 with the Atmel-ICE again. Is it possible to use UPDI Enable with 12V Override of RESET pin mode to erase the chip? The ATtiny1616 datasheet and Atmel-ICE documentation are vague and confusing to say the least.
Any ideas? Has anybody used the UPDI 12V mode with an Atmel-ICE?
ATtiny1614/ATtiny1616/ATtiny1617 Datasheet