Forum Discussion

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

OpenCores MAC driver error mesages

Hello!

Im using a custom board with a KS8721BT chip. It have not any initialization so in the eth_ocm_phy_init() function i'm reseting it and waiting for auto negoriation to complete.

Apparently everything it's ok, I have the following log in the program:

=============== Software License Reminder ================

This software project uses an unlicensed version of the NicheStack TCP/IP

Network Stack - Nios II Edition. If you want to ship resulting object

code in your product, you must purchase a license for this software from

Altera. For information go to: "http://www.altera.com/nichestack"

=====================================================

InterNiche Portable TCP/IP, v3.1

Copyright 1996-2008 by InterNiche Technologies. All rights reserved.

eth_ocm_prep

Your Ethernet MAC address is 2a:52:61:75:6c:2a

Static IP Address is 192.168.1.18

prepped 1 interface, initializing...

[eth_ocm_init]

[eth_ocm_phy_init] PHY ID 0x1f 22 1619

[eth_ocm_phy_init] Found KS8721B/BT PHY

[eth_ocm_phy_init] KS8721B/BT Auto-neg capabilities: 0x1e1

[eth_ocm_phy_init] LXT972A not found!

[eth_ocm_phy_init] Marvell 88E1111 PHY not found!

[eth_ocm_phy_init] DP83848C PHY not found!

[eth_ocm_phy_init] Waiting on PHY link...OK. x=11164, PHY STATUS=786d

[eth_ocm_phy_init] Full Duplex is 1

[eth_ocm_init] Configuring MAC address 2a:52:61:75:6c:2a

Opencores MAC post-init: MODER = 0x0000a403

mctest init called

IP address of et1 : 192.168.1.18

Created "Inet main" task (Prio: 2)

Created "clock tick" task (Prio: 3)

Simple Socket Server starting up

[sss_task] Simple Socket Server listening on port 30

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

But after a moment I have the next messages:

Frame dropped: too busy to receive

Frame dropped: too busy to receive

Frame dropped: too busy to receive

Frame dropped: too busy to receive

Frame dropped: too busy to receive

...(for ever!)

Any idea why this happen? I'm using a static IP, no DHCP enable in the Niche Stack.

12 Replies

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

    Oh right men, I'll add the constraints(I've never used the script interface before).

    My system has a processor at 100MHz(f variation), OCM and memory at 60MHz.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello jakob!

    Well I'm sorry for not replying before and have forgotten this thread. We didn't notice the compilation was reporting some critical timing warnings (...). That's what what we are working on right now.

    Thx for your help.