SparkFun Forums 

Where electronics enthusiasts find answers.

Questions relating to designing PCBs
By smdFan
#49219
Hi there,

Is the following connection correct?

I want to be able to program an AVR using Atmel's ISP Programmer. I intend to connect the ISP programmer to the 10 PIN header (see diagram) and then download the program to AVR.

Is the following connections are correct?

What should I do with unused pins of the header? I selected the 10 pin header because it fits ISP program cable.

Regards

http://good-times.webshots.com/photo/25 ... 6363SNzmVR
By wiml
#49235
The programmer's ground needs to be connected with the µC's ground. But it's OK if that happens through a separate connector.
User avatar
By bigglez
#49236
Greetings (No First Name Supplied),
smdFan wrote:I want to be able to program an AVR using Atmel's ISP Programmer. I intend to connect the ISP programmer to the 10 PIN header (see diagram) and then download the program to AVR.

Is(sic) the following connections are correct?

What should I do with unused pins of the header? I selected the 10 pin header because it fits ISP program cable.
Atmel has two different standards for their ISP connectors,
the 10pin is older and obsolete, replaced by the 6pin. Only
older tools (ISP mkI and STK500) use the 10pin.

You can also make a "dongle" with both 6pin and 10pin
headers, and switch from one to the other if needed.

Either way, you should provide both a ground and a target
5V connection to the ISP.

Here is a useful link to all ISP and JTAG formats

BTW, I found the MkII ISP from Atmel to have sensitivity
to noise on the target's power supply. This causes annoying
reboots of the ISP. (I did not have this issue with the MkI).

To solve it I added a 10K resistor and 10uF capacitor at
the ISP header (for the target's power supply). You may
not need it, so leave the cap off and bridge the resistor,
but if you do need it the PCB pads will be there.

Comments Welcome!
By smdFan
#49255
Thanks a lot for responses.

I made another diagram (see link below). I would like your input about it now.


1. Should the Vcc of header pin be connected to the same Vcc that is connected to AVR?

2. Should the GND of header pin be connected to the same GND that is connected to AVR?


Thanks a lot for the informatin.


Peter,
I did not know that Atmel has a new ISP programmer out. I noticed that along with 6 pin header it also has USB connecter. I think I will buy one. Thanks

Regards



http://good-times.webshots.com/photo/29 ... 6363kFsaJy



.
User avatar
By bigglez
#49313
Greetings (Still No First Name),
smdFan wrote:1. Should the Vcc of header pin be connected to the same Vcc that is connected to AVR?

2. Should the GND of header pin be connected to the same GND that is connected to AVR?
Here's my AVRISP mk.II interface circuit:
Image

What is your first name?

Comments Welcome!
By smdFan
#49415
bigglez wrote:Greetings (Still No First Name),
smdFan wrote:1. Should the Vcc of header pin be connected to the same Vcc that is connected to AVR?

2. Should the GND of header pin be connected to the same GND that is connected to AVR?
Here's my AVRISP mk.II interface circuit:
Image

What is your first name?

Comments Welcome!
Peter,
Thanks a lot for your help. Indeed a picture speaks louder that a thousand word. My first name is Barry. But I prefer smdFan better around here. Thanks for all your help.

Regards,

smdFan
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]