Other Parts Discussed in Thread: SYSBIOS
Hi,
I'm in trouble receiving packets from the Ethernet: the received packet len always seem to be truncated. The len is variable but always truncated , normally range from 28 to 32 bytes when receiving and ARP request. The message data appears to be corrected up to the declared len, while the trailing bytes seems to be unchanged (not transferred by the DMA).
I use a custom board with a Marvel PHY 88E1512, and a custom driver (no NDK or SYSBIOS) that works on the EVM. The Marnell driver is imported from u-boot (errata work around already implemented), and the 1000 MHz half duplex mode should be disabled (if I have correctly patched the code)
The C6678 Ethernet STATB message count is correct while the RX message is always multiple of 64 bytes in accordance with the real messages size rounded up to a minimum of 64 bytes.
The packet size extracted from the queue descriptor is incorrect but in accordance with the bytes transferred to my host buffer. I look around in the Giga Ethernet module but there are no errors reported. Also the PHY seems Ok (but maybe I don't look at the right registers).
When I enable the Marvell packet generator with a size of 64 bytes, I can receive all the message but with a variable size between 24 to 42 bytes, more or less).
I wonder if someone have a suggestion on where to look to investigate the problem, at least to understand if I have to look at the C6678 setup or at the Marvell PHY setup.
I apologize this is a partial report of my previous question Problems C6678 + PHY 88E1512 (https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/531640