As a new user of several wittypipi4 devices I see that UUGEAR has published an excellent guide for upgrading the firmware on wittypi3: https://www.uugear.com/doc/WittyPi3_UpdateFirmware.pdf
Do you have any plans to publish a similar guide for wittypi4 ?
We didn't make a new guild for Witty Pi 4 because its content would be almost identical with the one for Witty Pi 3.
Witty Pi 4 has the same board size and connector locations than Witty Pi 3. The tools listed in the old guide can be used on Witty Pi 4. The only difference is the firmware file you are going to use. The latest compiled firmware file can be found on Github.
The lacking information on the upgrade guide, is how to check the firmware revision. Starting from Witty Pi 4, the firmware ID (at I2C register #0) is fixed and the revision number is stored at I2C register #12. So you can use this command to check its revision number:
i2cget -y 1 8 12
At one point we may update this guide for Witty Pi 4, but we do not take it as a priority task and we do not have the plan at the time being.
We finally made a detailed tutorial for Witty Pi 4 firmware compiling and flashing: https://www.uugear.com/portfolio/compile-flash-firmware-for-witty-pi-4/
Many thanks for posting these detailed instructions for upgrading the firmware on wittyPi4
I'm preparing to upgrade the firmware on several wittyPi4 modules using your recently-posted instructions.
Just one point of clarification: my USBASP programmer has a JP1 jumper (see photograph) which allows the voltage for the target device to be selected, 5v or 3.3v.
Which setting should be used for programming the wittyPi4 ?
Thanks.
During the firmware upgrade does the wittyPi4 need to be connected to a powered-up Raspberry Pi, or is the power from the USBASP sufficient ?
I think I've managed to answer my earlier question having just successfully upgraded the firmware to version 6.
The wittyPi4 board can be firmware-upgraded through its ICSP header, with only the USBASP programmer connected to the board.
To make the process completely reliable, I soldered 2x3 ICSP header pins onto the wittyPi4 board.
Thanks for your earlier advice to use the 3.3v jumper setting for the target device.