I'm using a Pyboard1.1 + a WIZ850io ethernet module. I installed a pyboard firmware with network module and followed instructions at:
http://docs.micropython.org/en/latest/l ... NET5K.html
but with no success, that is:
nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.X5, pyb.Pin.board.X4)
...ok with no error messages
nic.ifconfig(('192.168.0.4', '255.255.255.0', '192.168.0.1', '8.8.8.8'))
...ok with no error messages, but
nic.ifconfig()
returns ('0.0.0.0', '255.255.255.0', '0.0.0.0', '8.8.8.8')
if useful nic.regs()
Code: Select all
Wiz CREG:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 07 d0 08 28 00 00 00 00
0020: 00 00 00 00 00 ff ff 00 00 00 00 00 00 bf 00 00
0030: 00 00 00 00 00 00 78 25 04 00 00 00 00 00 00 00
0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Wiz SREG[0]:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 07 d0 08 28 00 00 00 00
0020: 00 00 00 00 00 ff ff 00 00 00 00 00 00 bf 00 00
Wiz SREG[1]:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 07 d0 08 28 00 00 00 00
0020: 00 00 00 00 00 ff ff 00 00 00 00 00 00 bf 00 00
Wiz SREG[2]:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 07 d0 08 28 00 00 00 00
0020: 00 00 00 00 00 ff ff 00 00 00 00 00 00 bf 00 00
Wiz SREG[3]:
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0010: 00 00 00 00 00 00 00 00 07 d0 08 28 00 00 00 00
0020: 00 00 00 00 00 ff ff 00 00 00 00 00 00 bf 00 00
Tnx