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.

AM335X MAC address

Other Parts Discussed in Thread: AM3359

i have some question about the MAC add in am3359.

i am working on Raw Ethernet Sockets Programming using sys/bios ,ndk, and sdk.

when i use a PC to send a packet in which the destination MAC address is my am3359‘s ,then my arm3359 board can receive the packet, when i change the destination MAC address in the packet , i find my arm3359 board cannot receive the packet.

i am wonder if i can receive all the packet send to my board regardless of the destination MAC address? 

  • Hello,

    Are you using CPSW or ICSS for Ethernet communication?

    Regards,
    Vinesh

  • i use the CPSW My PHY chip is LAN8710 i am using RMII port 0 how i can receive all the packets regadless of the destination MAC Address?
  • Hello,

    For receiving all packets on the host, you have to configure CPSW in promiscuous mode. The current driver in ISDK does not support this. I think there is a Linux implementation for the same, you might get some information on how to configure CPSW there.

    Regards,
    Vinesh 

  • i am now working the project on ccs5 using sys/ bios and ndk. do you means that in sys/bios ,i can not setup my am3359 to receive packets regardless of the destination MAC address? if i send a packet from PC to ARM, the packet's destination MAC address must be my arm3359's. does it right? is it decide by hardware? In am3359 technical reference manual, i can not figure out how to set CPSW in promiscuous mode? can you give me some advice?
  • Hello,

    The CPSW hardware should be configured to work in Promiscuous mode if you need all packets to be received at the host. Otherwise it learns the MAC address and forwards accordingly. This is not currently supported by the ISDK driver, but I think the configuration is just a matter of setting a few registers right.

    I am not an expert on advising how to configure CPSW.

    Regards,
    Vinesh

  • i have read the pdf below:

    AM335x ARM® Cortex™-A8 Microprocessors
    (MPUs)
    Technical Reference Manual

    i saw that in page 1726 , section 14.5.1 , describe the CPSW_ALE Registers

    can i use CONTROL Register (offset = 8h) [reset = 0h] to receive all the packets?