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

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

Re: [avr-gcc-list] can't get to sleep?


From: Lorne Gutz
Subject: Re: [avr-gcc-list] can't get to sleep?
Date: Tue, 8 Apr 2003 08:21:39 -0400

I have the same problem with the Mega8, while I was using
the avr-gcc3.2.    I was advised to move up to gcc3.3.  I
did that and things work properly now.

Lorne


On Monday 07 April 2003 11:53, Holly Gates wrote:
> Hello, I seem to be having trouble getting the mega128 to go to sleep.
> I'm using:
>
> avr-gcc-c++-3.2.75.20021202-1.rh7x
> simulavr-0.1.1-1
> avr-binutils-2.13.75.021202-1.rh7x
> avr-libc-docs-20021127cvs-1
> avr-gcc-3.2.75.20021202-1.rh7x
> avr-gdb-5.2-1
> simulavr-docs-0.1.1-1
> avr-libc-20021127cvs-1
>
> and I do something like this:
>
>   set_sleep_mode(SLEEP_MODE_PWR_DOWN);
>   printf("going to sleep..");
>   sleep_mode();
>   printf("woke up\n\r");
>
> but it seems to run right through without going to sleep, even with all
> interrupts disabled. Its probably something stupid, but I thought I
> would see if someone else notices what it is....
>
> Thanks,
> -Holly
>
>
> _______________________________________________
> 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]