[En-Nut-Discussion] UART example for AT91SAM9260-EK

Harald Kipp harald.kipp at egnite.de
Mon Jun 16 16:42:10 CEST 2008

Lasse Conrad wrote:
> I got the right DB9 connector because I can download an Atmel uart0 test
> application which can output something on the UART0. So my hardware works
> fine.

OK, Lasse. How does your UART initialization look like? I mean the lines 
similar to

   NutRegisterDevice(???, 0, 0);
   freopen(???, "w", stdout);
   _ioctl(_fileno(stdout), UART_SETSPEED, &baud);

> BTW I am assuming the uart.c example is using:
> Bps = 115200, databits 8, parity = non , stopbits=1, flow control = non.


Still missing the answer to

> After "go 0x20000000", do you see any serial port output? Otherwise make 
> sure to use the right DB9 connector.


More information about the En-Nut-Discussion mailing list