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.

AM6442: tx underFlow Error occurs when ICSSG sends, and part of the data in the packet is lost

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

When we use ICSSG for sending at a gigabit network speed, we found that some data will be lost when the total size of the packets exceeds 64 bytes, but this issue does not occur at a 100 Mbit network speed.
By printing the ICSSG status, we found that txunderFlowErr will increase whenever data is lost, and the data in txTotalByte is consistent with our expectation.
The PRU firmware we used is provided in the MCU+ SDK 08.04 ENET driver. How should we troubleshoot and resolve the txunderFlowErr issue?

  • This sounds like an issues we've seen when the packet buffers used by the PRU firmware were located in DDR memory. Apparently these must be placed in internal SRAM.

    On older MCU+ SDK versions these buffers were defined by the (example-)application, which is why we missed this initially, but I was under the impression that with more recent MCU+ SDK versions this is all handled by SysConfig generated code.

    I'm sorry I can't tell you more precisely what to look for. Maybe someone from TI can provide you more guidance.

    Best Regards,

    Dominic

  • Hi Dominic,
    Thanks for your reply, according to your suggestion, I checked the link script, after reassigning pru related memory to SRAM, the problem is solved.
    Best Regards,

    Zhang Ben.