[Sticky] New Firmware, Manual, Bootloader Script, Daemons Released
We just released new New Firmware, Manual, Bootloader Script and Daemons. Can be downloaded form here
I'm having trouble updating the firmware. The pi freezes at this point and will not update the firmware. (I modified the bootloader script to show me the debug messages as well) As far as I can tell, it is connecting to the UPS via serial but it is not getting responses back. I have tried it with the daemon running and with it stopped and I have gotten the same result. config.txt is set up in accordance with the instructions.
Please provide me your Raspberry Pi Model you are using as also OS running on it.
Cam you also send me the full window of messages you are receiving, I mean messages without your modification
Thank you and Kind Regards
I made an image copy 16GB, updated and upgraded with everything installed. Please try this. The link to it is provided in the text file you can downloads form here:
Just download this *.txt file, use provided in it link, to download the SD card image, unzip, and then use provided in the zip file imager program to burn the SD card.
Please keep me informed.
BR Pi Master
Please do not use *.hex file I left inside of the SD card image. It is my own testing hex file. Please use the official file we released
I've read the manual and it would be useful if manual contained type of connectors that are on board
I figured out battery connector is JST (..I think?) but I have no idea what type of connector I'm supposed to be used for FAN or what exact type of connector to use for the RS232? (actual part number would be perfect as that would leave little room for error)
Hi, A new version of manual and firmware is already ready. However we delay little bit the release for few days, as doing extensive testing. We will update the manual with requested information also.
BR Pi Master
Hi, I am a new Italian user. I bougth a UPS Pico HV4 board stack with a lot of adv extensions. At last I got mounted everything, done every software updating and tailoring, and then i wanted to apply the new firmware, but... in the attached screenshot the stuck situation.
The Os is Raspberry OS 64 bullseye on ssd
A word from you in a private email started a bell "if you have activated serial port", but non mentioned in the setup flow.
I read more carefully the whole manual and found the the register settings to activate the serial port, so I launched the commands:
$ sudo i2cset -y 1 0x6b 0x02 0x03 for pi
$ sudo i2cset -y 1 0x6b 0x02 0x30 for UPS
is it right?
then I tried again:
pi@raspups:~ $ sudo python UPS_PIco_HV4_BL.py -l -f ups_pico4_main_Firmware_012A_10052022.hex 2022-05-28 22:25:51,177 [WARNING] PICO PCB version: 0x41 PICO model: B Stack 2022-05-28 22:25:51,178 [WARNING] RPi model: Raspberry Pi 4 Model B Rev 1.1 2022-05-28 22:25:51,179 [WARNING] MD5 of the firmware file: 2a9c2aee3f1307f9ad71807f6b3bc9f0 2022-05-28 22:25:51,307 [WARNING] Firmware file verification OK 2022-05-28 22:25:51,309 [WARNING] Current firmware release: 0x11d 2022-05-28 22:25:51,636 [ERROR] Failed to recieve data ACK from UPIS Traceback (most recent call last): File "/home/pi/UPS_PIco_HV4_BL.py", line 352, in wait_ack for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?) 2022-05-28 22:25:51,744 [ERROR] Failed to send data to PICO UPS Traceback (most recent call last): File "/home/pi/UPS_PIco_HV4_BL.py", line 336, in send_line for line in self.pico_serial: File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 577, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Sorry, forgot python version: 3.9.2
I was able to get the firmware updated to 12a using the image you posted. However, now I have another problem. The pi will not boot unless USB power is plugged it. I want the UPS to power it using the built-in buck converter. (It’s going to go in my car, so it’s being powered by 12V). If I plug in the USB, it will boot up and then I can remove the USB. This happens on both your disk image and the Buster image I normally use. I am using an RPi 4 but I also tried it on a RPi 3B with the same result. It seems like the UPS is unable to supply power from nothing unless it is “jump started” with the separate USB. Attached is a video of the behavior.
Yes, you are right. It was a bug. Corrected now. Please download the latest version of the firmware, we corrected this bug as also added many new features.
BR Pi Master
I check it and answer on Monday.
However we already wrote a new handler for the serial Port(s) so rather release them also on Monday. Better to wait for this newer firmware and then test them
BR Pi Master
please run it again, newer version. I will ask Vit about this possible bug. Many thanks to Vit for this perfect piece of software done is Pythin3
BR Pi Master