Problem building ICSP programmer

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Intense
 
Posts: 8
Joined: Fri Jul 10, 2009 10:17 am

Problem building ICSP programmer

Post by Intense »

Hi Everybody!!! I've built one ICSP programmer using parallel port. The scheme is in the next link, but changing the ISP (10 pins) connector with an ICSP (6 pins) for the arduino:

http://wiredworld.tripod.com/tronics/atmel_isp.html

The pinout for the ICSP connector is:

1 -> MISO
2 -> VCC
3 -> SCK
4 -> MOSI
5 -> RST
6 -> GND

Now the problem is that I can't use it with any software: With the ponyprog, the setup is "AVR isp I/O" using parallel port and LPT1, calibrating and selecting device as Atmega168, all is right but trying to any command the answer of the programm is "Device missing or unknown device (-24)".
With the AVRdude using the command "avrdude -p m168 -P LPT1 -c pony-stk200 -U lfuse:w:0xf2:m" (I tried with more programmers) the answer is "can't open device "giveio"" "failed to open parallel port "LPT1"".
With the AVRStudio there's no way on connecting to the programmer....
With the CodevisionAVR has another communicating error...

I don't know what more to do... Any idea?? Is the led on pin 13??

Thank you!!

Intense
 
Posts: 8
Joined: Fri Jul 10, 2009 10:17 am

Re: Problem building ICSP programmer

Post by Intense »

I think I can do it using bitbang mode, I have an XBee programmer board that has bitbang mode and I'm going to try it (freeduino doesn't have bitbang pins!!!!)

Greetings!!

User avatar
toddfun
 
Posts: 37
Joined: Sun Nov 16, 2008 5:24 am

Re: Problem building ICSP programmer

Post by toddfun »

I built a much simpler version of the PP programmer following instructions at:
http://arduino.cc/en/Hacking/ParallelProgrammer

As noted on the site I downloaded and installed giveio.
I then program my Amtel chips using avrdude commands.
It works great.
I can even use Arduino 0016 IDE but I had to add a few extra settings in the boards.txt file.

I'm not sure you're looking for this type of setup but if you're interested I have full details in my notebook I could post to my site including commands, settings, cable build and detailing some hiccups I ran into with the setup.

Intense
 
Posts: 8
Joined: Fri Jul 10, 2009 10:17 am

Re: Problem building ICSP programmer

Post by Intense »

Finally I did it using an USB-to-USART device which has ICSP connector, I use it for programm the XBee modules.

Greetings!!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”