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
enabling MICROPY_PY_LWIP breaks MICROPY_PY_WIZNET5K #4651
Comments
I can run the simple webserver example and it does not error during startup, but are unable to connect to it. Also, I have found that I can ping the device, but that's all.
Fails every time, not sure what other info I can provide ? |
The lwIP mode works for me, using a PYBv1.0+Wiz550io. The following is enough for it to work, using DHCP by default: import network, socket
lan = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.X5, pyb.Pin.board.X4)
lan.active(1)
while not lan.isconnected():
pass
print(lan.ifconfig())
print(socket.getaddrinfo('micropython.org', 80)) It also seems to work fine for me using a static IP address.
If you can ping it then the physical connection is there, it has an IP address, and the lwIP stack is working. So it should then be able to do everything else. Make sure you use the latest, unmodified code from this repo. |
Hi Damien; I am still having problems with the wiznet module on the PYBOARD11. The current problem is that the wiznet module retains it's first DHCP configuration and does not appear to get a new lease when connecting to a completely different network. Is there a way to force it to renew it's DHCP lease ? Thanks |
Try |
Thanks I am getting a :
And after switching back to manual config:
This combined with the previous issue where it is unable to resolve dns leads me to believe that there may some problem with UDP packets ?? In order to eliminate hardware issue, I ordered and just received a bunch of new WIZNET devices, however I am getting the same results on the old and new hardware ? |
I can connect to the device from a browser using a simple web server, but it looks like outbound connections have a problem ?! |
What are the model numbers of these, is it a 5500 chip? |
Yes, both old and new are 5500 - would you like to login ? - I can set that up |
Please contact me by email (see git log for it). |
I am having problems connecting the PYBOARD to the ubuntu machine for you to login to:
Have you seen this issue before ? - it is a fresh install of UBU18 |
The USB port could be overloaded (power wise). Or the USB Linux driver has gotten into a strange state and no longer works, and the machine must be rebooted (this happens to me sometimes, especially with many repeated pyboard plug/unplug cycles). |
Solved it by using a USB hub, just refused to enumerate otherwise. Sent you an email with the login details |
Probably all of these $5.00 China WIZ devices don't have mac addresses assigned. |
Hello all, I have just started looking into micropython for development. I recently began working with the WIZ820io off a PYBV1.1. I am having all the exact same problems as Diginfo had plus the attempt below. If I build firmware using only the MICROPY_PY_WIZNET5K=5200 option all seems to work fine. Except "socket" doesn't allow for the method "makefile" used in the server example in the docs. I am running out of ideas to get around this. Any help would be greatly appreciated!
-Thank you in advance, Luke. |
The 5500 module has better support than the 5200, so you might want to try that instead. |
i need to connect enc28j60 with esp32 but i dont find WIZNET5K in network. |
Wiznet is only supported on the stm32 port at the moment, not esp32. On esp32 you can use |
Ok thank you
…On Thu, Mar 11, 2021, 06:51 Damien George ***@***.***> wrote:
i need to connect enc28j60 with esp32 but i dont find WIZNET5K in network.
what should i do??
Wiznet is only supported on the stm32 port at the moment, not esp32. On
esp32 you can use network.LAN instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4651 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALWUP5H2I52ZZAHGI2N6DZ3TDBD55ANCNFSM4HB7BZPA>
.
|
…-fixes Minor docs fixes in displayio.Bitmap
Just confirmed this:
MICROPY_PY_LWIP + MICROPY_PY_WIZNET5K
Fails:
MICROPY_PY_WIZNET5K only - success
So it looks like MICROPY_PY_LWIP somehow is breaking MICROPY_PY_WIZNET5K
In both cases ifconfig returns the correct IP, however when using LWIP the device cannot be pinged and is unable to access the network.
The text was updated successfully, but these errors were encountered: