Pages: [1]   Go Down
Author Topic: Parallel Port Programmer......HELP  (Read 1404 times)
0 Members and 1 Guest are viewing this topic.
Venezuela
Offline Offline
Jr. Member
**
Karma: 2
Posts: 74
The less You explain, the more I understand
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).





Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 180
Posts: 8081
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Venezuela
Offline Offline
Jr. Member
**
Karma: 2
Posts: 74
The less You explain, the more I understand
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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.
ARDUINO PROJECT

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:
Software
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:
 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Parport\Parameters]
"DisableWarmPoll"=dword:00000001
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?
Logged

Pages: [1]   Go Up
Jump to: