avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [patch #3092] support for bidirectional printer ports, in


From: anonymous
Subject: [avrdude-dev] [patch #3092] support for bidirectional printer ports, including exit codes
Date: Tue, 25 May 2004 20:27:57 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; YComp 5.0.2.4)

This mail is an automated notification from the patch tracker
 of the project: AVR Downloader/UploaDEr.




/**************************************************************************/
[patch #3092] Full Item Snapshot:

URL: <http://savannah.nongnu.org/patch/?func=detailitem&item_id=3092>
Project: AVR Downloader/UploaDEr
Submitted by: 0
On: Tue 05/25/04 at 19:59

Category:  None
Priority:  7 - High
Resolution:  None
Assigned to:  None
Originator Email:  address@hidden
Status:  Open


Summary:  support for bidirectional printer ports, including exit codes

Original Submission:  Hello,

the attached patch is built against CVS sources from today
and adds enhanced functionality in respect to 
bidirectional printer ports to avrdude.

the code explicitely programs  the PPI-Databits 
direction to output on interface opening.

it further extends the commandline option 
"-E" for exit state specification
so that "bidirinput" and "bidiroutput"
can be specified and gets carried out.

furthermore all PPI related code got moved to the ppi source file 
that was explicitely marked as a TODO in main.c of the sources.
this means code is much more modularized now.

as a final cosmetic change, the ppi headers not only do define 
the parport register offsets but do define the register bits via an enum.
this is nicely used in the pin number to register and bitmask table 
in par.c source file thus making it much more human readable.

okay, its a medium size patch, but it all looked reasonable to me
to perform all those changes in a single pass rather than iteraring.

-Alex.

PS: i have the atmega128 development board.
i used the well known "avrdude-simple/bsd/Alf" wiring sheme
for my parport programmer cable sheme and it nearly worked.
just for the SCK i needed a serial 100 Ohms resistor 
for decoupling in normal operation (e.g. with SD card) 
because the parpaort drove some 0.2 mA trough the pull up resistor 
R12 (10 kOhms) on the development board.
this was meaning a nonacceptable voltage drop of about 2 V for high level.






File Attachments
-------------------

-------------------------------------------------------
Date: Tue 05/25/04 at 19:59  Name: avrdude-bidir.diff.bz2  Size: 2KB   By: None
unified diff
http://savannah.nongnu.org/patch/download.php?item_id=3092&amp;item_file_id=3304






For detailed info, follow this link:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3092>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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