hi,
I'm using an AVR Dragon connecting via USB to a mac os (macports version of
avarice). The Dragon connects to a 10-pin header I made that goes to the
TCK/TMS/TDI/TDO/VCC/GND/RESET pins of an atmega32 chip.

I can program the chip using avrdude over the same AVR Dragon and hardware 
setup.

But when I run avarice, it will successfully read the fuses, but then it hangs
after "Enabling on-chip debugging"... after a period of time it says "JTAG ICE:
Cannot synchronise". What am I doing wrong? I've scoured google but come up 
empty

Here's the output. You can see that it properly reads the fuses, and I can
verify that if I change the fuses, it will write them back (setting the OCDEN
fuse). But after writing the fuses, it gets stuck. Doesn't matter if I use the
-R reset option or not.

(I can send the -d detailed output if needed)

thanks in advance
Dann


$ avarice -r --dragon --jtag usb :4242 -R


AVaRICE version 2.10, Feb  4 2011 15:13:01

Defaulting JTAG bitrate to 250 kHz.

JTAG config starting.
Found a device: AVRDRAGON
Serial number:  00:a2:00:01:32:89
Reported JTAG device ID: 0x9502
Configured for device ID: 0x9502 atmega32
JTAG config complete.

Reading Fuse Bytes:
  Extended Fuse byte -> 0xff
      High Fuse byte -> 0x1f
       Low Fuse byte -> 0xff
Preparing the target device for On Chip Debugging.

Disabling lock bits:
  LockBits -> 0xff

Enabling on-chip debugging:
  Extended Fuse byte -> 0xff
      High Fuse byte -> 0x1f
       Low Fuse byte -> 0xff
JTAG ICE: Cannot synchronise



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to