UPS PIco HV4.0B Sta...
 
Notifications
Clear all

UPS PIco HV4.0B Stack can no longer be accessed via i2c

5 Posts
2 Users
2 Likes
475 Views
(@rondo)
New Member
Joined: 2 years ago
Posts: 4
Topic starter  

Hello

 

After a brilliant move from my side (Ctr+C during firmware update), the raspberry can no longer communicate with the PIco. i2cdetect no longer lists its addresses.

Pluging in another PIco shows its addresses correctly.

I burned the Image_12_05_2022_upd_upg.img image on a new SD and booted it up, unfortunately it can also not detect the PIco.

I tried the UR + B combination mentioned in the manual but it shows no reaction. UR + F lights up the two LEDs, but without i2c i can not upload a new firmware

Is there a way to reset the PIco or have i killed it for good?

 

Best Regards

Rondo


   
Quote
(@piadmin)
Member Admin
Joined: 5 years ago
Posts: 81
 

Hi,

You definitely not destroy your device. Bootloader is in protected part of memory.

However a very detailed step by step procedure will provide you today at the evening.

BR Pi Master


   
ReplyQuote
(@piadmin)
Member Admin
Joined: 5 years ago
Posts: 81
 

Hi,

Do this described below directly form the manual. Be carefully the command line for BL is slightly different than before.

The Hand Bootloader Invocation

The Hand Bootloader invoking must be done by hands therefore need system to be accessible by human. Once system entered in the bootloader mode, will remain on this mode for about 8 seconds and return to normal conditions if no firmware uploading process will be stared.

The following procedure must be followed to enter the bootloader mode:

  • Press and hold the UR button
  • Continue to hold the UR button, and press and hold the F button.
  • Release the UR button, but keep holding the F button
  • Release the F button

 

The TMP (RED) and U2 (GREEN) LEDs will lit confirming that your system is in bootloader mode.

sudo python UPS_PIco_HV4_BL.py -j -i -g -f ups_pico4_main_XXXX.hex

 

2022-05-09 21:01:39,499 [WARNING] Serial link with PICO UPS verified

Uploading firmware |################################| 100.0% - 0s

2022-05-09 21:04:44,897 [WARNING] Firmware update completed

 

REMARK:

The Hand Bootloader Invocation is used also (and usually) when firmware uploading faults and system is not responding to the commands, as this is the only piece of firmware that cannot be destroyed and protected from any re-writing.

Names of Local and Remote Bootloader procedures are done based on our experience and user can use both on Local and Remote boot loading according to their needs.

There is a list of commands that can be used by user in various specific cases. They are listed in the Python Code, and are:

  • -f --fw-file
  • -p --serial-port
  • -b --baudrate
  • -g --skip-fw-verify
  • -G --fw-verify-only
  • -H --skip-fw-md5
  • -I --skip-i2c-fw
  • -j --skip-i2c-bl
  • -k --skip-i2c-reset
  • -l --i2c-bl-local

BR Pi Master

 


   
ReplyQuote
(@rondo)
New Member
Joined: 2 years ago
Posts: 4
Topic starter  

Hi @piadmin,

 

Worked like a charm. 👍 

 

I did try to use

sudo python3 pico_v0.3a.py -v -i -j -g -f ups_pico4_main_Firmware_0133_12062022.hex

 

But i remember it failing with at creating a Serial link with the PICO UPS. Could be that i messed something else up.

 

Well it works now 😀 

Thank you


   
ReplyQuote
(@piadmin)
Member Admin
Joined: 5 years ago
Posts: 81
 

Hi,

Please read the python script, it is like a bible, written by Vit Safar - en excellent programmer !!

Posted by: @rondo

But i remember it failing with at creating a Serial link with the PICO UPS. Could be that i messed something else up.

Yes

BR Pi Master


   
ReplyQuote
Share: