[En-Nut-Discussion] Atmega 2561with more than 128k code and Winavr

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Feb 13 23:32:55 CET 2012


>>>>> "Joerg" == Joerg Wiegelmann <joerg.wiegelmann at gmx.de> writes:

    Joerg> Hey folks, I would like to use the atmega2561 with more than
    Joerg> 128kByte code. When I compile my application I got a bunch of
    Joerg> linking errors like:
    Joerg> D:/nut/nutbld/lib\libnutarch.a(usart0avr.o):(.data+0x6c):
    Joerg> warning: internal error: out of range error
    Joerg> D:/nut/nutbld/lib\libnutarch.a(usart0avr.o):(.data+0x6e):
    Joerg> warning: internal error: out of range error Does anyone has an
    Joerg> idea? Does anyone work with more than 128kByte code and Winavr?
    Joerg> Compiler gcc version 4.3.3 (WinAVR 20100110), NutOS Version 4.10,
    Joerg> Windows system.

I think, gcc has problems with AVR and CODE bigger than 128 k.

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the En-Nut-Discussion mailing list