Dead Mobile UPS after Firmware Update

Options
DanielNorrisII
DanielNorrisII New Member Posts: 2

Hello,
I have UP Squared UPS-APLP4-A20-08128. Installed EP-UPWFMBUPSHAT. Running Ubilinux 4.

I was having a problem where UPS HAT would not finish initialization. I thought maybe the firmware was bad. Tried to update firmware, but got errors about failed to switch to bootloader. I later learned, I need to update i2c device id in susv.cfg. I was now able to get status of UPS HAT. Firmware version was 2.1. I did not think reboot, because I was able to communicate with UPS HAT. I tried updating firmware again per instruction and it updated, but UPS HAT did not reboot. When firmware was updating PSUGN led flashed rapidly. When progress bar in terminal reached 100% all lights on UPS HAT were off. I waited about 5 minutes for board to come back on. Rebooted and UPS HAT never came back. I checked the i2c device ids and it would appear to be using id 6. I can see the RTC 68 but not 0x0F. I tried changing the address buy was unable to select i2c device even after updating in susv.cfg.

I have an second identical system I was able to get working. Just did not update firmware.

Any ideas on how to bring life back into UPS HAT?

Did I brick UPS HAT?

Is an exchange possible?

Thank you in advance for any help,
Dan

Comments

  • Chris Olma
    Chris Olma New Member Posts: 5
    Options

    Hi Dan,

    Thank you for your information and corresponding problem description.

    Please let us have the defect modules for a detailed analysis, of course we will immediately exchange these two modules with new functional ones.
    Maybe there is some issue in the firmware flash routine, our corresponding sw-developers will take care of this problematic as soon as possible.

    The responsible colleagues will contact you as soon as possible to exchange the modules.

    Thank you for your understanding.


    Please see the update tutorial here http://www.s-usv.de/files/pdf/SUSVpi_Upgrade_Rev1_1_EN.pdf

  • DanielNorrisII
    DanielNorrisII New Member Posts: 2
    Options

    I will not be able to ship card to Germany because price is too high. For the same money I purchased another replacement card and already have it. I'd still like to update the firmware to 2.20, but I'm apprehensive now. As for the instructions, I read them and I followed the steps. And firmware still bricked card. Something is lost in the translation.

    I'd really like to hear from someone who has updated the firmware. Really am curious where I went wrong.

    Computer
    UP Squared Pentium Quad Core 8GB Memory 128GB eMMC
    UPS-APLP4-A20-08128

    Case
    UP Squared Fanless Chassis for Celeron and Pentium CPU
    EP-CHUPSMTVAC&P

    mSATA
    Samsung SSD 860 EVO 250GB
    MZ-M6E250BW

    WiFi
    M.2 2230 WiFi Kit (WiFi 802.11 AC 2T2R) for UP Squared Metal Chassis
    RE-UPWFKITEX2TR

    Module
    EP-UPWFMBUPSHAT

    Operating System
    Ubilinux 4


    Approximation of Steps

    Installed card
    Connected Battery
    Powered on UP Squared Computer

    PSUGN - Blinking
    PSURD - Solid

    sudo apt-get install python-smbus

    Reboot computer

    sudo i2cdetect -y -r 1
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- 0f
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    Downloaded
    S.USV Client Software 2.40 (UP Squared only)
    https://s-usv.de/files/software/susvd-en-2.40-systemd-up2.tar.gz

    sudo tar -xvf susvd-en-2.40-systemd-up2.tar.gz
    sudo dpkg -i susvd-en-2.40-systemd-up2.deb

    sudo /opt/susvd/susvd -start

    PSUGN - Blinking
    PSURD - Solid

    Reboot

    sudo /opt/susvd/susv --status
    Unable to select I2C device

    sudo i2cdetect -y -r 0
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
    50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    sudo i2cdetect -y -r 1
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    sudo i2cdetect -y -r 2
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- 37 -- -- 3a -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- --
    50: 50 -- -- -- -- -- -- -- -- 59 -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    sudo i2cdetect -y -r 5
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- 0f
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    sudo nano /opt/susvd/susv.cfg
    Change
    [i2c]
    device="/dev/i2c-1"
    to
    [i2c]
    device="/dev/i2c-5"

    PSUGN - Blinking
    PSURD - Solid

    sudo /opt/susvd/susvd -restart

    PSUGN - Solid
    PSURD - Solid

    sudo /opt/susvd/susv --status
    Status text is displayed

    sudo /opt/susvd/susvd -chrgon

    sudo /opt/susvd/susvd -restart

    PSUGN - Solid
    BATYW - Solid

    Downloaded Firmware
    S.USV Firmware (Mobile) (UP Squared only) 2.20 HW Revision 2.x
    https://s-usv.de/files/firmware/susv_fw_22_up2_mobile.tar.gz

    sudo ./susv -flash susv_fw_22_up2_mobile.hex

    I get firmware related text on screen
    Progress bar
    PSUGN flashed rapidly
    Flash completes no error

    PSUGN - Blinking
    PSURD - Solid

    sudo /opt/susvd/susv --status
    Unable to select I2C device

    sudo i2cdetect -y -r 5
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --

    Reboot

    sudo /opt/susvd/susv --status
    Unable to select I2C device

    sudo i2cdetect -y -r 5
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --