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.

TPS65987D: TPS65987D

Part Number: TPS65987D

I have a TPS65987D to which I am trying to upload with new settings via an EC. I have used TPS65987 and TPS65988 SPI Less Host Programming Over I2C (Rev. A) as a reference to perform this. All program flow works as expected up until sending the PTCc command is sent. The expected result is 0x00 and 0x00 in bytes #3 and #4 of the DataX register however in the DataX register byte #3 is 0x42 (Patch not compatible with this version of ROM).. 

The device I have is TPS65987DDHSR and the Application Customization Tool version I am using is 5.13. The firmware version given by the template project I am trying to load is f707.10.06.

What can I do to upload this patch correctly without error?

  • Hi Timothy,

    From my understanding, you are connecting your TPS65987D to your computer and then programming the firmware using the GUI tool? Then you try to download a patch from EC but it fails on PTCc command? 

    Could you try reading the CMDx register and tell me what it reads, if it's 0x00 it would indicate the command was successful, otherwise it will be "CMD." Do you also happen to have an I2C log that I could look at? This could help me see the sequence and be able to better see the issue.

    Thank you,

    Hari

  • Hi Hari

    No, I am not programming the firmware with the GUI tool. I am using the GUI tool to create a C tps6598x_lowregion_array as in   TPS65987 and TPS65988 SPI Less Host Programming Over I2C (Rev. A) section 3.1.3 (3). With the generated array I am using an EC to upload the Patch to the TPS65897 via I2C as specified in Section 3. 

    The CMDx register is always successful (0x00). It is when reading back the DataX register in response PTCc and PTCq commands after the patch load is complete that the correct response is not received. 

    According to TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual (Rev. B) page 137, the response to the PTCc command in DataX should be 0x00 and 0x00 for bytes #3 and #4 respectively. Byte #4 is 0x00, however I read 0x42 (Patch not compatible with this version of ROM) for byte #3. The same error is seen in response to a PTCq command. According to page 138 the response should be 0x09 (Application Configuration Patch Completed Successfully) in Byte #13, however I receive 0x08(Application Configuration Patch Error) . All other Bytes indicate success.

    Tim. 

  • Hi Timothy,

    It is strange that you're getting success on your CMDx register and byte 4 of your DataX register. I will look into this further and get back to you sometime today or tomorrow. Would you be able to provide me with any additional details on your process or setup that could help me find the issue? Also, are you able to collect I2C logs using an analyzer? Having some logs would help me as well.

    Thank you,

    Hari