Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W5500 LAN Survives Soft Reset #8085

Open
thestumbler opened this issue Dec 15, 2021 · 0 comments
Open

W5500 LAN Survives Soft Reset #8085

thestumbler opened this issue Dec 15, 2021 · 0 comments

Comments

@thestumbler
Copy link

Setup is Pyboard v1.1 with Adafruit Ethernet Feather W5500 module connected. My problem is that the network object (I'll call it the NIC) doesn't reset on power up, nor can I re-instantiate it. There doesn't appear to be any function to re-initialize, de-initialize, or query the NIC once the board has done a soft reset. However, the NIC still works, and I can open sockets for TCP and UDP communications.

My temporary workaround is to check the reset reason at boot time, and create the NIC object only if it was a hard reset. However, this means I have no visibility to whether an ethernet cable is connected or not. I posted about this on the Micropython forums, but got no reply https://forum.micropython.org/viewtopic.php?f=6&t=11576

Is this the intended operation of the W5500 module? Or am I doing something boneheaded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant