ISP header - What´s needed ?

Hello everyone,

Im trying to record the bootloader/sketches on the Atmega8 and Atmega168 doing:

Assembly of Arduino on the protoboard like explained here: http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard but without the Sparkfun USB adapter.
After having the Arduino as described and working Im adding an ISP header as follow:

Considering the order of the ISP pins like in this image: http://www.minasambiente.com.br/uns/isp.jpg Im wiring:

ISP HEADER | Atmega PIN

1 ----------| Pin # 18 (PB4 - MISO)

2 ----------| Pin # 19 (PB5 - SCK)

3 ----------| Pin # 1 (RESET - PC6)

4 ----------| NOT WIRED

5 ----------| PIN # 17 (PB3 - MOSI/OC2)

6 ----------| GROUND


And well, it´s not working. What bugs me is that im pretty sure I was able to record trought ISP in the past using the same scheme, altought not on Atmega168 but only on Atmega8.

If it worked at some extend in the past but dont right now so I think dont have the best setup for this task.

Any clue what´s the right way to do it? Considering it´s intented to be used only by the parallel programmer http://www.arduino.cc/en/Hacking/ParallelProgrammer

My final task is to design some PCB for arduino, smaller as possible but with an ISP header for the parallel programmer.

I will apreciate any help.. and sorry if english is not the best here, it´s not my native language.

Regards,

Rodrigo

Not sure what your problem might be. The connections you show seem OK by your definition of pin numbers, however typically IDC (Insulation Displacement Connector) type pins use a different pattern of numbering the pins, cross ways rather then vertically. Study this schematic of a older Arduino board around the 6 pin ICSP connector and you will see the standard pattern of pin numbering.

Ok retrofly, thanks for the information. I wasnt aware about this IDC standard, checked on the Arduino Severino schematics and good to know the right way to name those pins.

Well, yesterday i tried a lot of times without success and using the pin assignments i show on my diagram... amazingly it worked today for Atmega8 and 168... It´s clear to me that I was doing some dumb mistake repeatidly but believing it was right... the motivation for this post.

Sorry for this waste of post and thanks for the help :stuck_out_tongue:

Salute,

Rodrigo

No waste of post, the forum is for sharing successes AND frustrations. It's part of the fun. :wink:

Lefty