Hey guys, can anyone show me a recent tutorial of programming attiny13 using Arduino uno as an isp programmer? I tried the popular tutorials but couldn't make it work. Before I enter in any details about errors, could the newest version of Arduino IDE be a problem?
The newest IDE version could always be a problem (had problems recently with 1.6.6 and ESP8266, moved back to 1.6.5. and now it works like a charm).
With Attiny13 I go with Arduino IDE 1.0.1 (hm, pretty old...) and the core files for Attiny13 from here: Core13 download | SourceForge.net
It works pretty well.
Most of the time I work on Windows and always use the ZIP-file versions of the IDE, so it is no problem to have many different versions on my computer.
Maybe newer versions of the IDE will also work but "never change a running system"
so why change, as the "performance" of the Attiny13 is limited anyway.
Tutorial: You may take a look at: Box
But instead of:
- ... compile it and generate the hex file.
- Use avrdude command lines to upload the hex file into the Target AVR
You can go the easy way:
3) Write Your program. Select Tools / Programmer / Arduino as ISP
4) For upload program, use: File / Upload with Programmer
Be aware that new and unused Attiny13 is running at 1.2 MHz internal clock (select this item at Tools / Board ).