Unable to update keyboard firmware?

Hello all, just got my PicoCalc. All seems good. Pico 2 is inside, works.
Now I wanted to update the keyboard firmware, using the most recent PicoCalc_Bios_v1.2.bin file.
I downloaded STM32CubeProgrammer (for Windows), put the dip switch 1 to on, connected with the programmer (it connects), selected the file and clicked download. The process starts, but then I get “Operation exceeds memory limits”. What am I doing wrong please?

Anyone please? It seems that the firmware i got is the old version as i cannot read the battery level via mmbasic - I get keyboard not responding

just tested ,seem all good

I am under linux , I have no windows installed

Thank you for the reply. I do not have a Linux computer. On windows I get this:

Is there maybe any other setting I should check?

I appreciate any ideas!

NO,things for flashing keyboard firmware is alway simple
just pull the DIP 1 on, and there you go

But compare these two screenshots

I noticed that , in the size input, mine is 0x10000,yours is 0x3227A

which is not normal

I don’t know why this happend

1 Like

Update: it seems the download file was corrupted. I downloaded again and now it works. Thank you!

1 Like

Maybe a stupid question: What does the update for the keyboard improve?

  • Read battery percentage with charging status flag
  • Read and set keyboard backlight
  • Bug fix low_bat,add debounce to avoid false shutdown
  • Depricated report_bat()

v1.2 updates maybe is useful for developers ,it’s like no difference to normal users

if any has inerests, also can check the example code to see how to talk to the keyboard through i2c:

5 Likes

I downloaded STM32CubeProgrammer on my Windows 11 desktop, but no COM port is detected via UART.
I tried another Windows 11 laptop, where COM4 and COM5 are available, but it still could not connect to PicoCalc.

I already set DIP1/ON, connected via USB-C, and launched STM32CubeProgrammer with administrator rights — but still no successful connection.

May I know what else I might be missing? Thanks!

Does anybody have an alternative download link for STM32CubeProgrammer? I’ve been trying to download it all afternoon with no luck. It’s making me crazy.

For the PicoCalc,(unless you made my mod) you have to use USB, not UART to connect to the Cube Programmer.

Hi,

USB mode show “No DFU detected”.
Tried 5 different USB-C cables, also there’s has no hardware detected from Device Manager..

Re-installed the whole STM32Cube, take out batteries from Piocalc, tried everything but still cannot connect

Is there any driver that I am missing?"

Thanks!

This is how I just upgrade the firmware (from Windows 10):

  1. Open PicoCalc
  2. Turn on switch 1 (SW107) (just below the SD-card)
  3. Connect USB-C to the Computer
  4. Hold power button to turn on PicoCalc (Windows plays its ping-pong USB connected sound)
  5. Start STM32CubeProgrammer on the computer
  6. Select “UART” (light blue drop-down at the top right)
  7. Press “Connect” (green button at the top right)
  8. Press tab “Open file” and select “PicoCalc_BIOS_v1.2.bin”
  9. Press “Download” button
1 Like

Oh, I missed the important step — “Hold the power button to turn on PicoCalc” :joy:
I finally succeeded in flashing the v1.2.bin via the UART COM port.
No more errors when print mm.info(battery) now!!!

Thank you very much! :smiling_face_with_three_hearts:

2 Likes

Oops :joy:, I’m glad it worked for you.