[En-Nut-Discussion] Strange Ethernut board...

Alexander Baranov Baranov at intech21.com
Thu Jan 30 00:51:11 CET 2003


Dear Harald.
One of my Ethernut boards behaves very strange. I wrote a simple program:

#include <sys/thread.h>

THREAD(NutMain, arg)
{
  outp(0xff,DDRD);
  while(1){
   outp(0x00,PORTD);
   outp(0xff,DDRD);
  }
}
and it does not output pulses to PORT  D.
I wrote similar program on assembler, without  NutOS, programmed the board
and saw beautiful zeroes and FF-s.
I had worked with four of such boards and encountered such an effect for the
first time. Can it be so, that there is some defect e.g. in RAM?

Alexander Baranov
Intech21, Inc.
50 Glen Street,
Glen Cove, NY, 11542
www.intech21.com




More information about the En-Nut-Discussion mailing list