DPRG
DPRG List  



[DPRG] Atmel Debug-Wire -- any Successes?

Subject: [DPRG] Atmel Debug-Wire -- any Successes?
From: larry barello lbarello at barello.net
Date: Mon Mar 12 08:50:34 CDT 2007

I used the debug-wire/dragon with an m88 successfully.  It took some getting
used to switching between debug wire and ISP mode. I think the reason I did
that was once the basic framework was working I switched to ISP and
burn-n-churn rather than emulation but had to drop back into DB mode every
so often.

One of my boards took a hit (I assume) and the ISP interface doesn't work -
it is stuck in DW mode permanently.

The other thing that was annoying is that avrdragon.exe couldn't just put
the target into ISP mode and program the unit.  I had to specify which mode
it was in PRIOR to programming.  A small thing, but stupid in that I had to
track which board (I had a half dozen targets) was in DB mode and do special
magic before being able to update.

Once through the rough edges, however, the system worked tolerably smoothly.


Cheers!
 

-----Original Message-----
From: dprglist-bounces at dprg.org [mailto:dprglist-bounces at dprg.org] On Behalf
Of Kipton Moravec
Sent: Sunday, March 11, 2007 6:43 PM
To: dprglist
Subject: [DPRG] Atmel Debug-Wire -- any Successes?

I designed a project using an Atmel AtTiny13, and I am having more
problems with that chip than I ever had. 

This is my first time trying an Atmel AVR that uses Debug-Wire. Normally
I use JTAG and have not had a problem.

But the smaller chips have gone to Debug-Wire, and I can not get it to
work reliably. The biggest problem is going from SPI mode into
Debug-Wire mode. Once there I can not get out of Debug-wire mode. If
anything happens then the chip is dead unless I go into high voltage
programming mode to reprogram the fuses. I can not get out of Debug-Wire
mode, or get back in if something crashes.

I had Ivan Zellner from Atmel over on Wednesday, I went to his office on
Thursday, and he was over again on Friday. We got a thruhole Tiny13
working on the SDK500, and debugged it with the Dragon. But still had
problems getting in and out of debug mode and ended up having to rewire
the jumpers to put it in high Voltage programming mode to get back
control of the processor.  Now I reset it in HV mode and can not get it
to talk to the Dragon at all.

My prototype board uses a surface mount Tiny13, and the circuitry is
setup for 3.3v, and HV programming mode will kill the power supply.

Has anyone had this problem with the Atmel Debug-Wire?

Is this just a problem with the Tiny13, or Debug-Wire in general?

Do other 8 pin chips work better with Debug-Wire? I think the Tiny13 was
the first one with Debug-Wire, are later ones better?

Kip


_______________________________________________
DPRGlist mailing list
DPRGlist at dprg.org
http://list.dprg.org/mailman/listinfo/dprglist

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net