No firmware read out

Support for the Uninterruptible Power Supply
with Peripherals and I2C control Interface
Raspberry Pi® B+, A+, B, and A
Post Reply
rron
Posts: 1
Joined: Fri Aug 04, 2017 4:19 pm

No firmware read out

Post by rron » Fri Aug 04, 2017 4:28 pm

Hi,
I have a pico ups Hv1.0 on a rpi3 and it is not working. When i do sudo python pico_status.py I get the following

Code: Select all

       
***********************************
pico status V1.0 
 UPS PIco Firmware: ff
  Powering Mode: ERR
  BAT Volatge:
Traceback (most recent call last):
  File "pico_status.py", line 74, in <module>
    print " ","BAT Volatge:", bat_level(),"V"
  File "pico_status.py", line 31, in bat_level
    return (float(data) / 100)
ValueError: could not convert string to float: ffff
I have tried to load new firmware but no succes. Sudo i2cdetect -y 1 is still ok
Can some help me how to solve this problem?
Thx
User avatar
Pimaster
Site Admin
Posts: 1615
Joined: Fri Sep 14, 2012 9:50 am

Re: No firmware read out

Post by Pimaster » Mon Aug 21, 2017 1:41 pm

Hi, In the new kernel 4.9 there is a new i2c handler, and the old firmware is not compatible with it,
please use below solutions until we will release new firmware

http://www.forum.pimodules.com/viewtopi ... =20&t=3442
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Post Reply