Skip to content

how to program

Jens Rapp edited this page Oct 14, 2013 · 2 revisions

Clumsy Binary clock is based on an atmega8, which is a brand of atmel corporation.

One way to program it is using program.sh file provided in the github repository.

to program revision a with avr dragon, just type

./program.sh

it is possible to change revision, programmer and programming port. ./program.sh -h

shows help. Following options are possible.

  • -c [programmer] - avr programmer. Standard is dragon_isp.
  • -P [port] - programming port. Standard is usb.
  • -r [revision] - revision A or B. Standard is a.

For programming with other tools, you need to set following fuses. lfuse: 0xc9 hfuse: 0xd9

Clone this wiki locally