This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Fail to Receive ARP Request on PA_emacExample (C6678)

Hi all. I learned post https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/273000 with same problem.

My net driver also based on PA_emacExample and I can tx/rx UDP type packet (unicast and boadcast both).

But the ARP reply from PC does not triggered my ISR ( that all what i wont ).

I had config in Add_MACAddress()

memcpy(ethInfo.dst, srcMac, pa_MAC_ADDR_SIZE); // srcMac is the DSP MAC
ethInfo.ethertype = eth_type;

if (eth_type == 0x0806)
{
routeInfo.dest = pa_DEST_HOST;
nFailInfo.dest = pa_DEST_HOST;
retVal = Pa_addMac (gPAInstHnd,
pa_LUT1_INDEX_NOT_SPECIFIED,
&ethInfo,
&routeInfo,
&nFailInfo,
&gPaL2Handles[0],
(paCmd_t) pHostDesc->buffPtr,
&cmdSize,
&cmdReplyInfo,
&cmdDest);
}
else
{
retVal = Pa_addMac (gPAInstHnd,
index,//pa_LUT1_INDEX_NOT_SPECIFIED,
&ethInfo,
&routeInfo,
&nFailInfo,
&gPaL2Handles[0],
(paCmd_t) pHostDesc->buffPtr,
&cmdSize,
&cmdReplyInfo,
&cmdDest);
}

I also ignor Add_IPAddress and Add_Port on ARP case.

Pls help!

  • Hi Leon,
    We are working with factory team to answer this post. Thank you for your patience.
  • As you are able to receive UDP TX/RX packets on the EVM, do you use L2 classification only or L2/L3/L4 classification of PA?

    With the regular UDP packets, does the ISR trigger when a packet received?

    Regards, Eric
  • Hi ,Eric.

    Thanks for the response.I know some of your posts and I am impressed by your approach to problems.I hope that we move on this issue more than "RTFM".

    About my issue: I use L2/L3/L4 method ,when settings of MAC/IP/Port are static (that mean hardcode declaration on init in setup_PASS() ) and my appl work pefect via ISR only with several of addresses whit UDP regular packets. For ARP reply entry I'm use L2 classification only (whit eth type 0x0806) but ISR is not trigerred although the PC send the ARP packet ritgh (Wireshark).

    The next question will be about add/remove L2/L3/L4 classification dynumic , not only hardcode  in init. Routine Switch_update_addr() dosn't work.  

    Thanks in advance,

    Leon.

  • Hi , anybody can help?

  • Hi guys, have something new about ARP?

  • Hello,

    I encounter the exact same problem. Anything new with this issue?

    Thanks in advance,

    Elad.