Re: Regarding UART(UART is printing infinite times, though not used any loops)



On 30 May 2005 06:39:02 -0700, ravikumar.n@xxxxxxxxxxxxxxxx wrote in
comp.arch.embedded:

>
> Respected Experts,
> I am Ravi Kumar.N. I am using 386EX processor for
> one of my application. This processor has an inbuilt UART. I have
> configured the UART and it is printing the things whatever I want to
> print but, it is printing the things infinite times though I have not
> used any loops.
>
> For Eg: If I try to print any string like "xyz". It prints the string
> "xyz" infinite times. Thus the same string will be printed infinite
> times.
>
> Note: I have not placed the print statement inside any loops. Even so,
> printing is taking place infinite times. I have disabled all the
> interupts.
>
> What could be the reason for this?
>
> With Regards,
> Ravi Kumar.N

There is something wrong with your code, either the driver for the
UART itself, or your code that sends data to the UART. Unless you
show us the code, we have no idea what is wrong with it.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
.