WebMite on Pico 2W

Hello,

How to run Webmite or even MicoPython on Picocalc with 2W? Today I replaced original Pico with 2W version, flashed uf2loader, updated BIOS to 1.6 and unfortunately none version works. uf2loader works fine, it lists all uf2 files but when I load any firmware just black screen appears.

https://www.thebackshed.com/forum/ViewTopic.php?TID=18627&P=6#251333 says

Finally, The standard PicoMite, PicoMiteRP2350, WebMite and WebMiteRP2350 versions should all support the PicoCalc. To use this nuke the current firmware on your PicoCalc and install the relevant version from the download. The code will automatically detect it is running on a PicoCalc and configure itself. You must be running a version of the bios that supports returning the battery level. I’ve been loaned a PicoCalc and tested with BIOS 1.5 and 1.6. The firmware includes the PicoCalc specific code that has been assembled and improved by Ernst Bokkelkamp so thanks should go to him for its inclusion.

WebMite and PicoMite are not compatible with the uf2loader, you must first nuke the flash and then flash WebMite/PicoMite to the Pico 2.

Pretty sure Micropython is also not compatible with the UF2loader. The only viable option of MicroPython (or CircuitPython) for the loader that I’m aware of is the PicoWare builds. While they aren’t the same as the official MicroPython builds, the code itself is mostly the same but with extra platform framework stuff added.

Seems like folks that are into PicoMite/WebMite don’t generally want to use other stuff anyway, and people using MicroPython haven’t been very active on the fourms. Judging from the sheer number of different MicroPython ports to the PicoCalc on github (note: not a complete list!) it seems like most MicroPython users end up building or customizing their own version and then disappearing into the ether, perhaps after sharing a repo on github. And so far it seems no one has had an interest in getting them to work with the UF2loader, which implies that folks who use them don’t use anything else on their device. Also, code or related discussions from any active projects has almost never been shared on the forums, except for LofiFren who occasionally posts about updates to their port.

MMBasic code/projects do seem to be shared here quite often though.

Pretty much everything else is easily swappable using the loader though. Sounds like ZeptoForth has only experimental support for the loader now (which will become official at some point, no doubt). A lot of other projects were built out of, or on top of the PicoCalc Text Starter project, which is compatible with the loader and so things based on it generally are too.

Since practically everything supporting the PicoCalc is community driven, there’s no real organization across projects, so support is kind of scattered and that’s why not everything works with the UF2loader. Projects support it only if the devs on those (often personal) projects choose to put in whatever effort is needed to support it.

Personally, I’d love to see everything supported in the loader, since I find it incredibly useful to swap between things. An old, experimental version of PicoMite does actually work on the loader though, but if you want/need to use the latest PicoMite version, as most people seem to, you’ll have to wipe and flash only it to your device.

3 Likes

I should note that the ‘official’ zeptoforth repo does not include any support for UF2Loader; rather, this is a project of @cathiele’s, which requires changes to UF2Loader in addition to changes to zeptoforth. The reason I have not merged @cathiele’s changes is that I am waiting for UF2Loader to include @cathiele’s changes first, so I do not end up releasing zeptoforth with UF2Loader before the ‘official’ UF2Loader itself supports the UF2 files with holes in them used by zeptoforth. (In theory I could modify the zeptoforth build scripts to generate UF2 files without holes in them, but in many cases this would result in significantly larger UF2 files due to them containing many filler bytes.)

I made a helper Dockerfile where you can customize your own UF2 for MicoPython PicoCalc/MicroPython/firmware/Dockerfile.v127 at main · LofiFren/PicoCalc · GitHub
There are lots of other goodies as well… Hope it helps someone

1 Like