This is a simple helloworld program for AVR ATMEGA168 micro controllers. compile: make Put "habl" on the atmega168 http://www.eit.se/habl/ # Install compiler and avrdude (on debian/ubuntu/mint style linux): sudo apt-get install gcc-avr avr-libc binutils-avr avrdude This may also be needed. apt-get install picocom cutecom lrzsz screen http://unix.stackexchange.com/questions/56614/send-file-by-xmodem-or-kermit-protocol-with-gnu-screen make sure to allow user to use dialout (or else you must run screen and cutecom as root) replace henrik below with your username. sudo usermod -a -G dialout henrik Connect to the device screen /dev/ttyUSB0 19200 To leave Ctrl-A D To and kill screen: Ctrl-A k y Or picocom: picocom --b 19200 /dev/ttyUSB0 To leave Ctrl-A Ctrl-X Send the file "havrapp.bin" with cutecom xmodem