ISP Programmer Shield compatibility
Moderators: adafruit_support_bill, adafruit

ISP Programmer Shield compatibility

by Pete.M on Mon Jan 07, 2013 6:40 am

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
Pete.M
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

by adafruit_support_bill on Mon Jan 07, 2013 7:16 am

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
adafruit_support_bill
 
Posts: 30880
Joined: Sat Feb 07, 2009 10:11 am

Re: ISP Programmer Shield compatibility

by Pete.M on Sun Jan 13, 2013 12:36 pm

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
Pete.M
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

by Pete.M on Sat Jan 19, 2013 9:33 pm

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
Pete.M
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

by hudson on Tue Jan 29, 2013 9:27 am

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.
hudson
 
Posts: 4
Joined: Tue Nov 15, 2011 10:07 am

Re: ISP Programmer Shield compatibility

by Pete.M on Tue Jan 29, 2013 9:56 am

Promdate? Sounds cool! Do you have a link?

Pete
Pete.M
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm

Re: ISP Programmer Shield compatibility

by hudson on Tue Jan 29, 2013 11:37 am

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!
hudson
 
Posts: 4
Joined: Tue Nov 15, 2011 10:07 am

Re: ISP Programmer Shield compatibility

by Pete.M on Sun Feb 10, 2013 7:57 pm

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 | TOGGLE FULL SIZE
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 | TOGGLE FULL SIZE
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
Pete.M
 
Posts: 5
Joined: Sun Nov 25, 2012 9:27 pm