UPS PIco HV3.0A Firmware Code 040 Print Date 18.08.2017
Designed and Manufactured by PiModules and ModMyPi
www.pimodules.com www.modmypi.com
Firmware updates Procedure of the UPS PIco HV3.0 (on RPi3)
Serial Port disable Procedure
To disable serial communication over the UART long enough to do a Firmware update.
You need to do two things.
1.
Run
sudo nano /boot/config.txt
and add this line:
dtoverlay=pi3-disable-bt
2.
Run
sudo systemctl disable hciuart
3.
Run
sudo systemctl stop
4.
Run
sudo systemctl disable
5.
You could also disable the console by removing this line from
/boot/cmdline.txt
if
present, then reboot:
console=ttyAMA0,115200
As it has been written before the
UPS PIco HV3.0 A
HAT features an embedded serial
boot
loader which allows users to update the unit’s firmware. The firmware can be
uploaded using a dedicated python script, called
9600_picofuHV3.0.py
It is mandatory to have previously installed python and I2C-tools on the Raspberry Pi.
You will install these during initial PIco setup outlined previously in this entity. Please
install
smbus
support for python to enable additional functionality. Simply run the
following command (with an internet connection):
sudo apt-get install python-smbus
The first task which is done by the
UPS PIco HV3.0 A
HAT after reset is to check if
bootloader has been requested. If not, then the rest of the firmware runs. Otherwise,
the
UPS PIco HV3.0 A
HAT lights the Orange User LED and waits for the firmware
upload from the Raspberry
Pi ®, and when firmware
starts uploading, change from
Orange User LED to Blue User LED.
There are two ways to invoke the bootloader mode and to upload the new firmware: