Pages: [1]   Go Down
Author Topic: Parallel Programmer  (Read 2546 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently burned out the ATMEGA168-20PU on my Arduino Diecimila. I have purchased a new chip, and I am now trying to make a Parallel Programmer to burn the bootloader.

When I use the Arduino IDE's menu option "Burn Bootloader > W/Parallel Programmer," I get the following error.
Quote
avrdude: can't open device "giveio"

avrdude: failed to open parallel port "lpt1"
This suggests that I need to install giveio, which I am unable to do. I have spend hours researching this issue, and I have tried the installer on MIT's website, as well as others, and I cannot make them work. I have copied giveio.sys to "C:\Windows\System32\drivers", and I think that I have installed it, but I am unable to run it. Would someone be willing to walk me through the giveio installation process?

Thanks.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8685
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Perhaps 'giveio' is failing to open BECAUSE the parallel port won't open.  Perhaps your parallel port is not set up correctly?
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the speedy reply!

Are you saying that the error that I am encountering (avrdude: can't open device "giveio") could be caused by my failing to plug in my Arduino board properly?
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8685
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I was thinking that it was more likely that the parallel port on your PC was not set up correctly.   It could be shut off in firmware or in the wrong 'mode'.: http://computer.howstuffworks.com/parallel-port2.htm , or maybe it was assigned a name other than LPT1.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using Windows 7. How do I change the name of the port?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In my device manager, there is an entry reading "Printer Port (LPT1)," and so I think that is not the problem.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8685
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I've run out of ideas.  Fortunately Google found some ideas for me over at AVR Freaks:

Quote
If you run \winavr\bin\avrdude-gui.exe then look to the top right for buttons to install giveio.sys or to check the status of the driver (whether it is successfully installed already and running).
or
Quote
All you need is to copy giveio.sys to c:/windows/system32 and then run cmd in admin mode from the cmd run install_giveio.bat that is located in your Winavr/bin  and its all!!
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't be too surprised or disappointed if you can't get a parallel programmer to function with the arduino. Many have failed (I among them) while a few have reported success. Problems can be PC software based, port hardware problems and the phase of the moon, and of course a combination of all those things. Parallel programmers are very finicky at best in my opinion.

Now a days there are better choices avalible. One path is to just load a arduino-as-ISP sketch into an arduino board that allows it to become a ISP programmer. Or obtain one of the inexpensive hardware programmers that the arduino IDE knows how to work with:

http://www.sparkfun.com/products/9825

http://www.adafruit.com/products/46

I love my adafruit USBtiny!





Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I go and buy a Pocket AVR Programmer, I will not have any trouble programming my ATMEGA chip? I dislike buying things and then finding out I cannot use them.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I've run out of ideas.  Fortunately Google found some ideas for me over at AVR Freaks:

Quote
If you run \winavr\bin\avrdude-gui.exe then look to the top right for buttons to install giveio.sys or to check the status of the driver (whether it is successfully installed already and running).
or
Quote
All you need is to copy giveio.sys to c:/windows/system32 and then run cmd in admin mode from the cmd run install_giveio.bat that is located in your Winavr/bin  and its all!!


Thanks for those suggestions, but neither of those work for me. I have no "avrdude-gui.exe" anywhere, and "install_giveio.bat" says "This driver has been blocked from loading...installation of giveio failed"
Logged

Pages: [1]   Go Up
Jump to: