XMEAG64 code problem

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

XMEAG64 code problem

by Parthasaradhi Nayani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,
I am facing a peculiar problem with XMEGA64 code. When I use a global buffer in sprintf, the board appears to reset, but the initial values (which are changed before a call to sprintf) are not getting effected. If I use a local buffer (same size) there is no problem. Can some one point out what could be wrong? Thanks.

Nayani




_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: XMEAG64 code problem

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From:
> avr-gcc-list-bounces+eric.weddington=atmel.com@...
> [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
> org] On Behalf Of Parthasaradhi Nayani
> Sent: Thursday, August 20, 2009 12:34 AM
> To: avr-gcc-list@...
> Subject: [avr-gcc-list] XMEAG64 code problem
>
> Hello All,
> I am facing a peculiar problem with XMEGA64 code. When I use
> a global buffer in sprintf, the board appears to reset, but
> the initial values (which are changed before a call to
> sprintf) are not getting effected. If I use a local buffer
> (same size) there is no problem. Can some one point out what
> could be wrong? Thanks.

Please post a small test case that we can compile, along with the command line that you're using to compile it, that shows the problem that you're having.

Please post this to the list and not to me personally.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list