My OS :android jb 4.4.2-ga
As shown below, using the middle layer test program the latest SF for our printer hit them. Figure is visible in the lower right SF icon print exception. Printer connection serial port 5 (ttymxc4). Working mechanism: the printer sends a packet of 7K around the 300ms, every time it sends a 1024 byte, every time a. It was found that fifth or sixth would be lost, which is the reason of the phenomenon of the loss of the packet.
Every time the data is sent to the change, the change is sent to 800 bytes each time, every 300ms hair, many times the test does not appear in the phenomenon. Please help me to solve this problem.
I modify kernel_imx/arch/arm/mach-mx6/serial.h
|71 #define UART5_DMA_ENABLE||1|
|72 #define UART5_DMA_RXBUFSIZE||2048|
|73 #define UART5_UFCR_RXTL||16|
|74 #define UART5_UFCR_TXTL||16|
How to solve this issue ? Please help me !