[En-Nut-Discussion] nut/os-timer-PORTA-problem

Ernst Stippl ernst at stippl.org
Tue Apr 1 22:12:46 CEST 2008


Hi!

Which Ethernut board do you use?
If it is Ehternut 1 or 2 or compatible using the ATmega128 CPU, this is an
excerpt from the ATmega128 data sheet:

Alternate Functions of Port A 
The Port A has an alternate function as the address low byte and data lines
for the External Memory Interface.

So, if you external memory, port A is needed for it.

Regards
Ernst
-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ajit Ratnaparkhi
Gesendet: Dienstag, 01. April 2008 22:01
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] nut/os-timer-PORTA-problem

Hi all,

I am using nut/os for development of an embeded application as a course
assignment.
I am facing problem while using timer functions,
The problem is,

Whenever I output some value on PORTA, all the timer functions stop working
like NutSleep(). NutSleep(ms) makes the program to sleep forever, instead of
'ms' amount of time. Some motors are connected to PORTA of the embedded
device which I am working on. So to operate those motors I have to set PORTA
to some value other than 0x00, and as soon as I change the value the timers
stop working.

Somebody please tell me what might be the problem, and what is the solution
for it?


Thanks and regards,
- Ajit.
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



-- 
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.3/1354 - Release Date: 01.04.2008
05:38





More information about the En-Nut-Discussion mailing list