This week we programmed the previously made echo boards using our FabISPs to do something with the LED and button, and reviewed the data sheet for the ATtiny 44. If both of the boards are working, it's not too hard of a task to make a simple program to turn on the LED when the button is pressed (it's even one of the sample files that comes with the Arduino IDE!). So to make things more exciting, my echo board didn't work initially (but was really, really close to working). In an attempt to exchange a (maybe) faulty part, I accidentally destroyed the board with a desoldering gun. After making a new one, everything worked pretty smoothly. It was incredibly exciting to finally do something with these boards that have been lying around. I enjoyed programming my first board, and I'm looking forward to working on it more!
I first followed these instructions to install WinAVR and the drivers for my FabISP, which I previously programmed on a different computer. I'm using Windows 8, so I had to do the extra step of getting around a "missing digital signature" as well. When I tried to make the example c.make files, I got the error above. After googling it, I realized it's probably a Windows 8 thing, too. I followed instructions from this forum and replaced some .dll file in my WinAVR directory. Slightly sketch, but it fixed the problem!
So I try to program the board again and get an rc=-1 connection error, meaning something probably just isn't connected on my echo board. After testing my soldering connections using a voltmeter, I find that two pins aren't completely connected to the board. After solderin them down, I can successfully program the board! Well, that's what I thought...but trying to run the sample program (where you type into a terminal, and the program responds with what you've typed so far), gave me an unresponsive terminal. Trying the LED code would work though, making me think that there might just be something wrong with my output/input pins in the ATtiny44, since everything looks to be connected correctly. I try to remove the component with a desoldering gun (first time using it), and accidentally rip up pieces of the traces while doing so. It seems easier to just make a new board rather than fix the mess that I've created. I triple check all the connections this time, and the new board works for real (on both Neil's example code and my LED code, which were run using these make commands). Yay!
I wrote a program in C and in the Arduino IDE to turn on the LED. I followed this tutorial to get the ATtiny working with the Arduino IDE (I downloaded version 1.0.6). The pin explanation from the data sheet was useful, although the rest of the 200+ pages went waaaay over my head. My C file (it uses the same hello.ftdi.44.echo.make file from above) and Arduino file.