[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] JTAG ICE mkI support added
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] JTAG ICE mkI support added |
Date: |
Mon, 28 Nov 2005 21:48:51 +0100 |
User-agent: |
Mutt/1.4.2.1i |
As Brian Dean wrote:
> Avrdude cannot seem to initialize the JTAGICE from a cold power-on.
> Here's what I get when attempting to access it from a power-on reset
> of the JTAGICE:
> But if I first access it with my old copy of avarice, that works OK.
> Then if I use avrdude, it works with the device as normal. ...
Sigh.
See this comment in AVaRICEs source code:
// 'S ' works if this is the first string sent after power up.
// But if another char is sent, the JTAG seems to go in to some
// internal mode. 'SE ' takes it out of there, apparently (sometimes
// 'E ' is enough, but not always...)
sendJtagCommand((uchar *)"SE ", 4, &tries);
I've added something similar to the sync logic in avrdude now. I hope
that gets you running as well. I can definately see differences on my
clone after a powerup, too, although the effect was not fatal here but
I've got the wrong response to the hard/software version inquiry.
This is gone now with the changed code, so I hope it'll also fix your
problems.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)