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'
stm32L476RG on W5500 cann't find driver.
Re: stm32L476RG on W5500 cann't find driver.
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?
Re: stm32L476RG on W5500 cann't find driver.
Trying dfu-util also but i can download the dfu-util on sourceforge because the site cannot be reached. Alternatives?
Re: stm32L476RG on W5500 cann't find driver.
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())
don't know why is it like that.
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())
don't know why is it like that.