ATMEGA2560 Compile Question

View: New views
2 Messages — Rating Filter:   Alert me  

ATMEGA2560 Compile Question

by Wynand Weyers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

I developed software for the ATmega2560 using an old version of WinAVR (20070525) 4.1.2, it worked fine until I reached approximately 60% of the program flash, using Optimization for size (S). I realized that I need to use the latest WinAVR (20080610) 4.3.0 so I upgraded and re-compiled. I found a lot of “out of program space errors” and resolved those by using the attribute to compile the referenced function calls in the lower .text section. The problem that I have is that the library functions such as the eeprom_write_block and printf also has this issue.

 

Do you have a patch which accommodates these function calls, and if not do you plan to support this?

 

I know there was discussions around the ATmega2560, sorry if I missed a similar question.

 

Many thanks.

 

Wynand Weyers



This message was checked by MailScan for WorkgroupMail.
www.workgroupmail.com
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: ATMEGA2560 Compile Question

by Stu Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I created a modified eeprom.h file with the fix for this.  It has been submitted, but has not been integrated into WinAVR yet.
 
I can send it to you if you want it.  Contact me directly.
 

Best regards,

Stu Bell
DataPlay (DPHI, Inc.)

 


From: avr-gcc-list-bounces+sbell=dataplay.com@... [mailto:avr-gcc-list-bounces+sbell=dataplay.com@...] On Behalf Of Wynand Weyers
Sent: Thursday, August 07, 2008 10:22 AM
To: avr-gcc-list@...
Subject: [avr-gcc-list] ATMEGA2560 Compile Question

Hi,

 

I developed software for the ATmega2560 using an old version of WinAVR (20070525) 4.1.2, it worked fine until I reached approximately 60% of the program flash, using Optimization for size (S). I realized that I need to use the latest WinAVR (20080610) 4.3.0 so I upgraded and re-compiled. I found a lot of “out of program space errors” and resolved those by using the attribute to compile the referenced function calls in the lower .text section. The problem that I have is that the library functions such as the eeprom_write_block and printf also has this issue.

 

Do you have a patch which accommodates these function calls, and if not do you plan to support this?

 

I know there was discussions around the ATmega2560, sorry if I missed a similar question.

 

Many thanks.

 

Wynand Weyers



This message was checked by MailScan for WorkgroupMail.
www.workgroupmail.com
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
LightInTheBox - Buy quality products at wholesale price!