Go Down

Topic: Parallel Port Programmer......HELP (Read 3769 times) previous topic - next topic


I built my parallel port cable, I am bulding my breadboard Arduino and I am about to interconnect. The instructions clearly state:

Solder, in order, the three wires of one of the cables to the resistor on pin 11 (which goes to pin 18 on the Atmega8), to the resistor on pin 1 (which goes to pin 19 on the Atmega8), and directly to pin 16 (which goes to the reset, pin 1).

Pin19 is supposed to be Digital I/O 13 which connects to the LED.
Is this correct? If not, what is? Thanks, Alberto.

Solder the middle wire of the second cable to the resistor on pin 2 (which goes to pin 17 on the Atmega8), and one of the other wires to pin 18 (which goes to ground). (The third wire is not used and may be cut short).


That is correct.  You have to get used to the AVR chip using a single pin for multiple uses.  For example the Arduino's "analog input" pins can also be used as Digital I/O pins.

In-system Serial Programming uses the SPI interface:

Pin 16: SS:      Slave Select (not used for ISP)
Pin 17: MOSI:  Master-Output/Slave Input
Pin 18: MISO:  Master Input/Slave Output
Pin 19: SCK:   SPI Clock
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp
See who has no social life: https://forum.arduino.cc/index.php?action=stats :)


OK johnwasser. Thanks,I understand I/O pins. I have followed the tutorials but this morning a question popped up. Can the ATMega comunícate with my CPU even with the Tx and Rx lines ( pins 2 and 3 ) floating?
I know that these are SERIAL comm. And I¨m connecting to a parallel port.

This Is what I´ve done.
Made my Parallel Port Connector:

DB25               DB5 ( I cut the row of 4 pins from a DB9 )

Pin 1      through a 470R   Pin 19 of ATMega
Pin2      through a 470R   Pin 17
Pin11      through a 220R   Pin 18
Pin 16            Pin1
Pin18               Gnd Pin8

Downloaded and installed Arduino-0020

( 0020 because AVR-developers says " based on Version 0020 core files )
I can Only get an ATMega88V!
Built my Arduino breadboard with an ATMega88V.
The list states ATMega88P, but the Only difference is Speed.
I´m using an 8Mhz crystal.

Downloaded, decompressed "Arduino-extras" from AVR-developers,
Added to Hardware folder in Arduino 0020. I can see it.
( Although I can´t see anything about ATMega88! )

Did this:
You'll need to download giveio from MIT's Microcomputer Project Laboratory (thanks Jim!) and run the enclosed ginstall.bat file.

I installed this patch to make sure:
It still doesn't work! (parallel programmer on Windows XP)
Windows XP may be polling your parallel port and disrupting the bootloader burning process. You'll need this registry patch:

When I run Arduino, select TOOLS, SERIAL PORT, COM1?, no other option!
Burn Bootloader, w/parallel programmer, I get an error message:

Error while burning bootloader   
AVR device not responding.
Initialation failed
Invalid device signature
Expected signature for ATMega8
And others

What´s wrong?
Can somebody write a complete, and short, tutorial for those who NEED to use a parallel port programmer?

Go Up