[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Mega2561 compilation problem

From: Stu Bell
Subject: RE: [avr-gcc-list] Mega2561 compilation problem
Date: Wed, 6 Jun 2007 08:10:05 -0600

Your usage of stack will go up with the 2561, since a subroutine return address is now 3 bytes instead of 2.  Be sure that you properly account for that in any stack initialization that you do, and in all code that may use RAM.

Best regards,

Stu Bell
DataPlay (DPHI, Inc.)

From: address@hidden [mailto:address@hidden On Behalf Of Parthasaradhi Nayani
Sent: Wednesday, June 06, 2007 6:07 AM
To: address@hidden
Subject: [avr-gcc-list] Mega2561 compilation problem


Hello all,
We were using a Mega128 in one of our boards and we had to shift to Mega2561 as the requirement for program memory increased with advanced functional demands. We used Atman AVR demo and the code worked without a hitch. However when we use new (latest) WinAvr, the controller is resetting at one point or the other. We are using many sprintf_P functions to save RAM memory. Any clues, suggestions in helping us solve the problem will be highly appreciated. Thank you.

Nayani P


Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]