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.

TPS25750: Patching from host controller: patch bundle is not accepted and MODE remains PTCH instead of APP

Part Number: TPS25750

Hi, 

I am trying to transfer the patch file from a microcontroller.

The patch file is 32k bytes and is created by the TPS25750 Application Customization Tool.

Following the Technical reference manual, I follow the flow chart:

  1. Read register INT_EVENT1 gives back all zero except byte 11:   02 - so this means ReadyForPatch
  2. Read MODE register  gives back  PTCH
  3.  Write the DATA1 register:  0x09 0x06 0x00 0x7d 0x00 0x00 0x51 0x32    -   00 is the first byte and 7d is the second byte of the patch size (0x7d00 is 32k), 51 is the patch I2C address.
  4.  Write CMD1 register with PBMs: 0x08 0x04 0x50 0x42 0x4d  0x73 
  5. Read CMD1 gives back  all zero
  6. Read DATA1 gives back all zero
  7. Write the patch bundle to address 0x51 in 250 chunks of 128 bytes, Each packet is acknowledged.
  8. Write CMD1 register with PBMc: 0x08 0x04 0x50 0x42 0x4d 0x63
  9. Read CMD1 register gives back all zero.
  10. Read DATA1 register gives back: byte 0: 0x40 byte 1: 0x03, byte 5: 0x51 , byte 6: 0x32 - THIS IS NOK
  11. Read MODE register gives back:  PTCH  - THIS SHOULD be APP

So the TPS25750 seems to have problems to accept the patch

As a last step I also read the BOOT register, this gives back 0x05 0x30 0x03 0x60 0x02 0xa1

Please help me to find the error.