AnsweredAssumed Answered

TCP AND UDP COMMUNICATION PROBLEM BETWEEN TWO IMX6

Question asked by Muhammet Emin ŞAHİN on May 22, 2019

We have two IMX6 processors in our system.One of the processor sends uncompressed video over UDP to other one. And there is also async. data communication (10 to 120 Bytes max) between each other  using TCP . We experience sometimes dropped packets or sometimes transfer delay in the communication. We tried different methods in our source code. We also tried migrating the communication from TCP to UDP but we still see communication problems as before.

We did write some experimantal code for send/receive purposes between processors. We think sender side is able to send but the receiver side cannot  receive all the packages sent.

 

We tried to suspend UDP video transfer while communication takes place and we saw that communication works flawlessly. But as sson as video transfer begins, the communication problem arises.

 

How can we debug the problem? Is there a possible solution we can try?

 

QT version : 5.3.2

UDP transfer : QUDPSocket

TCP transfer : ZMQ

Yocto : Poky Distro

Kernel : 3.14.28

Outcomes