avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Re: avarice: JTAG ICE: Cannot synchonise


From: Shaun Jackman
Subject: [avr-gcc-list] Re: avarice: JTAG ICE: Cannot synchonise
Date: Fri, 6 Jul 2007 10:10:18 -0600

Some debug trace info for you. The problem seems to be that the AVR
Dragon sends two packets with a sequence number of 110 in a row, when
avarice is expecting the sequence number 111.

Thanks,
Shaun

command[0x0b, 1]: 0B 01
recv: 0xbf

command[0x0b, 2]: 0B 01
recv: 0x1b
recv: 0x6e
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  80
recv: 0x7e
recv: 0xe1
CRC OK
Got message seqno 110 (command_sequence == 110)
response: 80

command[0x08, 1]: 08
recv: 0x1b
recv: 0x6e
recv: 0x00
recv: 0x01
recv: 0x00
recv: 0x00
recv: 0x00
recv: 0x0e
sDATA: reading 1 bytes
read:  80
recv: 0x7e
recv: 0xe1
CRC OK
Got message seqno 110 (command_sequence == 111)

got wrong sequence number, 110 != 111
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 == 111)

got asynchronous event: 0xe0
recv: 0xbf

command[0x08, 2]: 08
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 == 111)

got asynchronous event: 0xe0
recv: 0xbf

On 7/5/07, Shaun Jackman <address@hidden> wrote:
Reading the contents of flash using debugWire seemed to succeed, but
later failed with `Cannot synchronise'. Any idea why?

AVR Dragon HW 0106 SW 0101 0109
AT90PWM3B

What's the best mailing list for avarice-related questions?

Thanks,
Shaun

$ avarice -gwjusb -B1000 -vf foo.bin
AVaRICE version 2.6.20070222, Jul  5 2007 17:32:54

JTAG config starting.
Found a device: AVRDRAGON
Serial number:  00:a2:00:00:2c:1c
Reported debugWire device ID: 0x9383
Configured for device ID: 0x9383 at90pwm2b
JTAG config complete.
Warning: File format unknown, assuming binary.

Verifying 
FLASH.........................................................................................................

Download complete.
JTAG ICE: Cannot synchronise





reply via email to

[Prev in Thread] Current Thread [Next in Thread]