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
0x6B -> UPS PIco Module Commands
Address
Name
Size
Type
R/W Explanation
0x00
pico_state
Byte
Common
R/W
Write:
0xcc
–
Unconditional File Safe
Shutdown and (and Power OFF when battery
powered)
Write:
0xdd
- then restore factory defaults
Will stay in the values of 0xdd until factory
defaults restored, and then will be set to 0x00
Write:
0xee
- Reset the UPS PIco CPU, it cause
start-up values i.e. RTC will be set to
01/01/2000
Write:
0xa0
–
NORMAL
Sets the I
2
C addresses
used by PIco to 0x68, 0x69, 0x6A, 0x6B, 0x6C,
0x6D, 0x6E, 0x6F
Write:
0xa1
–
NO_RTC
Sets the I
2
C addresses
used by PIco to 0x69, 0x6B, and frees the RTC
address. This option allows the user to use
their own RTC add on. All adresses related to
the RTC are free and can be used by other
application.
Write:
0xa2
–
ALTERNATE
Sets the I
2
C
addresses used by PIco to 0x58, 0x59, 0x5A,
0x5B, 0x5C, 0x5D, 0x5E, 0x5F. This option
move the whole registers file to alternate
address. This option release the 0x68 address
for another RTC for Raspberry Pi if needed, or
use it with this address of 0x58. This
movement of the registers file frees the other
address set for any other application. If PIco
HV3.0 RTC is not used, it is mandatory to set
time stamp using the 0x6A registers set, in
order to use all time (RTC) based functions.
The PIco HV3.0 Hardware RTC is located then
on the address 0x58.
Write:
0xFF - Call the UPS PIco Bootloader,
Orange
Led will be light. Recover from this
state can be done
only
by pressing the RST
button, new firmware upload or automatically
after 16 seconds if nothing happen. All
interrupts are disabled during this procedure.
It should be used with RPi Uploading firmware
script. Use it very carefully and only when is
needed
–
when firmware uploading. Do not
play with it; this is not toy functionality.
Powering of the pair UPS PIco+RPi must be
done via RPi micro USB socket during boot
loading process due to following UPS PIco
Resets after firmware uploading or when
returning from this mode.
Due to required protection for the RPi from
the unconditional reset (files corruption), it is
not possible to enter to this mode when