ISP Programmer Shield compatibility

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
pete.m
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

ISP Programmer Shield compatibility

Post by pete.m »

I was interested in finding out if the programmer shield could program other AVR chips outside of the "Arduino" family, such as the the ATtiny, etc.

Thanks!
Pete.M

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: ISP Programmer Shield compatibility

Post by adafruit_support_bill »

The pinouts of the different chips vary, but the ISP programming is basically the same. If you built the shield with headers and movable jumpers, you could re-configure for different pinouts.

User avatar
pete.m
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

Post by pete.m »

That's what I figured. I'm new to Arduino/AVR, but have done some PIC hacking in the past. My order should be here tomorrow, perhaps I can add some spare female headers for the relevant ZIFF socket pins for easy "jumpering". I've got a few different ATTiny and 328's to play with. I'll post an update with my progress.

Thanks!
Pete.M

User avatar
pete.m
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

Post by pete.m »

I ended up using extra-long header pins for the shield mount, and added a row of header pins along each side of the ZIFF socket. I can use female-to-female jumpers to map any Arduino pin to any pin on the socket.

I put some pics on Flickr and added them to the Adafruit pool.
http://www.flickr.com/photos/tampa_pete/

I'll post results after programming a few different chips.

Pete

User avatar
hudson
 
Posts: 4
Joined: Tue Nov 15, 2011 10:07 am

Re: ISP Programmer Shield compatibility

Post by hudson »

Image

ZIF sockets are great! I added support for AVR ISP to my promdate reader a while ago as well. Instead of jumpers (other than for power and ground, due to current supply limitations), all of the forty pins are mapped in software. This allows the teensy++ on the bottom of the socket to read just about any DIP (ROM, EEPROM, AVR, etc) up to 40 pins. Writing depends on the technology -- EEPROMs and PICs typically require +13 volts or more, but writing to the AVR at +5v works fine. The tool can also generate the recovery clock to reset chips that have many types of bad fuses.

User avatar
pete.m
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

Post by pete.m »

Promdate? Sounds cool! Do you have a link?

Pete

User avatar
hudson
 
Posts: 4
Joined: Tue Nov 15, 2011 10:07 am

Re: ISP Programmer Shield compatibility

Post by hudson »

Yes, but I couldn't post it since "prom" was a forbidden word until a few minutes ago. https://bitbucket.org/hudson/prom/

Good luck with your universal programming shield!

User avatar
pete.m
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

Post by pete.m »

I'm getting some "odd" results from the ISP programmer shield:
Arduino UNO, Mac OSx 10.8

- Upload the AVRIsp example sketch from Arduino 1.0.3 successfully
I run

Code: Select all

avrdude -p attiny2313 -c arduino -P /dev/cu.usbmodem621 -v
from the terminal (this is using the toolchain installed by AVRCrossPack), and everything looks good except for the last couple lines:

Code: Select all

avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATtiny2313 is 1E 91 0A
I get this same result using different options for the programmer (arduino, stk500v1, etc.). I've also grabbed the adafruit version of AVRIsp and get the same results, only now the red led blinks.

When I bypass my Uno, and use my Buspirate, I can successfully burn and verify the attiny2313 with the same setup command and setup on the shield.

Any ideas?

pete.m

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

Return to “Arduino Shields from Adafruit”