avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Sleep.h not appropriate for AT94K devices


From: E. Weddington
Subject: Re: [avr-libc-dev] Sleep.h not appropriate for AT94K devices
Date: Mon, 18 Apr 2005 09:14:52 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Wouter van Gulik wrote:

Hello all,

The definition of sleep in the current sleep.h cannot be used for the AT94K
devices.
First of all the AT94K is detected as a "_SLEEP_TYPE == 2" which is
incorrect
It has only IDLE, PWR_DOWN and PWR_SAVE. (like the ATmega161)
This is of course not a critical error but it might lead to trying to but
the AT94K in SLEEP_MODE_ADC. Which is not supported.

The other problem is that the MCU settings register is called MCUR. In all
others devices this is called MCUSR or something a like.

I am working with WinAVR version 20050214.

I know I should fill in a bug report (if it's a bug) , so you can keep track
of it.
But is it 1 bug or two separates? (no MCUR, no AT94K, just no support for
AT94K?)
If you just fill out one bug report that will be just fine. The issues are related so it's not a big deal. TIA for filling out a bug report!


I noticed in some readme file that the level of support for AT94K devices is
unknown.
To my surprise I found the WinAVR20030312 package on the install CD for the
SystemDesigner tool set.
SystemDesigner tool set? Where is that from? And yes, that's a pretty old version of WinAVR.

Is the FAQ out of date or did nobody reported back on the use for the AT94k?
Nobody has reported back on the use of AT94K except for you, AFAIK. So any more feedback on this would be great!

As far as I can now see the support is pretty good.
I have some difficulties trying to convert my ATmega32 code to the AT94K but
that could be due to MCU incompatibility or different hardware setup.

I'll keep in touch if I encounter any more difficulties.
Please do!

Thanks
Eric




reply via email to

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