Forum Discussion

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

TSEMAC SW reset bit never cleared CIII+KSZ9021GQ

Hi!

I have my board with CYCIII + 2 PHY KSZ9021GQ.

During debugging web_server under NIOS i have error out

"TSEMAC SW reset bit never cleared!".

And correspondingly does not start web-server (no web-server in browser).

Who encountered a similar error?

Log start:

InterNiche Portable TCP/IP, v3.1

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

prep_tse_mac 0

Your Ethernet MAC address is 11:22:33:44:55:66

Static IP Address is 192.168.3.250

prepped 1 interface, initializing...

[tse_mac_init]

INFO : TSE MAC 0 found at address 0x04002000

INFO : PHY Micrel KSZ9021GQ found at PHY address 0x1f 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] - Checking link...

INFO : PHY[0.0] - Link established

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

TSEMAC SW reset bit never cleared!

OK, x=10002, CMD_CONFIG=0x00002000

MAC post-initialization: CMD_CONFIG=0x04000200

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

mctest init called

IP address of et1 : 192.168.3.250

Created "Inet main" task (Prio: 2)

Created "clock tick" task (Prio: 3)

Created "web server" task (Prio: 4)

Web Server starting up :(

Signals on MII - input to TSE:

https://www.alteraforum.com/forum/attachment.php?attachmentid=5148

Signals on TSE - output from FIFO of TSE:

RX

https://www.alteraforum.com/forum/attachment.php?attachmentid=5149

TX

https://www.alteraforum.com/forum/attachment.php?attachmentid=5150

19 Replies