I am trying to use a WIZNET w5500 module on my raspberry pi.
I have found a working firmware that implements the WIZNET5K class ( https://github.com/Wiznet/RP2040-HAT-MicroPython )
The module turns on and I am able to receive an address via DHCP but when I try to initialize a UDP socket to transmit a broadcast package I received an error:
>
Code: Select all
>> import socket
>>> socket.SOL_SOCKET
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SOL_SOCKET'
Code: Select all
>>> import usocket
>>> usocket.SOL_SOCKET
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SOL_SOCKET'