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.

TDA4VM: UDP CHECKSUM INCORRECT

Part Number: TDA4VM

HI expert,

I used Vision apps ETHFW to create a program that continuously sends 1460 bytes of data from the MCU20.
When I connected the cable to GESI Board PORT3 and sent the data,
On the receiving side (PC), UDP CHECKSUM INCORRECT occurs for almost all packets.

After that, when I connected the cable to GESI Board PORT4 and transmitted 1460 Byte data in the same way,
The frequency of UDP CHECKSUM INCORRECT has been improved.

(1) Why does MAC PORT3 and MAC PORT4 behave differently?
(2) UDP CHECKSUM INCORRECT may occur even if I use MAC PORT4.
      Do you have any ideas for improvement?

[Connect to MAC PORT3]

[Connect to MAC PORT4]

  • Hi,

    Can you share with me the program you used to send the data? I will try to recreate this on EVM on my end.

    Does this also happen when you use iperf3 to send UDP data? If you haven't tried this can you try it? (command : `iperf3 -s` on server and  `iperf3 -c $Server_IP -u -b0` on client)

    Regards,
    Tanmay

  • Hi , Tanmay,

    >> Can you tell me the program you used to send the data? I try to reproduce this in EVM on my side.

    We cannot provide the code for confidentiality reasons, but you should be able to reproduce the code by implementing a program that

    continuously sends a 1440 byte payload over UDP in the file below.

    <vision_apps/apps/basic_demos/app_rtos/rtos_linux/mcu2_0/main.c: appMain ()>

    SDK Version is below.

    ti-processor-sdk-rtos-j721e-evm-08_00_00_12

    ti-processor-sdk-linux-j7-evm-08_00_00_08

    >>Does this also happen when you use iperf3 to send UDP data?

    I ran iperf3, but there was no Lost.

    There was one progress.

    I wondered if there was a problem with the HW, so I checked it on another development board. I tried it with a total of 4 units.

    CheckSum Incorrect occurred in each case when connecting to Port3. However, the frequency of error occurrence has improved

    on one development board.

    As for Port4,CheckSum Incorrect almost disappeared when tried it on another board.

  • Dear Yusuke,

       

         I am not sure whether our TCP and UDP checksum mechanism is the same. Could you help check whether this is the same situation you are facing?

         

         That is could you help check your checksum value and see whether this error is caused by all FF or 00 in checksum value?

    BR

    Sikai

  • Hi , Sikai

    I haven't checked the register, but the checksum set on the packet sent from the MCU20 is not FF or 00.

    Regards,

    yusuke

  • Hi Sikai, Yusuke,

    Are you still facing this issue?

    Regards,
    Tanmay