avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] alf programmer -- inverted outputs


From: Roeland Moors
Subject: Re: [avrdude-dev] alf programmer -- inverted outputs
Date: Thu, 26 Aug 2004 12:49:39 +0200
User-agent: Mutt/1.5.6+20040722i

On Thu, Aug 26, 2004 at 12:14:14PM +0200, Jan-Hinnerk Reichert wrote:
> On Monday 23 August 2004 17:23, Roeland Moors wrote:
> > I made a programmer like the schematic included in the source.
> > But instead of using the 74367 I used the 74368. This means that
> > the ouputs are inverted. Is it possible to define this in
> > avrdude.conf?
> > If not, would this be hard to program?
> 
> Hi Roeland,
> 
> right now it is not possible to define it in the config.
> 
> It should not be too hard to implement, but there are a few pitfalls 
> when it comes to negated OE-lines or even VCC-lines. IMHO, it would 
> be best to cleanup the related code before doing any changes. I will 
> take a closer look at the problem this weekend.
> 
> QUICK FIX: If you can compile the sources, you can alter the struct 
> "pins[]" in "par.c"; the last number in each line tells if a pin is 
> negated. Naturally, this patched versions won't work with normal 
> programmers. Additionally, you might need to specify "-E reset", if 
> your reset signal becomes inverted.
> 

Thanks, this is an easy fix.
I could just change the hardware, but software is easier to
change :-)

-- 
Roeland




reply via email to

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