Step 9: Adding a 6-Pin ISP

I usually build in a 6-pin ISP header to all of my projects so I can reprogram the chip if necessary and not have to take it off of the project board. The dragon rider sadly doesn't have a 6-pin ISP header available but I did figure out how to make one available.


This is a hack. If you don't know exactly how this works, don't do it

You've been warned.

I've created my own adapter board and 3-pin jumper in order to supply the 6-pin isp header. What you do is set the Dragon Rider up to program and 8-pin microcontroller. Using a 3-pin socket I am jumpering J8 to connect pins 1 and 3. This routes the clock signal to the PortB connector. I then run a jumper cable from the PortB header to my adapter board and voila!

There are pictures below.... please, please, please, don't do this unless you truely understand what you are doing as you could damage your AVR Dragon or worse if you do this wrong.

Pinout: PortB    ISP1        42        13        34        NC5        NC6        57        NC8        NC9        610       2

I just forgot to mention before that I was successfully completed this step (and all steps before this step)of your instructions (I also have few Attiny2313 with wrong fuse settings ).
First of all congratulations on very good instructable (this one and &quot;Assembling the Dragon Rider 500 for use with the AVR Dragon&quot;) which <br>I followed and succesfully completed.I just have small proposition that in this page you can add on the bottom this kind of statement : <br>Configuring for High Voltage programming for Attiny2313 (and other AVR ) are located on Ecros web .For ATtiny2313 -http://www.ecrostech.com/AtmelAvr/DragonRider/ATtiny2313.htm and for other AVR on menu at left side(that information is not included in Dragon rider user guide.pdf).It is much easier and safer than reading and combine instruction for STK500 for HVPP or HVSP.Also I noticed maybe 2 errors in this page (which needs to check) .In Ecros web J6 is not mentioned for HVPP (and when I look in Dragon Rider user guide.pdf in schematic for ATtiny 2313 it is not logical for me that J6 must be connected at pin 1 and 2 for HVPP).Second maybe error is I think typing error in sentence &quot;All other jumpers unconnected (J8-J13, J18, J19, J20, J22-J28, J24) &quot; .At the end of that sentence I think that must be J34 instead J24 because J24 is mentioned in &quot;J22-J28&quot; part of that sentence.
Very cool! Any chance of getting the source? I would like to port/compile to other micros.<br />
&nbsp;I think this is the source package. Good luck.
Excellent! Thanks. /David
What changes would you make if you wanted to use the LCD through PortD on the 2313? PortD has a range of 0-6 and not 0-7. Maybe it is not possible with the dragon rider seeing as Pin 8 on J31 is DB7 on the LCD but there is no Pin 7 on PortD. I'm not quite sure what goes to Pin 8 on J4.
Whenever you want to use an add-on that doesn't fit with the fix 10-pin header just use 2 connector cables and the use wires to "jumper" the correct pins between the two cables. That's kind of tough to explain, does it make any sense?
Ah, yes. I will give that a shot. I'm just trying to get it to work off port D before I throw it all on a breadboard and start playing with my new 4x20 HD44780 display. I wonder why he shifted it up a pin, keeping pin 1 free on the header j31?
I would wager it's because the lower bits on each AVR port generally have an important secondary use. For example, on the ATmega8 PD0 and PD1 are RX and TX for serial communication. It is very common to use both a serial port and an LCD at the same time with these chips. This keeps that option open.
Wow great hack! Can't wait to try it!
When you say you created an adapter, do you mean a programming header that allows you to program chips OFF-BOARD? As in, programming, in-circuit on a protoboard? I'd be very interested ...
Yep, and thanks for getting me on the ball. I've added Step 9 at your request.
I've been looking at the AVR Dragon/Dragon Rider for a few months and then I finally stumbled upon your Instructables. They are an invaluable resource. I assembled my Dragon Rider using your walk-through and aside from an initial problem in AVRStudio it's working great! Thanks!
How hot should my atmega8 get when I switch the dragon rider into the 'on' position? The chip feels excessively warm to me. I can barely hold the back of my finger against it. I am very new to both programming and hardware, so I guess I'm not exactly sure what to expect. Thanks, Brian
That's a VERY bad sign. The chip should not be more than slightly warm to the touch. Shut it down and search for a short in your circuit or in your assembly soldering.
I'm confused. The Dragon Rider user guide states that J11 and J12 should have pins 1 and 2 jumped together yet your instructable states that J11 and J12 should have pins 2 and 3 jumped together. Why is this?
Read this page again. The first bullet point under "Technical Information" covers this.
I see now. Thanks
Great to see all the new information! I've been pondering between getting an STK-500 (Doesn't do ATMega168 or JTAG) or the Dragon/Dragon-Rider combo... I'm a programmer that's never dealt much with the electronic side so this is all really useful. Reading information on AVRFreaks a lot of people seem to "slay their dragon" or fry it. You haven't run into any major problems during your work with the dragon? (Problems such as the issue with the step-up converter on the dragon?) That's one of the set-backs I'm pondering. Being new to both the programming board and piecing together the rider exponentially increases my risk of failure... Do you suggest it? Anyways, hope to see the new Instructable completed!
Hi Maarek,<br/><br/>I have also read about &quot;slaying&quot; the dragon. It seems the problem comes with the step-up converter being touched at the wrong time. I'm not worried about this with the Rider because the dragon is protected from the top, and I have installed a piece of plexi-glass on the bottom for protection as well. This topic is covered more in my Dragon Rider Assembly instructable: <br/><a href="http://www.instructables.com/id/Assembling-the-Dragon-Rider-500-for-use-with-the-A/">http://www.instructables.com/id/Assembling-the-Dragon-Rider-500-for-use-with-the-A/</a><br/>

About This Instructable


23 favorites


More by barney_1: How to Make and Can Concord Grape Jam LED Hanukkah Menorah LED matrix using shift registers
Add instructable to: