Embedded Programming

The week took back to the old college day micro controller days. We use to play with legendary 8051 and low level assembly was the language of code. The option to explore several families, processors, programmers, IDEs was consuming my time. Decided to experiment with, following in this week.

Week goal was :

Make boards of,

Code with,

XMEGA Datasheet

I was interested in XMEGA and went through the data sheet. Its a great controller with low power operational spec and high level control.

xmega

xmega

Cross pack with fabisp and attiny45 led board.

  • I downloaded the cross pack. Installed it.
  • Opened terminal and reached led code folder, which i downloaded from output devices.
  • In terminal,
make -f hello.RGB.45.make # Got my hex files generated.
sudo make -f hello.RGB.45.make program-usbtiny # got an error of RC not initialised, which is cos my led board was not powered. Wired it with power. 
sudo make -f hello.RGB.45.make program-usbtiny # all went fine.

crosspack

crosspack