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

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

Re: [avr-gcc-list] linker problem?


From: Ning Xu
Subject: Re: [avr-gcc-list] linker problem?
Date: Sun, 19 Mar 2006 22:03:57 -0800

Hi Alex,
 
Can you furthur explain this: the stack is out of the valid RAM? under what condition it will happen?
 
Thanks,
Ning

 
On 3/16/06, Alex Wenger <address@hidden> wrote:
Hello,

K.Omoto schrieb:
> Hello,
>
> I'm trying to use mega64 and made a simple program like,
>
> int main(void)
> {
>   DDRD=0xff;
>   PORTD='a';
>   call_something(); <--(1)
>   PORTD='b';        <--(2)
>   :
> }
>
> This results that after (1) executed,
> it doesn't come back, that is, (2) is not executed.
>
> the environment is..
>  gcc 3.4.6
>  avr-libc 1.4.3
>  Fedora Core 4 linux
>
> I have tryed several pathes to binutils and gcc-avr
> but no help.

perhaps you have forgotten to set FUSE M103C ???
That will generate this result, because the stack
is out of the valid RAM, so the call can never return.


Alex

--
http://www.wenger-online.de/blog/


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


reply via email to

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