As Leiu wrote: > I use winavr2010 with eclipse, ATmega16!
That rings a bell: make sure your linker command includes -mmcu=atmega16. I seem to recall that some versions of the AVR eclipse plugin missed that detail (but I'm not sure, I don't use eclipse myself). (Hmm, didn't you write "winavr2010" in the subject? I wouldn't have guessed you're using Eclipse.) For reference, here's the hex file I've been using: :100000000C942A000C943F000C943F000C943F0089 :100010000C943F000C943F000C943F000C943F0064 :100020000C945C000C943F000C943F000C943F0037 :100030000C943F000C943F000C943F000C943F0044 :100040000C943F000C943F000C943F000C943F0034 :100050000C943F0011241FBECFE5D4E0DEBFCDBF1E :1000600010E0A0E6B0E0E8E1F1E002C005900D92FA :10007000A236B107D9F70E9478000C948A000C943C :1000800000001BB888E18AB910BC83E389B986E80F :1000900080BD08955D9BFECF8CB9089583E88FBD28 :1000A00085E48EBD84E289BF1DBC1CBC17BC16BC98 :1000B0008FEF8BBD8ABD08951F920F920FB60F92DE :1000C00011248F93809160008B3548F480916000FB :1000D0005D9BFECF8CB9809160008F5F01C081E491 :1000E000809360008F910F900FBE0F901F90189516 :1000F00012BA82E081BB8FEF8BBB8ABB0E944E009D :100100001BB888E18AB910BC83E389B986E880BD51 :080110007894FFCFF894FFCFB3 :020118004100A4 :00000001FF -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list