1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

Regarding retreiving data through UART ports

Discussion in 'Embedded' started by sureshkumar.vijay, May 18, 2007.

  1. Dear madam/sir,
    my project is a communication domain project.my application is to
    process the data that is received through UART port from other PC.
    Madam i established communication between Uart port and com port of
    PC using assign debug command.I am able to send data through Uart

    1.can u tell me how can i retrieve data through UART port which is
    send by other client system(PC).i want to acess data which is send by
    the client(PC).i worked using getchar() but i am not retreiving
    data.please give me the procedure for retreiving the data from UART
    which is send from other PC in the simulator mode for processor
    Lpc2148 using keil compiler

    but when i am myself giving the input in the serial window iam
    retriving data

    please reply this doubt
    thanking you madam/sir,
    v.suresh kumar
    sureshkumar.vijay, May 18, 2007
    1. Advertisements

  2. sureshkumar.vijay

    jcomeau_ictx Guest

    Did you try read()? I think getchar() is line-oriented (cooked).

    Of course, you need to make sure your speed, parity, flow control are
    the same too. Man termios, and/or look at the source from minicom or
    similar open-source software.
    jcomeau_ictx, May 19, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.