i have a stm32f4 discovery with a WIZ820io connected like described in some turorials. I have recompiled micropython with the WIZNET5K module and flashed it on my board.
i have tried the "get some data from a website" from the tutorial.
Code: Select all
import network
nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.PA4, pyb.Pin.board.PA3)
nic.ifconfig(('xxx.xxx.xxx.246' , '255.255.255.0' , 'xxx.xxx.xxx.1' , 'xxx.xxx.xxx.2'))
import socket
addr =socket.getaddrinfo('micropython.org',80)[0][-1]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 2] ENOENT
>>>
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 2] ENOENT
I have not found information about this error, so I need some help.
Thanks in advance
Ulrich