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: Alex Wenger
Subject: Re: [avr-gcc-list] linker problem?
Date: Fri, 17 Mar 2006 08:37:21 +0100
User-agent: Thunderbird 1.5 (Windows/20051201)

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/




reply via email to

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