sorry to hear you are having trouble updating the Espruino WiFi.
You could try upgrading the firmware using the stm32loader.py with a Terminal Window:
Hope this will work for you!
Is the Espruino WiFi connected to anything? Or is it just 'as it came' with nothing attached to the pins?
Also, are you able to use the Wifi in the Espruino WiFi at all at the moment, using normal JS code?
It might be that you have some code running on the Espruino WiFi that is interfering and causing the flashing to fail I guess? You could try running
reset()and see if that helps?
I have the exact experience as the original poster. I've tried the require("Storage").eraseAll() and then reset() approach and it does not help, unfortunately. I'm not sure about running the python code as noted from Christine a year ago, as I can't even get the .bin file from that page to extract on my Mac at the moment.
Is WiFi still working if you try and run some code that uses it?
I've also heard of things breaking just because of an iffy micro USB cable - one that'll supply enough power to run Espruino, but won't keep the WiFi powered up as well. So maybe you could try another one too?
Hey, yep, WiFi still works perfectly (it's what the current project I'm hacking on requires).
I will try a few different cables. Thanks!
For a while I have been trying to update the Wifi Firmware of my Espruino Wifi, but it does not work. Currently the Espruino Wifi itself is running on Firmware Version 2v13. I can not determine the current version of the Wifi Module. Switching the used USB cable did not help either (as suggested in the only other thread I could find for this topic).
My Browser is Chromium 104 (with experimental features enabled) on macOS 12.4.
When using the
Check firmware versionin the settings page of the IDE it always fails with the error message
Looking into the browsers dev tools console reveals the last commands:
Update WiFi module Firmware (Beta)feature does not work as well. The initial dialog shows:
When proceeding the following text is shown in the console:
Thanks for your help!