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.

[参考译文] TPS25751:补丁下载后几秒钟返回 PTCH 模式

Guru**** 2555630 points
Other Parts Discussed in Thread: TPS25751

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1566602/tps25751-returns-to-ptch-mode-a-few-seconds-after-patch-download

器件型号:TPS25751


工具/软件:

您好:

我正在使用 TPS25751 器件和外部 STM32 微控制器作为 μ I²C 主器件。 我尝试通过 I²C 将生成的补丁二进制文件下载到 TPS25751。

问题描述:

  • 补丁二进制文件上传成功完成。

  • 器件最初进入 设置自动扭矩 消耗量。

  • 大约三秒钟后、器件会自动切换回 PTCH 消耗量。

测试详细信息:

  • 补丁二进制文件是使用 USB PD 应用程序自定义工具生成的。

  • I²C 从 STM32 主机进行 μ s 突发下载来执行传输。

  • 上传后、我每秒轮询一次寄存器。

  • 附件是补丁下载完成后每秒捕获的寄存器转储。

观察到的行为:

  • 上传设备后立即报告应用模式。

  • 在~3 秒内、器件会恢复到 PTCH 模式。

  • 随附的寄存器转储展示了转换。

问题:

  • 哪些情况会导致 TPS25751 在补丁加载看似成功后从 APP 模式恢复为 PTCH 模式?

感谢您的支持。

Iteration 0 (time = 187609 ms)

Mode                  (0x03): 41 50 50 20   ("APP ")
Customer Use          (0x06): 78 56 34 12 F0 DE BC 9A
Command               (0x08): 00 00 00 00
Data                  (0x09): 00 00 00 00 01 02 05 B1 0F 6A 7B C8 C2 29 98 47 AD ...
Interrupt Event       (0x14): 00 00 00 00 00 00 00 00 00 00 00
Interrupt Mask        (0x16): 00 00 00 00 00 00 00 00 00 00 03
Interrupt Clear       (0x18): 00 00 00 00 00 00 00 00 00 00 00
Status                (0x1A): 20 00 00 00 00
Power Path Status     (0x26): 00 00 00 00 40
Port Control          (0x29): 72 50 80 00
Boot Flags            (0x2D): 30 03 F0 C2 C1
...
Type C State          (0x69): 00 00 00 67
Sleep Control         (0x70): 02
GPIO Status           (0x72): 00 00 00 00 0C 0C 00 00

Iteration 1 (time = 188776 ms)

Mode                  (0x03): 41 50 50 20   ("APP ")
Customer Use          (0x06): 78 56 34 12 F0 DE BC 9A
Command               (0x08): 00 00 00 00
Data                  (0x09): 00 00 00 00 01 02 05 B1 0F 6A 7B C8 C2 29 98 47 AD ...
Status                (0x1A): 00 00 00 00 00
Power Path Status     (0x26): 00 00 00 00 40
Boot Flags            (0x2D): 30 03 F0 C2 C1
Type C State          (0x69): 00 00 00 66
Sleep Control         (0x70): 02
GPIO Status           (0x72): 00 00 00 00 0C 0C 00 00

Iteration 2 (time = 189943 ms)

Mode                  (0x03): 41 50 50 20   ("APP ")
Customer Use          (0x06): 78 56 34 12 F0 DE BC 9A
Command               (0x08): 00 00 00 00
Data                  (0x09): 00 00 00 00 01 02 05 B1 0F 6A 7B C8 C2 29 98 47 AD ...
Status                (0x1A): 00 00 00 00 00
Power Path Status     (0x26): 00 00 00 00 40
Boot Flags            (0x2D): 30 03 F0 C2 C1
Type C State          (0x69): 00 00 00 67
Sleep Control         (0x70): 02
GPIO Status           (0x72): 00 00 00 00 0C 0C 00 00

Iteration 3 (time = 191110 ms)

Mode                  (0x03): 50 54 43 48   ("PTCH")
Command               (0x08): 00 00 00 00
Data                  (0x09): 00 00 00 00 ... (all zeroes)
Interrupt Event       (0x14): 00 00 00 00 00 00 00 00 00 00 02
Interrupt Mask        (0x16): 00 00 00 00 00 00 00 00 00 00 02
Interrupt Clear       (0x18): 00 00 00 00 00 00 00 00 00 00 02
Power Path Status     (0x26): 00 00 00 00 00
Boot Flags            (0x2D): 30 03 60 02 C1

Iteration 4 (time = 192252 ms)

Mode                  (0x03): 50 54 43 48   ("PTCH")
Command               (0x08): 00 00 00 00
Data                  (0x09): 00 00 00 00 ... (all zeroes)
Interrupt Event       (0x14): 00 00 00 00 00 00 00 00 00 00 02
Interrupt Mask        (0x16): 00 00 00 00 00 00 00 00 00 00 02
Interrupt Clear       (0x18): 00 00 00 00 00 00 00 00 00 00 02
Power Path Status     (0x26): 00 00 00 00 00
Boot Flags            (0x2D): 30 03 60 02 C1

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    在修补程序加载看似成功之后、什么情况会导致 TPS25751 从 APP 模式恢复到 PTCH 模式?

    (1) LDO_3V3 变为低电平(由于 VBUS 或 VIN_3V3)。

    (2) 来自 MCU 的 GAID 或 GO2P 命令

    (3) USBC 上的硬复位事件

    您能否确认设备以补丁启动、转换到应用程序、然后再返回补丁?

    您能否共享正在尝试编程的 BIN 文件?

    请注意、电源路径状态寄存器在 PTCH 中无效。   

    此致、

    Chris

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、我更正了 'PBMs'命令的数据寄存器中捆绑包大小的字节顺序。 现在、器件 保持在“APP"模式“模式。