avrdude can't access lpt1

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

Hello,

I reinstalled WinXP and all my software on my laptop because it became very slow. Now I have installed WinAVR-20060421 and tested to access an ATtiny13 via my pony-stk200 programmer. However, when I run avrdude I always get the following output:

avrdude -p attiny13 -P lpt1 -c pony-stk200 -q -U lfuse:r:-:r -U hfuse:r:-:r | od -t x1
avrdude: can't open device "giveio"

avrdude: failed to open parallel port "lpt1"

Does anybody know what went wrong?
I never had that problem before, I exchanged the 74HC244 on the pony-stk200 but it didn't help.

Many thanks for any suggestion!

Regards
Sebastian

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

giveio.sys not installed / not running.

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

dl8dtl wrote:
giveio.sys not installed / not running.

That's obvious.
Do you know how to install giveio.sys?
It isn't part of WinAVR, right?

Regards
Sebastian

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

If you run \winavr\bin\avrdude-gui.exe then look to the top right for buttons to istall giveio.sys or to check the status of the driver (whether it is successfully installed already and running)

Cliff

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

Great!
Many thanks for your superious fast help!!!

Regards
Sebastian

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

Can ny1 help me set my parallel port.I did exactly what has been told in the earlier posts but am getting errors.The exact msgs are written below.Plz reply soon!

copying the driver to the windows directory
Target file:F:\WINDOws\giveio.sys
1 file(s) copied.
Remove a running service if needed...
Installing Windows NT/2k/XP driver:giveio
Installing giveio from F:\WINDOws\giveio.sys...install failed(status 6):
The handle is invalid.

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

I get this error when running the installer. Other forum threads say this error may be because my machine (win 7 64bit) is not compatible with giveio.

C:\WinAVR-20100110\bin>install_giveio.bat
Copying the driver to the windows directory
target file: C:\Windows\giveio.sys
        1 file(s) copied.
Remove a running service if needed...
Installing Windows NT/2k/XP driver: giveio
installing giveio from C:\Windows\giveio.sys... ok.
starting giveio... start failed (status 1275):
This driver has been blocked from loading

I cant find any solutions to this problem online.

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

Does your win 7 64-bit actually have a DB25 socket for an LPT port?

If not, there is little point in bothering.

Unless you have some particular expensive device that needs LPT port, it is easier to buy a USB version.

Note that 99% of USB->DB25 cables only work with printers. And are very expensive!

David.

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

thanks alot (again) cliff

 

I was resurrecting my XP on a new HD...... (want to continue using it for atmega dev)  found this historic note....

 

this thread:   a slight difference ;

in my distribution of winavr the script file "install_giveio" is on the same directory (/bin) , click it (run it) and then

avrdude is up again

 

many thanks

/g