UPS PIco HV3.0B + rPi 3B Firmware Update

Need some help with your shiny new breakout board, or something not working right? Let us help you here!
Post Reply
hughker
n00b
Posts: 3
Joined: Sun Nov 25, 2018 12:51 am

UPS PIco HV3.0B + rPi 3B Firmware Update

Post by hughker » Sun Nov 25, 2018 12:59 am

I have been trying to update the firmware following the Installation Guide (https://github.com/modmypi/PiModules/wi ... stallation) as well as the Firmware Update Guide (https://github.com/modmypi/PiModules/wi ... are-Update) and all methods are reporting "ERROR: Unable to establish communication with PIco bootloader via port: /dev/ttyAMA0 Please verify that the serial port is availble."

Has anybody been able to successfully update the firmware?
If so, did you have to do anything "special" to get it working as I keep getting the above error.

Also tried using 2016-09-23-raspbian-jessie.zip as that is what the installation guide said it was tested up to and still not working.

Below is my terminal output from trying to update it. I have also tried to do the "manual" update outlined in the Wiki as well to no success.

Code: Select all

pi@raspberrypi:~ $ sudo python 9600_picofuHV3.0.py -v -f 0xE3_UPS_PIco_HV3.0_main.hex 
Validating firmware: OK
^CChecking communication with bootloader: KO
ERROR: Unable to establish communication with PIco bootloader via port: /dev/ttyAMA0 Please verify that the serial port is availble.
pi@raspberrypi:~ $ ls /dev
autofs           loop0               ptmx    rtc      tty2   tty39  tty58      vcs2
block            loop1               pts     rtc0     tty20  tty4   tty59      vcs3
btrfs-control    loop2               ram0    serial1  tty21  tty40  tty6       vcs4
bus              loop3               ram1    shm      tty22  tty41  tty60      vcs5
cachefiles       loop4               ram10   snd      tty23  tty42  tty61      vcs6
char             loop5               ram11   stderr   tty24  tty43  tty62      vcs7
console          loop6               ram12   stdin    tty25  tty44  tty63      vcsa
cpu_dma_latency  loop7               ram13   stdout   tty26  tty45  tty7       vcsa1
cuse             loop-control        ram14   tty      tty27  tty46  tty8       vcsa2
disk             mapper              ram15   tty0     tty28  tty47  tty9       vcsa3
fb0              mem                 ram2    tty1     tty29  tty48  ttyAMA0    vcsa4
fd               memory_bandwidth    ram3    tty10    tty3   tty49  ttyprintk  vcsa5
full             mmcblk0             ram4    tty11    tty30  tty5   uhid       vcsa6
fuse             mmcblk0p1           ram5    tty12    tty31  tty50  uinput     vcsa7
gpiomem          mmcblk0p2           ram6    tty13    tty32  tty51  urandom    vcsm
hwrng            mqueue              ram7    tty14    tty33  tty52  vc-cma     vhci
i2c-1            net                 ram8    tty15    tty34  tty53  vchiq      watchdog
initctl          network_latency     ram9    tty16    tty35  tty54  vcio       watchdog0
input            network_throughput  random  tty17    tty36  tty55  vc-mem     xconsole
kmsg             null                raw     tty18    tty37  tty56  vcs        zero
log              ppp                 rfkill  tty19    tty38  tty57  vcs1

User avatar
Dave
ModMyPi
Posts: 2732
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS PIco HV3.0B + rPi 3B Firmware Update

Post by Dave » Mon Nov 26, 2018 9:56 am

Please see here for the latest firmware and manual - http://108.175.10.239/viewtopic.php?f=2 ... 2362d07102

Update procedure can be found on page 77 of the manual
Forum Administrator & Technical Support

hughker
n00b
Posts: 3
Joined: Sun Nov 25, 2018 12:51 am

Re: UPS PIco HV3.0B + rPi 3B Firmware Update

Post by hughker » Tue Dec 04, 2018 1:55 am

Thanks @Dave unfortunately I've done that (several times) still no luck — it still just hangs and I have to `ctrl + c` the task and then the error is displayed, doesn't matter if I let it sit for a couple minutes or an hour, still same error.

I purchased this 9/30/2016 so I'm not sure if my board is just "too" old or whatnot.

User avatar
Dave
ModMyPi
Posts: 2732
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS PIco HV3.0B + rPi 3B Firmware Update

Post by Dave » Wed Dec 05, 2018 9:49 am

hughker wrote:
Tue Dec 04, 2018 1:55 am
I purchased this 9/30/2016 so I'm not sure if my board is just "too" old or whatnot.
Ah yes! That will be it. Is the unit definitely a HV3.0B ?
Forum Administrator & Technical Support

hughker
n00b
Posts: 3
Joined: Sun Nov 25, 2018 12:51 am

Re: UPS PIco HV3.0B + rPi 3B Firmware Update

Post by hughker » Fri Dec 07, 2018 10:19 pm

I mean it says so on my Order Confirmation…

Image

User avatar
Dave
ModMyPi
Posts: 2732
Joined: Wed Jul 22, 2015 11:36 am
Contact:

Re: UPS PIco HV3.0B + rPi 3B Firmware Update

Post by Dave » Mon Dec 10, 2018 9:22 am

Hmm ok. It's probably an issue the serial interface on the Pi then.

Could you try the following instructions on making sure the Pi's serial port is free:

Disable Bluetooth

If you don’t need to use Bluetooth the easiest option is to simply disable it. To do this edit the boot config file:

Code: Select all

sudo nano /boot/config.txt
And add the following line:

Code: Select all

dtoverlay=pi3-disable-bt
Then run the following command:

Code: Select all

sudo systemctl disable hciuart
Reboot your Pi and Bluetooth should be disabled, and serial will be mapped to GPIOs 14 & 15.

Code: Select all

sudo reboot 
Connecting a Serial Device

If you'd like to communicate with a serial device then we need to edit the boot cmdline.txt file. Before we edit this file its a good idea to take a backup of it:

Code: Select all

sudo cp /boot/cmdline.txt /boot/cmdline.txt.backup
Now we can edit the original:

Code: Select all

sudo nano /boot/cmdline.txt
You then need to remove the following text:

Code: Select all

console=serial0,115200
Reboot the Pi

Code: Select all

sudo reboot 
Forum Administrator & Technical Support

Post Reply