avarice -d -2 -j usb :4242 AVaRICE version 2.9, Jan 7 2010 22:42:57 Defaulting JTAG bitrate to 250 kHz. Found JTAG ICE, serno: 00A000404365 JTAG config starting. Attempting synchronisation at bitrate 19200 command[0x01, 1]: 01 recv: 0x1b recv: 0x00 recv: 0x00 recv: 0x1c recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 28 bytes read: 86 01 ff 19 07 01 ff 19 07 01 00 a0 00 40 43 65 4a 54 41 47 49 43 45 6d 6 b 49 49 00 recv: 0x8f recv: 0x6c CRC OK Got message seqno 0 (command_sequence == 0) response: 86 01 FF 19 07 01 FF 19 07 01 00 A0 00 40 43 65 4A 54 41 47 49 43 45 6 D 6B 49 49 00 Found a device: JTAGICEmkII Serial number: 00:a0:00:40:43:65 JTAG ICE mkII sign-on message: Communications protocol version: 1 M_MCU: boot-loader FW version: 255 firmware version: 7.25 hardware version: 1 S_MCU: boot-loader FW version: 255 firmware version: 7.25 hardware version: 1 command[0x02, 1]: 02 03 01 recv: 0x1b recv: 0x01 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0xcd recv: 0x83 CRC OK Got message seqno 1 (command_sequence == 1) response: 80 command[0x0a, 1]: 0A 01 recv: 0x1b recv: 0x02 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0x1d recv: 0x09 CRC OK Got message seqno 2 (command_sequence == 2) response: 80 Automatic device detection: command[0x03, 1]: 03 0E recv: 0x1b recv: 0xff recv: 0xff recv: 0x06 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 6 bytes read: e0 ff 3f 00 00 00 recv: 0x1f recv: 0x26 CRC OK Got message seqno 65535 (command_sequence == 3) got asynchronous event: 0xe0 recv: 0x1b recv: 0x03 recv: 0x00 recv: 0x05 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 5 bytes read: 81 3f 80 50 09 recv: 0x6c recv: 0x56 CRC OK Got message seqno 3 (command_sequence == 3) response: 81 3F 80 50 09 JTAG id = 0x950803F : Ver = 0x0 : Device = 0x9508 : Manuf = 0x1f Reported JTAG device ID: 0x9508 Configured for device ID: 0x9508 atmega324p command[0x0c, 1]: 0C FF 0F E0 F8 FF 3D B9 E8 00 00 00 00 01 00 00 00 B6 0D 00 E0 FF 1D B8 E8 00 00 00 00 01 00 00 00 53 FB 09 DF F3 0F 00 00 00 00 5F 3F 37 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 51 FB 09 D8 F3 0F 00 00 00 00 5F 2F 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 31 57 3B 80 00 04 00 3F 00 00 C6 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3E 3D 00 01 00 00 00 0 0 00 01 00 00 01 00 00 00 00 1F 00 recv: 0x1b recv: 0x04 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0xac recv: 0x14 CRC OK Got message seqno 4 (command_sequence == 4) response: 80 JTAG config complete. Preparing the target device for On Chip Debugging. command[0x02, 1]: 02 07 15 recv: 0x1b recv: 0x05 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0x13 recv: 0x95 CRC OK Got message seqno 5 (command_sequence == 5) response: 80 command[0x14, 1]: 14 recv: 0x1b recv: 0x06 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: 80 recv: 0xc3 recv: 0x1f CRC OK Got message seqno 6 (command_sequence == 6) response: 80 jtagRead command[0x05, 1]: 05 B3 01 00 00 00 00 00 00 00 recv: 0x1b recv: 0x07 recv: 0x00 recv: 0x02 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 2 bytes read: 82 80 recv: 0xa3 recv: 0xa6 CRC OK Got message seqno 7 (command_sequence == 7) response: 82 80 jtagWrite command[0x04, 1]: 04 B3 01 00 00 00 00 00 00 00 FF recv: 0x1b recv: 0x08 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: a0 recv: 0xcc recv: 0x0e CRC OK Got message seqno 8 (command_sequence == 8) response: A0 Failed to write target memory space