Go Down

Topic: sketches on attiny2313 (Read 303 times) previous topic - next topic

greg919

Apr 08, 2007, 09:30 am Last Edit: Apr 08, 2007, 09:57 am by greg919 Reason: 1
iam a noob and I know that the attiny2313 only has 2k memory, but is that enough to burn Arduino sketches and has any one done it. i read more on it and it looks like id have to change the Arduino core to be compatible with other chips. can any one help me do this or give me a link to different core files that are compatible the 2313

jims

#1
Apr 08, 2007, 06:05 pm Last Edit: Apr 08, 2007, 06:06 pm by jims Reason: 1
Arduino sketches are bigger than 2k. The serial bootloader alone is 1k. You could use an ICSP instead of the bootloader and save that space.

The simple "blink a single led on and off" example takes 3676 bytes in Arduino-0007 so that is out. The in-development Arduino-0008 code blinks an LED in 876 bytes, so that might be possible, but any libraries would probably put you over the top. You won't be able to use the serial port library, for example.

RAM space is also going to be a problem.

Go Up