Hello, i use winavr gcc for programming atmega2561 microcontroller. 2561 has 256 K program memory our code works good below 128 K but when our code becomes larger than 128 K byte, does not work properly. this is because eicall assembler command. there must be an EIND=1 command before accessing the memory after 128 K. when this is done, there is no problem. you have to fix this problem as soon as possible. we cannot use half of our program memory right now.
http://sourceforge.net/tracker/index.php?func=detail&aid=2229892&group_id=68108&atid=520074 regards.. ilyas -- Summary: EICALL PROBLEM in WINAVR GCC Product: gcc Version: new-ra Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ilyasyilmaz at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38551