~# avrdude -c atmelice_isp -P usb -p m1284p -vvv avrdude: Version 6.3-20171130 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : atmelice_isp avrdude: stk500v2_jtag3_open() avrdude: usbhid_open(): Probing for max. packet size avrdude: usbhid_open(): Setting max_xfer from DAP_Info response to 512 avrdude: Found CMSIS-DAP compliant device, using EDBG protocol avrdude: jtag3_getsync() avrdude: jtag3_edbg_prepare() avrdude: jtag3_edbg_prepare(): connection status 0x01 avrdude: Sending sign-on command: avrdude: jtag3_edbg_send(): sending 3 bytes avrdude: jtag3_recv(): Got message seqno 0 (command_sequence == 0) [general] OK AVR Part : ATmega1284P Chip Erase delay : 55000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : JTAG3_ISP Description : Atmel-ICE (ARM/AVR) in ISP mode avrdude: jtag3_getparm() avrdude: Sending get parameter (scope 0x01, section 1, parm 0) command: avrdude: jtag3_edbg_send(): sending 6 bytes avrdude: jtag3_recv(): Got message seqno 1 (command_sequence == 1) [general] Data returned: 0x01 0x5c 0x13 0x00 Vtarget : 5.0 V avrdude: jtag3_edbg_send(): sending 2 bytes avrdude: jtag3_recv(): Got message seqno 2 (command_sequence == 2) SCK period : 0.98 us avrdude: jtag3_setparm() avrdude: Sending set parameter (scope 0x12, section 0, parm 0) command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: jtag3_recv(): Got message seqno 3 (command_sequence == 3) [AVR] OK avrdude: jtag3_setparm() avrdude: Sending set parameter (scope 0x12, section 0, parm 1) command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: jtag3_recv(): Got message seqno 4 (command_sequence == 4) [AVR] OK avrdude: jtag3_setparm() avrdude: Sending set parameter (scope 0x12, section 1, parm 0) command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: jtag3_recv(): Got message seqno 5 (command_sequence == 5) [AVR] OK avrdude: jtag3_edbg_send(): sending 2 bytes avrdude: jtag3_recv(): Got message seqno 6 (command_sequence == 6) avrdude: jtag3_edbg_send(): sending 13 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xc0 avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv() avrdude: AVR device initialized and ready to accept instructions Reading | | 0% 0.00savrdude: stk500isp_read_byte(.., signature, 0x0, ...) avrdude: stk500isp_read_byte(): Sending read memory command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11 avrdude: jtag3_edbg_recv(): Unexpected response 0x80 avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv() avrdude: stk500isp_read_byte(.., signature, 0x1, ...) avrdude: stk500isp_read_byte(): Sending read memory command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11 avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xd0 avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv() Reading | ################# | 33% 0.60savrdude: stk500isp_read_byte(.., signature, 0x2, ...) avrdude: stk500isp_read_byte(): Sending read memory command: avrdude: jtag3_edbg_send(): sending 7 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11 avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xc0 avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv() Reading | ################################################## | 100% 1.20s avrdude: Device signature = 0x303030 avrdude: Expected signature for ATmega1284P is 1E 97 05 Double check chip, or use -F to override this check. avrdude: jtag3_edbg_send(): sending 4 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x70, 0xea avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xd0 avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv() avrdude: stk500v2_jtag3_close() avrdude: jtag3_close() avrdude: Sending AVR sign-off command: avrdude: jtag3_edbg_send(): sending 3 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x00, 0x02 avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xc0 avrdude: AVR sign-off command: timeout/error communicating with programmer (status -1) avrdude: Sending sign-off command: avrdude: jtag3_edbg_send(): sending 4 bytes avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_send(): Unexpected response 0x00, 0xeb avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_recv(): Unexpected response 0xd0 avrdude: sign-off command: timeout/error communicating with programmer (status -1) avrdude: jtag3_edbg_signoff() avrdude: Short read, read only 0 out of 512 bytes avrdude: jtag3_edbg_signoff(): failed to read from serial port (0) avrdude done. Thank you.