[En-Nut-Discussion] UART Problem
Igor Fedorchuk
bel at micran.ru
Wed Oct 27 14:36:42 CEST 2004
Hi Daniel
I think that you set incorrect value of RAM_END or did not mount external RAM
chip.
Regards Igor
27.10.2004 you wrote:
DM> Hi,
DM> does anyone know why I can't see any output on rs232 by using self made
DM> atmega128 board, on Ethernut original HW there is no problem?
DM> I used following code:
DM> FILE *uart;
DM> NutRegisterDevice(&devUart0, 0, 0);
DM> uart = fopen("uart0", "w");
DM> u_long baud = 38400;
DM> _ioctl(_fileno(uart), UART_SETSPEED,&baud);
DM> while(1)
DM> fputs("Test:\n", uart);
DM> If I load the basemon firmware to the custom board there is no problem
DM> and I can see output information.
DM> I use NUT/OS 3.9.2 Preview and on the original ethernut hw there is no
DM> problem.
DM> Regards,
DM> Daniel
DM> _______________________________________________
DM> En-Nut-Discussion mailing list
DM> En-Nut-Discussion at egnite.de
DM> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
More information about the En-Nut-Discussion
mailing list