This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS65981: PD controller python scripts on linux system and flashing via I2C

Part Number: TPS65981

Hi,

We are trying to program using the provided python scripts for the TPS65981 chip on a linux system however the scripts seem to be specific to a Windows system and they have DLL dependencies.

A couple questions:

1) On the EVM, we simply program the flash via SPI and use the GUI on Windows. This worked for us and we have a .bin file generated from the project but we are now wondering what the best way of flashing is using python on linux. On our system we don't have an FTDI chip and our linux based system can only talk to the PD controller via I2C (no SPI). However, our PD controller has a SPI connection to an external flash. So just wondering what the best method for us would be and what python files to use/adapt if needed for Linux to achieve this.

2) What is the difference between region 0 or region 1 (flash_update_region_0.py / flash_update_region_1.py). We created the bin file as a "low region minimal header". But also wondering what "minimal" vs "full" header is and which one we should use in case we missed something.

Thanks for the help.

Dan