Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Triple-Speed Ethernet with ksz8893

I want to use the mii of ksz8893 connect to Triple-Speed Ethernet ,but it cannot work.

my socket can listenning, but i cannot ping from pc.please tell me what should i do?

26 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    So you would only need to check the connection status of the other 2 PHYs, and return when one is connected.

    If you don't care whether a line is connected or not (as is possible for testing), just return any correct value for the link status

    --- Quote End ---

    Thanks my friend,

    you mean,I don't need to check the 3th mac(link to my mii)?

    I just check phy1 or phy2 link good?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi my friends,

    This is my new report,

    --- Quote Start ---

    Please enter your 9-digit serial number. This is printed on a

    label under your Nios dev. board. The first 3 digits of the

    label are ASJ and the serial number follows this.

    -->Created "Inet main" task (Prio: 2)

    Created "clock tick" task (Prio: 3)

    123456789

    123456789

    Your Ethernet MAC address is ff:ff:ff:ff:38:55

    Static IP Address is 192.168.1.30

    prepped 1 interface, initializing...

    [tse_mac_init]

    INFO : TSE MAC 0 found at address 0x0a005000

    INFO : PHY KSZ8893 found at PHY address 0x01 of MAC Group[0]

    INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0]

    INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...

    INFO : PHY[0.0] - Auto-Negotiation PASSED

    INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...

    INFO : PHY[0.0] - Auto-Negotiation PASSED

    INFO : PHY[0.0] - Checking link...

    INFO : PHY[0.0] - Link established

    INFO : PHY[0.0] - Speed = 100, Duplex = Full

    OK, x=0, CMD_CONFIG=0x01000000

    MAC post-initialization: CMD_CONFIG=0x05000203

    [tse_sgdma_read_init] RX descriptor chain desc (1 depth) created

    mctest init called

    IP address of et1 : 192.168.1.30

    Simple Socket Server starting up

    [sss_task] Simple Socket Server listening on port 30

    Created "simple socket server" task (Prio: 4)

    --- Quote End ---

    I still cannot ping through from pc to my nios.

    I had check my ksz8893's mii by omap-L138, and it can work good.

    What should I do?

    Thank you very much !!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi all my friends,

    Thanks for your help, my ksz8893 has been working well.

    Thanks again!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi all my friends,

    Thanks for your help, my ksz8893 has been working well.

    Thanks again!

    --- Quote End ---

    If available, please show the code for other persons, that may have such problems in the future.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Originally Posted by Socrates

    If available, please show the code for other persons, that may have such problems in the future.

    --- Quote End ---

    I will post my code and project in the next few days, I am ordering them.