UART looped messages

Hello,
I have custom board with Carambola2 (OpenWRT on board) and FT232RL for communication with USB devices.
I also have USB dongle which is plugged in, and there is a periodic communication over UART between that dongle and Carambola2 (through FT232RL). Carambola2 asks for some status information from dongle, and dongle responds with these.
Sometimes something very weird happens.
Unexpected messages come from FT232RL to Carambola2 in some kind of loop. They look like the normal periodic messages, but repeated over and over, and date transfer speeds up.
Do you have any idea what is happening?
Or at least, maybe do you know how to debug it?

opkg list-installed | grep usb
kmod-usb-acm - 4.9.111-1
kmod-usb-core - 4.9.111-1
kmod-usb-ehci - 4.9.111-1
kmod-usb-ledtrig-usbport - 4.9.111-1
kmod-usb-net - 4.9.111-1
kmod-usb-net-cdc-ether - 4.9.111-1
kmod-usb-net-cdc-mbim - 4.9.111-1
kmod-usb-net-cdc-ncm - 4.9.111-1
kmod-usb-net-huawei-cdc-ncm - 4.9.111-1
kmod-usb-net-qmi-wwan - 4.9.111-1
kmod-usb-net-sierrawireless - 4.9.111-1
kmod-usb-ohci - 4.9.111-1
kmod-usb-serial - 4.9.111-1
kmod-usb-serial-cp210x - 4.9.111-1
kmod-usb-serial-ftdi - 4.9.111-1
kmod-usb-serial-option - 4.9.111-1
kmod-usb-serial-pl2303 - 4.9.111-1
kmod-usb-serial-sierrawireless - 4.9.111-1
kmod-usb-serial-wwan - 4.9.111-1
kmod-usb-storage - 4.9.111-1
kmod-usb-wdm - 4.9.111-1
kmod-usb2 - 4.9.111-1
libusb-1.0 - 1.0.22-1
usb-modeswitch - 2017-12-19-f40f84c2-1
usbreset - 4
usbutils - 007-7
lsusb
Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 ls /dev/ttyUSB*
/dev/ttyUSB0

Yes, target your application layers.... Specifically whatever is generating these periodic messages.

Problem solved.
It was firmware issue on USB dongle side.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.