C:\dist>avrdude -C avrdude.conf -c snap_updi -p avr16e a28 -vv -U flash:w:flash.hex:a -U eeprom:w:eep.hex:a avrdude main() warning: Linked C library does not conform to C99; avrdude may not work as expected avrdude: Version 7.2-20240108 (5b3c313) Copyright the AVRDUDE authors; see https://github.com/avrdudes/avrdude/blob/main/AUTHORS System wide configuration file is C:\Users\user\Desktop\Jan7-2\dist\avr dude.conf Using port : usb Using programmer : snap_updi avrdude: jtag3_open_updi() avrdude: HV UPDI support: 1 avrdude: found CMSIS-DAP compliant device, using EDBG protocol avrdude: jtag3_edbg_prepare(): connection status 0x01 avrdude: sending sign-on command: 0x80 (3 bytes msg) avrdude: input file flash.hex auto detected as Intel Hex avrdude: input file eep.hex auto detected as Intel Hex AVR Part : AVR16EA28 Programming modes : UPDI, SPM Memory Size Pg size Offset ----------------------------------------- eeprom 512 8 0x1400 flash 16384 64 0x800000 fuses 16 1 0x1050 fuse0/wdtcfg 1 1 0x1050 fuse1/bodcfg 1 1 0x1051 fuse2/osccfg 1 1 0x1052 fuse5/syscfg0 1 1 0x1055 fuse6/syscfg1 1 1 0x1056 fuse7/codesize 1 1 0x1057 fuse8/bootsize 1 1 0x1058 lock 4 1 0x1040 prodsig/sigrow 128 128 0x1100 signature 3 1 0x1100 tempsense 4 1 0x1104 sernum 16 1 0x1110 userrow/usersig 64 64 0x1080 io 4160 1 0 sram 2048 1 0x7800 sib 32 1 0 Variants Package F max T range V range ---------------------------------------------------------- AVR16EA28 SOIC28 20 MHz [-40 C, 125 C] [1.8 V, 5.5 V] Programmer Type : JTAGICE3_UPDI Description : MPLAB(R) SNAP in UPDI mode avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x01, section 0, parm 0) command: 0x84 (9 bytes msg) ICE HW version : 1 ICE FW version : 1.10 (rel. 249) Serial number : avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x01, section 0, parm 1) command: 0x84 (6 bytes msg) avrdude: jtag3_setparm() avrdude: sending set parameter (scope 0x12, section 0, parm 0) command: 0x80 (3 bytes msg) avrdude: jtag3_setparm() avrdude: sending set parameter (scope 0x12, section 0, parm 1) command: 0x80 (3 bytes msg) avrdude: jtag3_setparm() avrdude: sending set parameter (scope 0x12, section 1, parm 0) command: 0x80 (3 bytes msg) avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x01, section 1, parm 0) command: 0x84 (6 bytes msg) Vtarget : 0.59 V avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x12, section 1, parm 0) command: 0x84 (5 bytes msg) avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x12, section 0, parm 0) command: 0x84 (5 bytes msg) avrdude: jtag3_getparm() avrdude: sending get parameter (scope 0x12, section 1, parm 49) command: 0x84 (6 bytes msg) PDI/UPDI clk : 100 kHz UPDI SET: xd->prog_base_msb=80 xd->prog_base=0 0 xd->flash_page_size_msb=0 xd->flash_page_size=40 xd->eeprom_page_size=8 xd->nvmctrl=0 10 xd->ocd=80 f xd->address_mode=1 avrdude: jtag3_setparm() avrdude: sending set parameter (scope 0x12, section 2, parm 0) command: 0x80 (3 bytes msg) avrdude: sending AVR sign-on command: 0xa0 (4 bytes msg) avrdude: bad response to AVR sign-on command: 0xa0 avrdude: retrying with external reset applied avrdude: sending AVR sign-on command: 0xa0 (4 bytes msg) avrdude: bad response to AVR sign-on command: 0xa0 avrdude: retrying with external reset applied avrdude main() error: initialization failed, rc=-1 - double check the connections and try again - use -B to set lower the bit clock frequency, e.g. -B 125kHz - use -F to override this check avrdude: jtag3_close() avrdude: sending AVR sign-off command: 0x80 (3 bytes msg) avrdude: sending sign-off command: 0x80 (3 bytes msg) avrdude done. Thank you.