avrdude uisp hack -- suggestions wanted

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I am hacking avrdude for ADIs microconverter AdUc7x. where is the best place to start? I thought just starting in stk500_private.h and changing the constants.

also looking at a uisp hack too.

thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

> I am hacking avrdude for ADIs microconverter AdUc7x. where is the
> best place to start?

What exactly is that doing?

> I thought just starting in stk500_private.h and changing the
> constants.

That's related to the version 1 of the STK500 protocol. This protocol
is defined by Atmel, so that's nothing you'd want to change. If this
is an independent programmer type, rather clone one of the existing
implementation files, and then modify them.

Btw., in order to avoid duplicate work, better start from the CVS
version rather than 5.3.1 -- the code has been restructured quite a
bit (to the better, I hope).

> also looking at a uisp hack too.

UISP is dead. It has been unmaintained for at least a couple of years
now.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks. i use both avrdude and uisp for the AVR and like them both. the AdUc7x has a windows serial programme, but we all know that's not ideal.

i'm just looking for something to hack as a starting point so as not to sit at the windows box and rant - i use Ubuntu for all my work unless i'm forced to windows. my avr makefiles are all avrdude-centric.

btw, have you ever considered making plugins for avrdude for other µCs? then you could just call it 'THEdude'. i suspect it's been hacked internally for other µCs by others.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sonos wrote:

btw, have you ever considered making plugins for avrdude for other µCs? then you could just call it 'THEdude'. i suspect it's been hacked internally for other µCs by others.

I can't speak for Jörg, but I'm at least listed as a developer on the project (though I haven't done much there in a long time). I think that we've been very much focused on the AVR, and are a bit loyal to Atmel. Adding support for other processors has not really been a focus. Though I wouldn't object to supporting Atmel's AT91 line (ARM).

I actually haven't heard much at all about other people hacking avrdude for other processors. You might be the first that I've heard of.

Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

> the AdUc7x has a windows serial programme

If this is a bit-bang style programmer, you most likely don't have to
modify avrdude's source code, just add a new entry to avrdude.conf.

avrdude is really implemented very AVR-centric. It has been abstracted
a bit over the past years, but I think hacking it for another processor
will be a major task unless that processor uses a very similar ISP scheme
as the AVR uses.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.