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
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list