avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Running problems


From: James Washer
Subject: Re: [avr-gcc-list] Running problems
Date: Sun, 26 Dec 2004 07:28:14 -0800

Make sure you've BOTH 
        1) Compiled for the mega128
        2) Told AVR-studio that the "chip"is a mega128

 - jim

On Sun, 26 Dec 2004 10:08:52 -0500
"Trampas" <address@hidden> wrote:

> I have done some more investigations and it appears that the stack is not
> changing. That is the stack pointer changes but in the SRAM the stack
> remains 0xFF. Is their some trick with the stack on the ATmega128?
> 
> Regards,
> Trampas 
>  
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> On Behalf Of Trampas
> Sent: Sunday, December 26, 2004 9:46 AM
> To: address@hidden
> Subject: [avr-gcc-list] Running problems
> 
> I have been using avr-gcc for a couple of months on an atmega8. I just did a
> new product design using an atmega128. I designed this board with JTAG port
> such that I could play with the debugger. 
> 
>  
> 
> I got my code to compile and was able to load the coff file into AVRStudio
> but the code does not work correctly. Specifically when I return from the
> first subroutine the code jumps to never land. I am not sure what is going
> on, does anyone have any idea? 
> 
>  
> 
> Thanks,
> 
> Trampas 
> 
>  
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
> 
> 
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
> 


reply via email to

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