Programming with Arduino
Programming with Arduino
I was able to program a attiny2313 by using a arduino as serial programmer and AVRdude. I struggled with getting the right command. I needed to add -b19200 for the baud serial communication. It was not clear to me in all the tutorials I read. I now have a working Geiger counter!
-
- Posts: 9
- Joined: Fri Dec 23, 2016 1:34 am
Re: Programming with Arduino
Are there any instructions how to do this?
I have followed this instructions, and compiled the Geiger counter software with Arduino:
http://www.ernstc.dk/arduino/2313.htm
However, it seems something is not working right.
I have followed this instructions, and compiled the Geiger counter software with Arduino:
http://www.ernstc.dk/arduino/2313.htm
However, it seems something is not working right.
Re: Programming with Arduino
Make sure you set the configuration fuses as specified in Makefile.
Code: Select all
# Fuse configuration:
# For a really nice guide to AVR fuses, see http://www.engbedded.com/fusecalc/
# LFUSE: SUT0, CKSEL0 (Ext Xtal 8+Mhz, 0ms startup time)
LFUSE = 0xEE
# HFUSE: SPIEN, BODLEVEL0 (Serial programming enabled, Brownout = 1.8V
HFUSE = 0xDD
# EFUSE: no fuses programmed
EFUSE = 0xFF
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com