[En-Nut-Discussion] Problems with uart

Harald Kipp harald.kipp at egnite.de
Tue Jun 15 10:38:36 CEST 2004


>What can I do now. I commented out all other code except the uart
>initialization and a testmessage, it does not help. I think I have to try
>the other way round. Take the uart.c example and add my code bit by bit.
>*sigh*
>Or do you have a hint how to debug such simple thing.

Were there any compiler warnings?

What, if you replace
   NutRegisterDevice(&devUart0, 0, 0);
by
   NutRegisterDevice(&devDebug0, 0, 0);

In this case remove any reference to stdin, because
devDebug supports output only.

Could there be any mixture of old/new compiler versions
or old/new Nut/OS versions?

Harald




More information about the En-Nut-Discussion mailing list