Part Number: TPS25751EVM
Other Parts Discussed in Thread: TPS25751
Tool/software:
Hi Aya khedr,
We encountered an issue while downloading the patch and encountered an error in step ten, with the log showing NOT A PATCH.
The attachment contains our relevant code (tps25751. c), log (dowload_patch_log. txt), operating environment (operating environment. jpg), data captured using a logic analyzer (down_load_patch.kvdat), and KingstVIS tool(KingstVIS.exe). We need to install KingstVIS tool first, and then open the down_load_patch.kvdat file
Additionally, we confirm that the binary file we are using is a low region binary file, and that our low region data is included in the code.
Could you please help check where the problem may be
Best Regards!
Iris
1083 2.750893 1371 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 14, value 0b 1084 2.750902 1371 MCU 16 [M:msdk C:info F: L: ]: [MSDK][TPS25751] INT_EVENT1 ReadyForPatch bit is ready for patching. 1085 2.750906 1371 MCU 64 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 1: 0B 00 00 00 00 00 00 00 00 00 00 02 1087 2.750921 1373 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 03, value 04 1088 2.750925 1373 MCU 16 [M:msdk C:info F: L: ]: [MSDK][TPS25751] PD controller is ready for patching. 1089 2.750937 1373 MCU 36 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 2: 04 50 54 43 48 1092 2.750956 1375 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] write_reg: reg 09, value 06 1093 2.750960 1375 MCU 44 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 3: 06 80 33 00 00 35 32 1107 2.751018 1383 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] write_reg: reg 08, value 04 1108 2.751022 1383 MCU 36 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 4: 04 50 42 4D 73 1158 2.812020 1391 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 08, value 04 1159 2.812026 1391 MCU 40 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 5: 04 00 00 00 00 00 1174 2.812060 1393 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 09, value 40 1175 2.812061 1393 MCU 88 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 6: 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1176 2.812065 1393 MCU 20 [M:msdk C:info F: L: ]: [MSDK][TPS25751] tps25751_write_patch patch size 13184 1300 4.155279 2748 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] tps25751_write_patch left patch size 60 00 1302 4.155301 2756 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] write_reg: reg 08, value 04 1303 4.155307 2756 MCU 40 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 8: 04 50 42 4D 63 C7 1304 4.155370 2757 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 08, value 04 1305 4.155394 2758 MCU 16 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Confirm CMD1 is cleared. 1306 4.155399 2758 MCU 40 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 9 :04 00 00 00 00 00 1312 4.155418 2779 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 09, value 40 1313 4.155423 2779 MCU 88 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 10: 40 00 00 40 80 00 00 00 00 00 00 00 00 00 00 00 00 00 1314 4.155434 2779 MCU 88 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1315 4.155445 2779 MCU 32 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 10 :00 00 00 00 1316 4.155450 2781 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 14, value 0b 1317 4.155453 2781 MCU 40 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 11: 0B 00 00 00 00 00 1318 4.186443 2802 MCU 24 [M:msdk C:info F: L: ]: [MSDK][TPS25751] read_reg: reg 03, value 04 1319 4.186456 2802 MCU 40 [M:msdk C:info F: L: ]: [MSDK][TPS25751] Step 12:04 50 54 43 48 00 1320 4.186462 2802 MCU 20 [M:msdk C:error F: L: ]: [MSDK][TPS25751] Patch success but still not in APP mode, got: %.4s


