[En-Nut-Discussion] Eboot for Atmel 2561 Prozessor

Henrik Maier hmnews at proconx.com
Tue Jan 24 03:12:47 CET 2012


On 24/01/2012 4:01 AM, Joerg Wiegelmann wrote:
> Hello folks,
> I'm trying to compile the eboot source for the Atmel 2561 processor.
> After fixing the first problem;
> It was a change from
> MCUCR = _BV(SRE) | _BV(SRW);
> to
> XMCRA = _BV(SRW01)|_BV(SRW11);
> in eboot.c to change the waitstate bits,
> the second problem was to difficult for me:
> flash.s: Assembler messages:
> flash.s:76: Error: number must be positive and less than 64
> flash.s:84: Error: number must be positive and less than 64
>
> Any idea? Does anyone have the eboot-source for the Atmega2561?
>
> Thank you and best regards
> Jörg
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>

Eboot was ported to to the 2561 long time ago. Are you using the latest 
version?

My source already contains provision for ATmega2561:

#if defined(__AVR_ATmega2561__) || defined(__AVR_AT90CAN128__)
     XMCRA |= _BV(SRE);
#else
     MCUCR |= _BV(SRE);
#endif


Cheers

Henrik



More information about the En-Nut-Discussion mailing list