I have retargeted the example ethernet project for the STK1100 (went into project properties, general, changed from 0512ES to 0512 in the combobox, then re-added the framework components). It works - except that the wrong libc is linked.
The version of libc that gets linked is one where __AVR32_HAS_UNALIGNED_WORD__ is defined in memcpy - that version attempts to do misaligned accesses:
as a result, I get an exception and get hung.
Where is the knob that makes avr32studio link the correct version of libc? Or is there another knob that makes it link a misaligned-access-fix-handler?
The target is a custom board with a 0810 date code UC3A0512-U. I'm still using the STK1100 board definition since my ethernet is attached the same way, and the other I/O don't do any damage. Fresh and updated install of the packages from atmel.com