Archive for June, 2007

Using PROGMEM and EEMEM with AVRs

Saturday, June 16th, 2007

This post will give you a short example how to read and write EEPROM, and how to use flash memory as storage.

When you are jumping into programming microcontrollers many things are new and uncommon. At least to me as I used to develop in Java. This snippet may save you some time when you start playing with EEPROM and flash storage. Please note, that this is not a complete tutorial on this topic. You may find usefull links in the link section below.

(more…)

Programming AVR with Eclipse and WinAVR

Sunday, June 3rd, 2007

This is a log of what I have done to get Eclipse running with WinAVR on Windows XP. Maybe it’s helpfull for others.
Prerequisites

  • Download a Java Runtime JRE or JDK, if you do not have already. Anything greater 1.4.2 should be ok.
  • Download Eclipse 3.2.2 here
  • Download the CDT 3.1.2 plugin for Eclipse C/C++ development here
  • Download WinAVR 20070525 here

(more…)