Go Down

Topic: Arduino translated to AVR? (Read 12 times) previous topic - next topic

Coding Badly


You will have better luck with this core...
http://code.google.com/p/arduino-tiny/

The 45_85 core has a few bugs and is missing some features.

Assuming you are using Windows, after expanding either core, your directory structure should be similar this where your sketches are stored in [font=Courier New]C:\Projects\Arduino\Sketch\[/font]

Code: [Select]
C:\Projects\Arduino\Sketch\hardware\tiny\boards.txt
C:\Projects\Arduino\Sketch\hardware\tiny\cores
C:\Projects\Arduino\Sketch\hardware\tiny\cores\empty
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny
C:\Projects\Arduino\Sketch\hardware\tiny\cores\empty\Arduino.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\empty\main.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\empty\WProgram.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\Arduino.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\binary.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\core_adc.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\core_build_options.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\core_macros.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\core_pins.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\core_timers.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\HardwareSerial.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\HardwareSerial.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\main.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\pins_arduino.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\pins_arduino.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\Print.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\Print.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\PwmTimer.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\Stream.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerial.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerial.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerial115200.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerial38400.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerial9600.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\TinyDebugSerialErrors.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\Tone.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\ToneTimer.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\UserTimer.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WCharacter.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WConstants.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WInterrupts.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring_analog.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring_digital.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring_private.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring_pulse.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\wiring_shift.c
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WMath.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WProgram.h
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WString.cpp
C:\Projects\Arduino\Sketch\hardware\tiny\cores\tiny\WString.h

Coding Badly


If you have the patience there is monstrous topic here about the Tiny Core and programming ATtiny processors the Arduino Way...
http://arduino.cc/forum/index.php/topic,51984.0.html

Drc3p0



You will have better luck with this core...
http://code.google.com/p/arduino-tiny/

The 45_85 core has a few bugs and is missing some features.



The download is for Arudino 1.0
I am using version 0022. 

I am on a Mac btw...should've mentioned that earlier

Drc3p0

I went ahead and added the files I downloaded for the 1.0, and it worked!  The Attiny IC's are listed under the board options. 
I uploaded the sketch for using the Arduino as an ISP,
I then opened the Blink sketch and changed the pinout to pin 0 insead of pin 13,
inserted a capacitor between reset and GND, and tried to upload it with all of the attiny85v options available,
and none of them worked. 

they all stated:
avrdude: stk500_recv(): programmer is not responding

any ideas?

Coding Badly


Go Up