stm32L476RG on W5500 cann't find driver.

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
john3368863
Posts: 3
Joined: Sun Jan 28, 2018 8:46 am

stm32L476RG on W5500 cann't find driver.

Post by john3368863 » Sat Mar 10, 2018 4:43 am

I downloaded the firmware of stm32L476RG, and I want to connect a w5500 adapter on it. When I start writing code, it reminds me that I have no WIZNET5K driver. How can I add the driver to the firmware? Ask for help

source:
import network
nic = network.WIZNET5K(pyb.SPI(1),pyb.Pin.board.X5,pyb.Pin.board.X4)
print(nic.ifconfig())

error:
Traceback (most recent call last):
File "main.py", line 4, in <module>
AttributeError: 'module' object has no attribute 'WIZNET5K'

mheruian
Posts: 7
Joined: Tue Feb 13, 2018 12:33 am

Re: stm32L476RG on W5500 cann't find driver.

Post by mheruian » Tue Jun 26, 2018 3:07 am

i have the same issues also, i had tried doing dfu setup and uploading the 1.9.4 version of firmware dedicated for network using dfuse. Why is it now working?

mheruian
Posts: 7
Joined: Tue Feb 13, 2018 12:33 am

Re: stm32L476RG on W5500 cann't find driver.

Post by mheruian » Tue Jun 26, 2018 3:08 am

Trying dfu-util also but i can download the dfu-util on sourceforge because the site cannot be reached. Alternatives?

mheruian
Posts: 7
Joined: Tue Feb 13, 2018 12:33 am

Re: stm32L476RG on W5500 cann't find driver.

Post by mheruian » Tue Jun 26, 2018 3:38 am

Able to fixed it after dfu firmware update 1.9.3 then factory reset pyboard v1.1

After factory reset, w/o dfu firmware update, following lines now work

import network
nic = network.WIZNET5K(pyb.SPI(1),pyb.Pin.board.X5,pyb.Pin.board.X4)
print(nic.ifconfig())

:D don't know why is it like that.

Post Reply