WIZnet W5100S-EVB-Pico board can install micropython but after first "boot" it is not found #9199
Replies: 3 comments 16 replies
-
a) About non-working with power-pack: Are you sure that main.py was really copied to the board? Thonny does not do that by default. |
Beta Was this translation helpful? Give feedback.
-
Given that it's also failing with CircuitPython that's a bad sign that there might be a hardware issue with the board (perhaps the flash chip). It's difficult though to come up with a theory that explains what you're seeing... the best I can think of is that when MicroPython writes its main.py into the flash that somehow it's causing corruption earlier in the flash. I haven't tried this myself, but the rp2040 bootloader allows downloading of the flash via the How handy are you with gdb and SWD debugging? You can use the working board as a SWD debugger for the other one using picoprobe, openocd, and gdb? Another option is you could try building a firmware image that never writes to flash. The easiest way to do this would be to modify You could also try modifying ports/rp2/rp2_flash.c line 58 to reduce the size that it thinks the available flash is and see if preventing it writing past a certain point helps. |
Beta Was this translation helpful? Give feedback.
-
hi @nickehallgren -- I've been investigating this on a W5500 board. Can you please confirm something -- are you able to reproduce this problem where the board becomes unavailable over USB if you flash a main.py that only blinks an LED. i.e. does the problem only happen if your main.py tries to activate the LAN interface? If so, could you please share the main.py that you're using? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ok, so I have a couple of this board and one is working perfectly but the other can be programmed with micropython, I can upload a led blinking main.py but as soon as I disconnect the board from the computer it will never be found again (using Thonny or rshell as port is not found). I can also see that the main.py is not called (led not blinking) when plugged into a batterypack.
As soon as I re-flash micropython it starts again and everything works until disconnect. I've tried the nuke flash script but with the same result...
Any ideas on how to get it to work?
Beta Was this translation helpful? Give feedback.
All reactions