avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] AVR-DUDE parallel port options not working


From: Dennis Clark
Subject: Re: [avrdude-dev] AVR-DUDE parallel port options not working
Date: Thu, 31 Mar 2005 09:34:28 -0800
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

All,

  It appears that setting it to LPt3 is the answer.  On the W2K box this
worked fine (Thinkpad A20m).  On the W98 laptop it would work once, then
the parallel port would be locked and I'd have to go into the device
manager to "twiddle" it back alive (Thinkpad 600E).

Thanks guys, you've found the answer!

DLC

Alex Shepherd wrote:
Alex,

How would I know if the port address was standard or not? If not, how can I tell AVR-DUDE what it really is? I do know (from other parallel port programmers) that my LPT1 port is 0x3BC.


That sounds like a standard port address.

I just had a look in the AVRDude user manual PDF that is in the WinAVR doc
directory and the problem you may have is that you may need to specify the
parallel port to by LPT3. Here is the segment from the manual found in:

C:\WinAVR\doc\avrdude-4.4.0\avrdude.pdf

----------------------
A.2.3.2 Parallel Ports
AVRDUDE will only accept 3 Windows parallel port names: lpt1, lpt2, or lpt3.
Each of
these names corresponds to a fixed parallel port base address:
lpt1 0x378
lpt2 0x278
lpt3 0x3BC
On your desktop PC, lpt1 will be the most common choice. If you are using a
laptop,
you might have to use lpt3 instead of lpt1. Select the name of the port the
corresponds to
the base address of the parallel port that you want.
----------------------

I just checked the source code and the LPT port addresses and names are hard
coded. Hopefully specifying LPT3 will fix your problem. Note the you can
also specify the port address in the avrdude.conf file that should be in the
C:\WinAVR\bin directory.


Since this is a Thinkpad A20M, a laptop, perhaps it is a bit different from a desktop unit. But I've found other parallel port programmers that were VERY picky work fine on it.


Yeah, they used to be but an IBM should be pretty good.

Try the different port using the "-P lpt3 option



_______________________________________________
avrdude-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avrdude-dev


--
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------




reply via email to

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