➜ ~ avarice -4 -d :4242 AVaRICE version 2.13svn20160229, Nov 26 2017 20:43:27 Defaulting JTAG bitrate to 250 kHz. Found HID PID:VID 0x03eb:0x2140, serno J30200010645 Probing for HID max. packet size Setting max. packet size to 512 from DAP_Info JTAG config starting. command "sign-on" [0x01, 0x10] 0E 00 00 00 01 10 00 HID thread started Received 0x81 0x11 0x00 0x06 0x0e 0x00 read: 0e 00 00 01 80 00 Got message seqno 0 (command_sequence == 0) response: 01 80 00 command "get info (serial number)" [0x00, 0x00] 0E 00 01 00 00 00 00 81 Received 0x81 0x11 0x00 0x12 0x0e 0x01 read: 0e 01 00 00 81 00 4a 33 30 32 30 30 30 31 30 36 34 35 Got message seqno 1 (command_sequence == 1) response: 00 81 00 4A 33 30 32 30 30 30 31 30 36 34 35 Found a device, serial number: J30200010645 command "get parameter" [0x01, 0x02] 0E 00 02 00 01 02 00 00 00 05 Received 0x81 0x11 0x00 0x0c 0x0e 0x02 read: 0e 02 00 01 84 01 00 03 36 77 00 00 Got message seqno 2 (command_sequence == 2) response: 01 84 01 00 03 36 77 00 00 ICE hardware version: 0 ICE firmware version: 3.54 (rel. 119) command "set parameter" [0x12, 0x01] 0E 00 03 00 12 01 00 00 00 01 02 Received 0x81 0x11 0x00 0x06 0x0e 0x03 read: 0e 03 00 12 80 00 Got message seqno 3 (command_sequence == 3) response: 12 80 00 command "set parameter" [0x12, 0x01] 0E 00 04 00 12 01 00 00 01 01 02 Received 0x81 0x11 0x00 0x06 0x0e 0x04 read: 0e 04 00 12 80 00 Got message seqno 4 (command_sequence == 4) response: 12 80 00 command "set parameter" [0x12, 0x01] 0E 00 05 00 12 01 00 01 00 01 04 Received 0x81 0x11 0x00 0x06 0x0e 0x05 read: 0e 05 00 12 80 00 Got message seqno 5 (command_sequence == 5) response: 12 80 00 command "AVR sign-on" [0x12, 0x10] 0E 00 06 00 12 10 00 00 Received 0x81 0x11 0x00 0x0b 0x0e 0x06 read: 0e 06 00 12 84 00 3f a0 60 59 00 Got message seqno 6 (command_sequence == 6) response: 12 84 00 3F A0 60 59 00 AVR sign-on responded with device ID = 0x5960A03F : Ver = 0x5 : Device = 0x960a : Manuf = 0x1f Reported device ID: 0x960A Configured for device ID: 0x960A atmega644p Automatic device detection: command "set parameter" [0x12, 0x01] 0E 00 07 00 12 01 00 02 00 1F 00 01 00 00 01 00 00 00 00 00 00 7E 00 00 00 01 00 08 08 03 01 00 00 00 31 22 21 1F 20 57 46 Received 0x81 0x11 0x00 0x06 0x0e 0x07 read: 0e 07 00 12 80 00 Got message seqno 7 (command_sequence == 7) response: 12 80 00 JTAG config complete. Preparing the target device for On Chip Debugging. command "set parameter" [0x12, 0x01] 0E 00 08 00 12 01 00 01 21 02 FA 00 Received 0x81 0x11 0x00 0x06 0x0e 0x08 read: 0e 08 00 12 80 00 Got message seqno 8 (command_sequence == 8) response: 12 80 00 jtagRead command "enter progmode" [0x12, 0x15] 0E 00 09 00 12 15 00 Received 0x81 0x11 0x00 0x06 0x0e 0x09 read: 0e 09 00 12 80 00 Got message seqno 9 (command_sequence == 9) response: 12 80 00 command "read memory" [0x12, 0x21] 0E 00 0A 00 12 21 00 B2 00 00 00 00 03 00 00 00 Received 0x81 0x11 0x00 0x0a 0x0e 0x0a read: 0e 0a 00 12 84 00 e2 11 ff 00 Got message seqno 10 (command_sequence == 10) response: 12 84 00 E2 11 FF 00 command "leave progmode" [0x12, 0x16] 0E 00 0B 00 12 16 00 Received 0x81 0x11 0x00 0x06 0x0e 0x0b read: 0e 0b 00 12 80 00 Got message seqno 11 (command_sequence == 11) response: 12 80 00 command "set parameter" [0x12, 0x01] 0E 00 0C 00 12 01 00 03 00 01 00 Received 0x81 0x11 0x00 0x06 0x0e 0x0c read: 0e 0c 00 12 80 00 Got message seqno 12 (command_sequence == 12) response: 12 80 00 command "reset" [0x12, 0x30] 0E 00 0D 00 12 30 00 01 Received 0x81 0x11 0x00 0x06 0x0e 0x0d read: 0e 0d 00 12 80 00 Got message seqno 13 (command_sequence == 13) response: 12 80 00 read: 0e 00 03 00 12 40 00 00 00 00 02 08 00 30 Event serial 0x0003 caching PC: 0x0000 Waiting for connection on port 4242.