Anybody have interesting to compile firmware for RP2350 / pico2?

Not my area of expertise either!

Yes it runs ok on my Pico2W. Thanks.

I’ve had the same issues as others - PicoMite runs on my Pico 2 W but I get the same message about the keyboard not being detected (“I2C Keyboard not found. OPTION KEYBOARD disabled”). My Pico 2 W was indeed from Pimoroni. However, it’s not the Pirate-brand Pico Plus 2 W. The silkscreen matches that of other vendors (like SB Components and Farnell), and includes the same FCC ID (2abcb-pico2w) on the PCB, so I suspect it is indeed the reference/official Pico 2 W.

I got the pico-sdk toolchain up and running, and managed to compile cuu’s PicoMite source but got the same result (I2C Keyboard not found) as with the pre-compiled u2f at the Mega link.

I’m pretty new to the firmware side of things so I’m not sure how I can start debugging/resolving this one on my own, but I’m happy to help test this if anyone does have any suggestions (same goes for anyone making any progress with Micropython on Pico 2 W).

OK I’ve had some success with the build shared by guu!

I tried rebuilding and flashing with a few different configurations (the upstream repo, setting the board to PICOUSBRP2350, another rebuild of PICORP2350). None of it worked - some builds (like PICOUSBRP2350) didn’t complain about the keyboard not being detected, but they didn’t accept any keyboard input.

So before wrapping up for the night, I decided to reflash guu’s build (the Mega link) so that I’d have a base to start with if anyone had any ideas worth testing. And for whatever reason, the keyboard is now detected!

I wonder if an initial picotool erase would have helped get here quicker? Perhaps not having a clean slate was breaking something. Unfortunately I don’t have another Pico 2 W on hand to test with and can’t seem to break this one again.

good news

just for confirmation

you are running the PicoMite with usb type c cable or pure battery mode ,but not with micro usb cable ,right?

Yes! That’s it

I had to flash using the Micro USB port on the Pico 2 W itself because I can’t enter BOOTSEL mode with the USB C port on the PicoCalc mainboard. The USB C to C cable is known good. I’ve now done some more testing and can confirm - when the Micro USB cable is left connected, booting PicoMite leads to I2C Keyboard not found errors. Disconnecting the cable and rebooting (battery only mode) lets it detect the keyboard. It also boots fine with a USB C cable connected (keyboard working).

So, I’ve found that I can only enter BOOTSEL with the Micro USB port (doesn’t work on USB C port), but I can only get a PicoMite serial console using the USB C port (no serial console on Micro USB port).

2 Likes

Also, I did note that connecting a USB C cable to the PicoCalc enumerates the TTY on my Mac as /dev/tty.usbserial-210 (which gives me a serial console for PicoMite). Connecting to the Micro USB port (necessary for entering BOOTSEL) yields /dev/tty.usbmodem2101 in normal boot (but gives no PicoMite serial console).

Does the WEB command work?

No. The WEB command does not currently work.

Someone from the community will need to port those missing commands over. While the Pico2 will currently work in the PicoCalc (with a custom firmware build to support it – it’s different from the firmware for the Pico), none of the wireless functionality is accessible via PicoMite/MMBasic. It’s unclear if the wireless functionality is supported in MicroPython or Lisp, either, as no one has mentioned it yet.

More info:

So for PicoMite/MMBasic, for now the only benefit of using a Pico2 over a Pico is the performance boost, as mentioned here:

Newbie question: how do i use this on my picocalc with a pico 2?

AFAIK you can only flash with the Picomite firmware posted by guu above.

And this gives with a pico 2W :

Got it this morning, 1 day sooner than expected ! :blush:

Does this work using the USB serial port? I don’t have my PicoCalc yet but I do have a bare Pico 2 W. I’d like to flash it before I get my PicoCalc and run it from a terminal emulator if possible.

I flashed my Pico 2W before my PicoCalc arrived and the flash was successful. I wasn’t able to use it standalone though, and I wasn’t sure if it would work. When the PicoCalc arrived, after testing with the Pico that it came with, I swapped it for the Pico 2W and it worked as expected, similar to what Oldric showed.

I’m guessing the firmware requires the extra PicoCalc hardware and especially the USB-C port to exist. When using it in the PicoCalc, serial is only available through the USB-C, and not the USB port on the Pico 2W itself. If it’s routing that somewhere else in the firmware, then it’s not surprising the built in port is essentially disabled.

I didn’t try it but what you may be able to do is flash the regular PicoMite firmware, and NOT the PicoCalc firmware if you want to use it via USB serial before the PicoCalc arrives. You could also probably use WebMite that way and actually be able to use wifi on the Pico 2W. (That’s not currently supported on the PicoCalc, but hopefully one day…)

1 Like

You mean the Micro-usb port on the Pico 2w right?

no ,not working with Micro-usb port unfortunely , sorry

Worked for me! Thanks. I got my pico 2w from Raspberry Pi Pico 2W : ID 6087 : Adafruit Industries, Unique & fun DIY electronics and kits . Soldered headers on. Flashed the uf2 from the mega link. Works as expected.

is your version the same as in the official git-repo (PicoCalc/Bin/PicoCalc_PicoMite_v1.1_pico2.uf2 at master · clockworkpi/PicoCalc · GitHub) or is it different?

It is the same uf2 in mega and in PicoCalc github repo

1 Like