|Subject:||RE: [avr-gcc-list] Mega2561 compilation problem|
|Date:||Wed, 6 Jun 2007 07:27:52 -0700 (PDT)|
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
Subject: [avr-gcc-list] Mega2561 compilation problem
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.
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.
|[Prev in Thread]||Current Thread||[Next in Thread]|