Hi all,
I can read/write my chip via avrdude, but the same configuration cannot 
be handled by avarice.

/usr/bin/avrdude -F -c jtag2isp -P usb -B 10 -b 115200 -p usb162 -U 
flash:r:/dev/tty:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.15s

avrdude: Device signature = 0x1e9482
avrdude: reading flash memory:

Reading | ################################################## | 100% 10.71s

avrdude: writing output file "/dev/tty"
:200000000C94A6000C94B8000C94B8000C94B8000C94B8000C94B8000C94B8000C94B80032
:200020000C94B8000C94B8000C94B8000C94D1030C9408040C94B8000C94B8000C94B80090
...
:200F600040EA56E861E070E049835A836B837C835A9A0BC089819A81AB81BC810197A10953
:200F8000B10989839A83AB83BC8389819A81AB81BC81892B8A2B8B2B39F3ECCFF894FFCF13
:200FA0000000000000010001000100010064640000000000000000E803E803E803E8038D2C
:0A0FC000058D058D058D050000006C
:00000001FF

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

-------------------------------------------------------------------------------------------------------------------------------------------------
Then - without changing anything - I try avarice:
-------------------------------------------------------------------------------------------------------------------------------------------------
avarice -d -2 -r -P at90usb162 -j usb
AVaRICE version 2.11, Jan 12 2013 23:42:03

Defaulting JTAG bitrate to 250 kHz.

Found JTAG ICE, serno: 00B0000024CF
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 06 06 00 ff 06 06 01 00 b0 00 00 24 cf 4a 54 41 47 49 43 
45 6d 6b 49 49 00
recv: 0xef
recv: 0x11
CRC OK
Got message seqno 0 (command_sequence == 0)
response: 86 01 FF 06 06 00 FF 06 06 01 00 B0 00 00 24 CF 4A 54 41 47 49 
43 45 6D 6B 49 49 00
Found a device: JTAGICEmkII
Serial number:  00:b0:00:00:24:cf
JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
   boot-loader FW version:        255
   firmware version:              6.06
   hardware version:              0
S_MCU:
   boot-loader FW version:        255
   firmware version:              6.06
   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 00 00 00 00 00
recv: 0x4e
recv: 0x2d
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 ff ff ff ff
recv: 0x24
recv: 0x19
CRC OK
Got message seqno 3 (command_sequence == 3)
response: 81 FF FF FF FF
JTAG id = 0xFFFFFFFF : Ver = 0xf : Device = 0xffff : Manuf = 0x7ff
Reported JTAG device ID: 0xFFFF
Looking for device: at90usb162
Configured for device ID: 0x9482 at90usb162 -- FORCED with at90usb162

command[0x0c, 1]: 0C F8 0F 60 F8 FF 3F B9 F0 00 00 00 00 00 00 00 00 B0 
0D 00 E0 FF 1F B8 F0 00 00 00 00 00 00 00 00 7F DF 00 00 F7 3F 00 00 00 
00 00 00 00 3F 07 01 7F FF 15 0C 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 00 00 00 00 00 34 
DF 00 C8 F7 3F 40 00 00 00 00 00 00 7F 03 01 0F 7F 11 0C 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 00 00 00 00 00 00 00 3B 80 00 04 00 1F 00 00 FB 00 00 40 00 00 BD 
F2 BD E1 BB CF B4 00 BE 01 B6 01 BC 00 BB BF 99 F9 BB AF B6 01 11 3E 3D 
80 00 31 00 00 00 1F 01 00 00 01 00 00 00 3C 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.

command[0x14, 1]: 14
recv: 0x1b
recv: 0x05
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xd0
recv: 0x29
CRC OK
Got message seqno 5 (command_sequence == 5)
response: A9

command[0x14, 2]: 14
recv: 0x1b
recv: 0x06
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0x00
recv: 0xa3
CRC OK
Got message seqno 6 (command_sequence == 6)
response: A9

command[0x14, 3]: 14
recv: 0x1b
recv: 0x07
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xbf
recv: 0x22
CRC OK
Got message seqno 7 (command_sequence == 7)
response: A9

command[0x14, 4]: 14
recv: 0x1b
recv: 0x08
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0x0d
recv: 0x93
CRC OK
Got message seqno 8 (command_sequence == 8)
response: A9

command[0x14, 5]: 14
recv: 0x1b
recv: 0x09
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xb2
recv: 0x12
CRC OK
Got message seqno 9 (command_sequence == 9)
response: A9

command[0x14, 6]: 14
recv: 0x1b
recv: 0x0a
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0x62
recv: 0x98
CRC OK
Got message seqno 10 (command_sequence == 10)
response: A9

command[0x14, 7]: 14
recv: 0x1b
recv: 0x0b
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xdd
recv: 0x19
CRC OK
Got message seqno 11 (command_sequence == 11)
response: A9

command[0x14, 8]: 14
recv: 0x1b
recv: 0x0c
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xd3
recv: 0x85
CRC OK
Got message seqno 12 (command_sequence == 12)
response: A9

command[0x14, 9]: 14
recv: 0x1b
recv: 0x0d
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0x6c
recv: 0x04
CRC OK
Got message seqno 13 (command_sequence == 13)
response: A9

command[0x14, 10]: 14
recv: 0x1b
recv: 0x0e
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  a9
recv: 0xbc
recv: 0x8e
CRC OK
Got message seqno 14 (command_sequence == 14)
response: A9
JTAG ICE: Cannot synchronise


Adjacent info: If I want to use avrdude reading again, I have to 
disconnect/reconnect my MKII.
Any idea?
Steve





------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
avarice-user mailing list
avarice-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to