A couple of 'Hello World' examples in C, one using a serial port, one using the USB port.
Another example in assembler. Structured macros are provided to use higher level constructs (if then else, while loops, etc.) within assembler.
The examples don't use the ASF libraries, as I use CodeBlock projects.
Files
ATxmega128A1-xplained.tar.bz2
2 Hello World examples in C, 1 in assembler.
Projects can be loaded in CodeBlocks
Provided files:
udev rule for Linux, structured macros for assembler
There seems to have a problem with the structured macro expansion. The list file shows correct expansion but when running a program, it doesn't work. When replacing the structured macros with normal instructions, the program runs fine.
By comparing the hex files, the jump labels generated by the structured macros are not adjusted correctly by the assembler and jump to the wrong places.