Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

[Solved / Archived] wittypi4 firmware upgrade

8 Posts
2 Users
1 Likes
729 Views
(@guldberg)
Posts: 6
Active Member
Topic starter
 

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 ?

 
Posted : 01/09/2023 2:51 pm
(@admin)
Posts: 511
Member Admin
 

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.

 
Posted : 01/09/2023 2:59 pm
(@admin)
Posts: 511
Member Admin
 

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/

 
Posted : 30/04/2024 1:11 pm
(@guldberg)
Posts: 6
Active Member
Topic starter
 

Many thanks for posting these detailed instructions for upgrading the firmware on wittyPi4

 
Posted : 16/05/2024 11:54 am
(@guldberg)
Posts: 6
Active Member
Topic starter
 

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.

1716041757-USBASP-IMG_1213.jpg
 
Posted : 18/05/2024 4:15 pm
(@admin)
Posts: 511
Member Admin
 

@guldberg you should use 3.3V in such case.

 
Posted : 19/05/2024 3:03 pm
(@guldberg)
Posts: 6
Active Member
Topic starter
 

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 ?

 
Posted : 19/05/2024 4:39 pm
(@guldberg)
Posts: 6
Active Member
Topic starter
 

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.

 
Posted : 19/05/2024 8:07 pm
Dobby reacted
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.