Directory | Description |
---|---|
src | Program Source |
inc | Header files |
doc | Reference documents |
config | Configuration file of various boards |
Configuration files(*.hex type) are provided by hardware colleagues.
When generating the configuration file they need to specify the channel(Configuration ID) to burn,the final effective Configuration ID is based on the hardware design.
isl-util [-b i2c-bus-number -a i2c-slave-address] [-f config-file]
-v : show version, then exit -h : show help, then exit -b i2c-bus-number : eg -b 0, means i2c-0 -a i2c-slave-address : eg -a 0x60, means 7bit slave address 0x60 -f config-file : eg -f raa228236-0.8v.hex, generated by hardware engineers
i2c-bus-number:
I2C controller that PMIC attached to
i2c-slave-address:
Slave address is base on hardware design, it is best to be told in advance by the hardware colleagues.
config-file:
The configuration hex file you want to burn.
Boards | Processor | I2C Bus Number | Slave Address |
---|---|---|---|
Pisces | SG2042 | 0 and 4(2 way) | 0x5c |
SG2044 EVB v1.1 | SG2044 | 0 | 0x60 |
SG2044 EVB v1.0 | SG2044 | 0 | 0x60 |
To query the power chip's device id, reversion id and the NVM slots(remaining number of programming times):
sudo isl-util 0 0x5c
In addition to the above functions, you want to burn the configuration hex file to power chip(upgrade the chip) :
sudo isl-util -b 0 -a 0x5c -f ISL68127-1v00-0x5C-20240723-pisces.hex
sudo isl-util -f ISL68127-1v00-0x5C-20240723-pisces.hex
sudo isl-util