Saturday, March 1, 2014

TinySafeBoot Success!

I dorked around most of last night and this morning trying to get TinySafeBoot (http://jtxp.org/tech/tinysafeboot_en.htm) working on my ATTiny's.     Originally, I was trying to use the arduinoISP to load the "installer" onto the ATTiny, but that didn't seem to work.

I wound up reseting the bootloader to the attiny85 8mhz core w/ arduinoISP.   I then compiled the Assembly with the installer turned off, and used an "external tool" in Atmel Studio to run AVRDude and put the bootloader onto the chip via ArduinoAsISP.    I did have to set the AVR fuses, i used C2 D5 FE.

It looks like i'll be rolling with this bootloader for the time being as it will allow me to program all the attiny slaves in my project simply with my ftdi.  I've got 9 tiny85's that i flashed with a blink program, ready to move on.

The next post, I'll be hooking up two tiny's to an arduino uno.  Later, I'll use a bare Atmega328p or an Atmega644p that I've got kicking around, but for now, the arduino with a breadboard shield it is!

No comments: