Showing posts from November, 2015

Programming MCU

Programming Atmel ATmega8l microcontroller Intro For the next article I've decided to go further into the hardware. For my next project I've chosen to program a micro controller (MCU). I've got no experience with MCUs before and this article will show my whole process. First steps My colleague advised me a usb-avr programmer which is compatible with AVR Atmel micro controllers. So I ordered this usb-avr programmer, ATmega8L microcontroller, some resistors, leds and a breadboard. I prefer using IDEs (syntax highlights, build from one place, save time and trees) so I chose Eclipse. There is a nice tutorial how to setup an Eclipse plugin for avr programming, but mainly you just need to install these libraries. gcc-avr -> library for use with GCC on Atmel AVR micro controllers binutils-avr -> cross compiling version of GNU binutils gdb-avr -> GDB for (remote) debugging avr binaries avr-libc -> C library for use with GCC on Atmel AVR micro controlle