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:
- Read register INT_EVENT1 gives back all zero except byte 11: 02 - so this means ReadyForPatch
- Read MODE register gives back PTCH
- 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.
- Write CMD1 register with PBMs: 0x08 0x04 0x50 0x42 0x4d 0x73
- Read CMD1 gives back all zero
- Read DATA1 gives back all zero
- Write the patch bundle to address 0x51 in 250 chunks of 128 bytes, Each packet is acknowledged.
- Write CMD1 register with PBMc: 0x08 0x04 0x50 0x42 0x4d 0x63
- Read CMD1 register gives back all zero.
- Read DATA1 register gives back: byte 0: 0x40 byte 1: 0x03, byte 5: 0x51 , byte 6: 0x32 - THIS IS NOK
- 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.