Forum Discussion
Altera_Forum
Honored Contributor
14 years agoTSEMAC 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...
Altera_Forum
Honored Contributor
14 years agoIf that description is correct, I don't think it is valid to wait for it to be cleared.
The clock on the MII interface is generated by the PHY, and its speed depends on the negotiated link speed. In the absence of a cable (etc) this clock is very likely to be stopped - so the current rx/tx can never complete. You either need some more robust 'hardware reset', or be willing to leave the MAC unit 'in reset' until the PHY has finished negotiating the link speed (etc) with its peer.