This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

Linux: serial receive data is lost.

Intellectual 865 points

Replies: 3

Views: 1870

Tool/software: Linux

Hello All

My board is am335x-evm, SDK is sdk-02.00.00.11.

I have one problem.

serial receive data is lost.
When I lose data I checked as follows:
root@am335x-evm:/proc/tty/driver# cat OMAP-SERIAL
serinfo:1.0 driver revision:
0: uart:OMAP UART0 mmio:0x44E09000 irq:158 tx:45439 rx:110 RTS|CTS|DTR|DSR
1: uart:OMAP UART1 mmio:0x48022000 irq:159 tx:174 rx:1560957 pe:2 RTS|CTS|DSR|CD|RI
root@am335x-evm:/proc/tty/driver#
Parity error has occurred twice => pe : 2
I used omap-serial driver.
host is PC, device is printer.
under general circumstances, there seems to be no problem
When transfer data amount is large and busy signal is generated, data lost occurs and data seems to be corrupted...
In order to frequently cause this problem, the serial data is slowly read from the device equipment,
busy situations often occur.
Is this a hardware problem? serial driver issue? firmware issue?
How can i fix this problem?
thank you.
  • The UART folks have been notified. They will respond here.
  • Hi,

    Are you using any flow control between the processor and printer?

    Regards,
    Mike
  • In reply to Michael Erdahl:

    Hi, Michael Erdahl

    You are right.

    We are using flow control between the processor(PC, windows driver test page printing) and the printer(AM3358).

    The serial error has more frame and break than parity.

    Thank you your reply

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.