Other Parts Discussed in Thread: TEST2
Hello Champs,
HW: C6678 EVM board
1. Customer can receive UDP, TCP, DNS type package in ipv4 protocol. But he can't receive ARP package: ethInfo.ethertype = 0x0806; Does PA network support ARP type package?
2. If PA network doesn't support ARP type, how does the c6678 support APR?
Customer referenced below thread.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/223968/how-to-receive-arp-requests-with-netcp
He modified ethertype to 0x0806, but he still can't receive ARP package.
Below is his configuration code.
/* Initialize structure variable value */
memset(ðInfo, 0x0, sizeof(ethInfo));
/* Ethernet type = IPv4 */
ethInfo.ethertype = 0x0806;
/* Input EMAC port = dont care */
ethInfo.inport = pa_EMAC_PORT_NOT_SPECIFIED;
if(Add_MACAddress (ethInfo) != 0) {
printf("PASS add MACAddress failed\n");
return -1;
}
/* Initialize structure variable value */
memset(&ipInfo, 0x0, sizeof(ipInfo));
/* Ethernet type = IPv4 */
ipInfo.ipType = pa_IPV4;
/* TOS = dont care */
ipInfo.tosCare = FALSE;
/* Add the IP address the example uses */
if(Add_IPAddress(ipInfo) != 0) {
printf("PASS add IPAddress failed\n");
return -1;
}
/* Add the port number on which our application is going to listen on */
if(Add_Port(DST_PORT) != 0) {
printf("PASS add Port failed\n");
return -1;
}
...
Thanks
Rgds
Shine