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.

DM365 MAC to issue test packets

Hi all,
 
We used DM9161B of Davicom ethernet phy and followed the below settings for DM9161B registers. We could pass the test of 100Mbps, but 10Mbps, we still need DM365 MAC to issue test packets, i.e. the continue Pattern-genous (Random/FF/55), for testing 10Mbps. Could TI help on such test pactkets? We wanted to add the code to diagnostic on DM368 IPNC.
 
 
---------------------------------------------------------------------------------------
For 10Mbps:

1.  Add the attached file to the initial code  and set as follows

0 H  (0)     = 0100 for 10Mbps

14H (20)   = 10 for MDI / B0 for MDIX

1DH (29)  =  0600 for disable power saving mode

  12H (18)  =  3800 for Link Pulse disabled , good link condition forced (without  Link partner )

2.  Test pattern is from MAC , please check with MAC manufatory.

---------------------------------------------------------------------------------------
For 100Mbps:

0 H  (0)     =  2100 for 100Mbps

14H (20)   = 10 for MDI / B0 for MDIX

1DH (29)  =  0600 for disable power saving mode

---------------------------------------------------------------------------------------
 
Thanks in advance.


Best regards,

Omin
  • Hi Omin,

    Let me confirm that I think you are looking for the DM365 EMAC to send out test packets so that the test code which is provided by PHY manufacturer can be used to validate the PHY. 

    If this is the case, I don’t think the DM365 EMAC has the capability to generate test packets like that by itself. 

    You can use Linux software for doing this. Raw socket in Linux provides a way to send a packet of arbitrary content.

    We don’t have such software ourselves.

    Thanks and best regards,

    Tai Nguyen