Other Parts Discussed in Thread: TDA4VL
Hello ,
I need to know why is the ICMP size is limited to 60 bytes , please support if there is any option to increase the packet size to be 64 bytes .
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.
Hi,
May I know which SDK version you are using and also the Ethernet application running?
I need to know why is the ICMP size is limited to 60 bytes
When you send ping (ICMP) request message it will send the packet with 64 bytes out of NIC.
Can you please share the packet capture as well (from Wireshark)
Best Regards,
Sudheer
Hi,
what do you mean by the Ethernet application?
ICMP messages via CPSW you are talking right?
If so, I am asking the CPSW driver running is Native Linux Driver or AUTOSAR MACL?
But, if any case packet size will be >=64 bytes.
I need to know why is the ICMP size is limited to 60 bytes
Where you have seen ICMP size is limited to 60 bytes? Please share more details.
Also, perform ICMP test and confirm is your understanding of 60 bytes ICMP packet size is observed or not?
I have checked at my end by connecting CPSW2G to PC and ran Native Linux Driver (default enabled from Linux SDK for MCU CPSW2G), packet size >=64 bytes.
Best Regards,
Sudheer
Hello ,
we use the AUTOSAR MCAL ,
about the 60 bytes, I attached a screenshot of the ICMP test , please check the top left marker .
Hi,
It could due to the CRC of Ethernet packet (4 bytes) removed by NIC while passing to application.
You can check byte count from CPSW External port Tx byte count (octet count) statistics, how many bytes transferred by CPSW.
Similarly we have Rx byte count (octet count) as well.
Send only ICMP request and check above CPSW Tx, Rx statistics counter of octet count will provide you the no.of bytes the packet has.
Best Regards,
Sudheer
Hi,
Can you please check above my comment and capture CPSW statistics and confirm.
Best Regards,
Sudheer
This check box must be enabled to add the 4 bytes of the CRC and then the total packet size will be 64 instead of 60?
Hi,
could you please clarify what do you mean by the NIC and the CPSW?
CPSW is SOC side Ethernet interface.
NIC I mean from PC point of view where you are running the ICMP command.
I mean send ICMP request from Test PC to TDA4VL CPSW and check Rx Statistics of CPSW and for response check Tx statistics of CPSW.
Please refer to TRM (Register details) from SOC page, for the information about CPSW statistics.
Best Regards,
Sudheer
Hi,
I am not sure about the tool you are using.
I can't comment on check box.
Best Regards,
Sudheer