AnsweredAssumed Answered

Vybrid Ethernet Hardware Checksum feature

Question asked by HU Q on May 22, 2015
Latest reply on Jun 1, 2015 by alejandrolozano

Hi,

 

I am working on Vybrid TWRVF65GS10 board. I have tried to implement Vybrid Ethernet Hardware Checksum feature but it is not working

 

The initialization of hardware checksum feature looks like

 

/* Enables insertion of protocol checksum and insertion of IP header checksum. (ENETx_TACC) */

WRITE32(io_addr + TACC, 0x18);

 

/* Enable Discard Of Frames With Wrong Protocol Checksum and Discard Of Frames With Wrong IPv4 Header Checksum (ENETx_RACC) */

WRITE32(io_addr + RACC, 0x6);

 

/* Enable Store and Forward (ENETx_TFWR) */

WRITE32(io_addr + TFWR, 0x100);

 

/* Clear this field to enable store and forward on the RX FIFO (ENETx_RSFL) */

WRITE32(io_addr + RSFL, 0);

 

Is something missing from this code?

Outcomes