Other Parts Discussed in Thread: J7200XSOMXEVM
Tool/software:
Hi Team,
We have designed a custom board based on the J7200XSOMXEVM reference design.
We are developing the software for the custom board with PROCESSOR-SDK-LINUX-RT-J7200 (10.00.07.03).
The custom board uses three Ethernet ports: CPSW2g (MCU-RMII1) and CPSWng (RGMII2, RGMII3).
CPSW2g is used for EtherCAT communication, and CPSWng performs general-purpose IP communication.
During CPSW2g communication, if you disconnect and connect the cable in CPSWng, a frame loss may occur in EtherCAT communication.
When we used ftrace to obtain trace data when frame loss occurred and when it did not, we found the following differences.
*image(left:frame loss occurred, right:frame loss not occurred)
Frame loss does not occur all the time, but occurs once every few times.
I plugged and unplugged the cable five times and attached the trace data when a frame lost occurred on the fifth attempt.
Could this be because CPSW2g and CPSWng use the same driver (am65-cpsw-nuss.c)?
Is there a way to solve this?
Regards,
mizutani