Hi,
I want to program a ATTiny2313 with a hex file and since I recently got myself an Arduino Uno, I am trying to use it as an ISP and upload the hex file with avrdude. I am working with OSX.
Mainly I have been following this tutorial:
http://www.ernstc.dk/arduino/2313.htmI also read (among many other stuff) this thread: (
http://arduino.cc/forum/index.php/topic,84943.0.html)
According to the tutorial I connected the 2313 to the Arduino board.
Some things are not clear to me, hopefully someone can help me a bit. I do not want to program the 2313 using the Arduino IDE, I just want to upload an existing hex file with avrdude. Do I need to install the Tiny-core as explained in the tutorial for this?
If so, I need some help with that as well. I tried to install it according to the ReadMe.txt but I can't get the new options to show up in the Tools->Board menu in the Arduino IDE. I extracted the Tiny-core into Documents/Arduino/libraries/hardware/ while the IDE was closed, but when I started it again I didn't have any new options. I figured out how to install the Tiny-core. For anyone who might also have problems with this: Go to your application folder and Ctrl-Click the Arduino.app file and choose Show Package Contents. Then navigate to the Contents/Resources/Java/hardware folder and copy the tiny folder into it.
I uploaded the ArduinoISP sketch to the Arduino and tested it with an LED, which was fading on and off so I guess at least that worked.
Hopefully someone can give me a few pointers in the right direction.