For me, when trying Micropython w/ OpenMV, the ethernet stack does not work at all, I always get an DHCP timeout.
When trying vanilla Micropython 1.23, I can only get a DHCP lease, but I can't set a static IP address.
I've added all technical details in a github issue here, but I'm requesting some help from the Arduino side to fix this bug.
Thank you in advance!
R
Hi @razvanphp. I see the MicroPython maintainers requested you to notify Arduino of this for administrative purposes:
let Arduino know about the issue and they will assign us to fix it.
Please do that by submitting a ticket through the contact form here:
https://www.arduino.cc/en/contact-us
The people at Arduino who are involved in the MicroPython development don't necessarily monitor every forum post, so they might not see your topic here.
Thank you @ptillisch, I did that as well.
In the meantime, mistery solved!
It seems that the order of lan.active(True)
and lan.ifconfig([tuple])
matters, in the sense that calling active resets the interface to DHCP:
I will try to contribute this back to the documentation.
1 Like