Micropython wiznet5k.activate does not work in 1.21

I bought a W5100S ethernet hat that I want to combine with a raspberry pico W.
I wanted to run the example from the wiznet’s git to be able to ping the pico:

from machine import Pin,SPI
import network
import time

time.sleep(5)

led = Pin(25, Pin.OUT)

#W5x00 chip init
def w5x00_init():
spi=SPI(0,10000, mosi=Pin(19),miso=Pin(16),sck=Pin(18))
nic = network.WIZNET5K(spi,Pin(17),Pin(20)) #spi,cs,reset pin
print(‘b’)
nic.active(True)
print(‘e’)
nic.ifconfig((‘192.168.1.20’,‘255.255.255.0’,‘192.168.1.1’,‘8.8.8.8’))
while not nic.isconnected():
time.sleep(1)
print(nic.regs())
print(nic.ifconfig())

def main():
w5x00_init()

while True:
    led.value(1)
    time.sleep(1)
    led.value(0)
    time.sleep(1)

if name == “main”:
main()

However the pico becomes totally unreachable with either thonny and rshell. Even reloading the firmware is not enough.
I tried to find out, and apparently the line that was problematic is:

nic.active(True)

I tried aswell several firmwares and what I found out is that the latest version of micropython was not working, even downloaded from the micropython website:
https://micropython.org/resources/firmware/W5100S_EVB_PICO-20231005-v1.21.0.uf2

Version 1.20 was working:
https://micropython.org/resources/firmware/W5100S_EVB_PICO-20230426-v1.20.0.uf2

Do we have any idea why?
My goal would be to be able to use the wifi to create an hotspot that connect to the network I have with the ethernet.

hello.
Unfortunately, we don’t yet have firmware that supports Pico W and W5100S Ethernet simultaneously in the latest version. We don’t know how it could have worked in version 1.20, but we think you should be able to run your project using the 1.20 version of the firmware that works.
Thank you.

I did try to use a pico H as well and I was getting the same issue, the whole system freezes when it comes to activate the network, and the problem was solved only when I switched to v1.20

On the integrated board (W5500-EVB-Pico the reset and SPI-sck are on different pins…??

Having said that - I can’t get mine to work - runn uPy

W5100S_EVB_PICO-20240222-v1.22.2.uf2

from machine import Pin,SPI
import network
import time

#W5x00 chip init
def w5x00_init():
    spi=SPI(0,10000, mosi=Pin('GPIO19'),miso=Pin('GPIO16'),sck=Pin('GPIO18'))
    nic = network.WIZNET5K(spi,Pin('GPIO17'),Pin('GPIO20')) #spi,cs,reset pin
    print(nic)
    nic.active(True)
    print(nic)
    nic.connect()
    # nic.ifconfig((‘192.168.1.20’,‘255.255.255.0’,‘192.168.1.1’,‘8.8.8.8’))
    while not nic.isconnected():
        time.sleep(1)
        print(nic.regs())
        print(nic.ifconfig())

w5x00_init()

This just hangs on nic.active() But where do you specify the INTn pin from the network interface? GPIO21 on the integrated board

class WIZNET5K – control WIZnet5x00 Ethernet modules — MicroPython latest documentation