Other Parts Discussed in Thread: TPS65987, TPS65981
Hello.
I am having issues with applying/transferring a patch bundle to the TPS65988.
Documents read:
- TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual
- TPS65987 and TPS65988 SPI Less Host Programming Over I2C (Revised April 2019)
Workflow:
- Configure settings in TPS65981_2_7_8 Application Customization Tool GUI Version : 6.1.3
- Save binary - Low Region (Full Header) as C Array
- PTCr - With AppConfigReset (1), DevicePatchReset (1), DevicePatchResetKe (0xBE) and AppConfigResetKey (0xEF)
- PTCr response: 0x00
- Polling register 0x14 (IntEventX) for ReadyForPatch-bit
- PTCs - With DevicePatch (1) and AppConfig (1)
- PTCs response: 0x00000000
- PTCd - with 64 bytes of data from C Array (Until all is sent)
- PTCd response after firts transfer: 0x00000200010000000000
- Byte 3 (PatchLoadingState = 0x02 = Application Conf Header Phase 2)
- Byte 5-6 (TotalDataTransferred = 0x0001 = 1)
- PTCd response subsequent transfers: 0x00000300????????????
- Byte 3 (PatchLoadingstate = 0x03 = Waiting for Device Patch Data) - does not change after this
- I have noticed that the TotalDataTransferred does not increase by 64 each transfer in the initial ~10 transfers)
- PTCd response after firts transfer: 0x00000200010000000000
- PTCc
- PTCc response: 0x00004000
- Byte 3 (DevicePatchCompleteStatus = 0x40 = Not a patch)
- PTCc response: 0x00004000
I have tried with and without both patch reset before "PTCr" and warm reset after "Gaid".
It seems that what I am transferring is not acknowledged as a patch?
Another issue is that PTCq response indicates (both prior and after sequence above) that:
Application Configuration Patch Loaded from Default Configuration
Application Configuration Patch Error
Device Patch Error
Patching Processes Completed Successfully
So, any help in pointing out where I am doing anything wrong would be appreaciated.