[En-Nut-Discussion] Start on AT91SAM7X256

def at fea.kiev.ua def at fea.kiev.ua
Thu Jan 11 14:57:12 CET 2007


Hi All!

I try run on my own board (AT91SAM7X256) ethernut 4.2.1.
>From all peripherals there is only a quartz (18.432) and PLL filter.
It is compiled on http://ethernut.de/en/documents/at91sam7x256.html
After programming the processor does not carry out the program 8(
In what my mistake?

PS:
code:
#include <string.h>
#include <stdio.h>
#include <io.h>

#include <dev/board.h>
#include <sys/timer.h>

/*!
 * \brief Main application routine.
 *
 */
int main(void)
{
	outr(PMC_PCER, _BV(PIOA_ID));
	outr(PIOA_PER, 0xF);
	outr(PIOA_OER, 0xF);
	outr(PIOA_CODR, 0xF);
    for (;;) {
    	NutDelay(100);
   		outr(PIOA_CODR, 0xF);
    	NutDelay(100);
			outr(PIOA_SODR, 0xF);
    }
}

PPS:
http://lists.egnite.de/pipermail/en-nut-discussion/2006-December/007578.html
not help 8(




More information about the En-Nut-Discussion mailing list