Friday, February 4, 2011

We found this awesome cheap technique to convert you PC Hard Disk port into Parallel Port and then use it as STK200 for programming AVR. This is made possible in Linux - well the hacker's friend.

This implementation uses a few NOR gates, Transparent Latch and a Tristate Buffer. Here is picture of the Implementation circuit.
Courtesy: ircjunk
The configuration of the programmer is such that you can have it as a Slave or a Master and configure it depending on that. All it needs is a simple remapping of the PC parallel port kernel driver in linux.
Here are the ATA port address:
0x1F0 - Primary Master ( Not preferred since you might have your HDD attached here)
0x3F6 - Primary Slave
0x170 - Secondary Master
0x378 - Secondary Slave

Then in linux its just a sequence of commands:
rmmod partport_pc
modprobe parport_pc io=0x170 irq=none,none,none
(For location of the programmer on the Secondary Master port 0x170)
Linux doesn't like this might throw up some error messages.

Thats all your port is now remapped and the simple AVRdude command works:
avrdude -p m32 -U lfuse:w:0xe2:m -U hfuse:w:0xd8:m

To find more read the following links:

Here is a picture of the Finished build real close:
Courtesy: ircjunk
We congratulate Rue on this innovative creation.

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to Boseji's Blog

Popular Post

Blogger templates


Creation by Electronics Hobbyists from Bharat(India) to encourage & help people. This blog hosts the numerous innovations, discoveries and projects we provide.
Our Research Wing Adhar Labs
Contact Form | Email Address
We Support Open Source Hardware Definition v1.0
Creative Commons License
All works on this blog are licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at and

Permissions beyond the scope of this license may be available at
Thank you for all your support.

© A.D.H.A.R Labs Research 2008-2013 . Powered by Blogger.

Follow by Email


PCB Unit Converter


- Copyright © Electronics for Bharat -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -