Vybrid Ethernet Hardware Checksum feature

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Vybrid Ethernet Hardware Checksum feature

990件の閲覧回数
muhammad_qasim
Contributor I

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?

タグ(3)
0 件の賞賛
返信
1 返信

888件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I have no experiece with ENET but I believe that you can use as reference the MQX code.

Please refer to the attached file.

Let me know if that helps.

/Alejandro

0 件の賞賛
返信