Sunday, January 06, 2013

T3 vs RPi for AVR ISP programming

I have been working on couple of projects after my last post about which I will post later. But before that I want to mention the difficulty with ISP programming with Teensy3.
I am late to enter the Arduino world as I started with Raspberry Pi. So to work on a small Arduino project, I bought Teensy3 for it's capabilities. Along the way I bought couple of ATtinys to play around with. Now, I needed to program these AVRs so I turned to T3 as it is supposed to be possible to use the ArduinoISP sketch to program these Tinys. The T3 is fine for it's job but I have had a very difficult time programming these AVRs using T3 on a breadboard. I spent one whole night to debug the problem with "Device signature = 0x000000" on an ATtiny45 ... it only says to check my connection. None of the combinations I tried worked. So I checked to see if I could program using RPi. Turns out that the fine folks behind Gertboard project (mostly Gert & Gordon) have already laid the foundation. I downloaded the modified avrdude, connected the SPI pins and programmed the blinky. Lo-and-behold the flashing worked (Device signature = 0x1e9206) and blinky started running.

No comments: