Hi.
We are developing Ethernet using PDK and NDK.
But data transmission often stops.
Debug results in the MACSTATUS.TXERRCODE value being 1(SOP error) or 2(Ownership bit not set in SOP buffer).
The following information is included in 2.16.1.5 Host Error Interrupt of KeyStone Architecture EMAC / MDIO User Guide :
The host error interrupt (HOSTPEND) is issued, if enabled, under error conditions
due to the handling of buffer descriptors detected during transmit or receive DMA
transactions. The failure of the software application to supply properly formatted
buffer descriptors results in this error. The error bit can be cleared by the EMAC soft
reset or by resetting the EMAC module in hardware.
Is there anything else I need to configure in PDK or NDK?
I use pdk_c665x_2_0_14 and ndk_3_60_00_13.
I am using TCP / IP and only modified NDK_TCP_NOPUSH in the default options.
Data is sent using the send() function, and the data size is variable.
Thank you and regards.
Myeongsu