请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: TDA4VL-Q1
我想关闭 DebugSS、但 TISCI API 未关闭此功能。 如何关闭此子系统?
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.
器件型号: TDA4VL-Q1
我想关闭 DebugSS、但 TISCI API 未关闭此功能。 如何关闭此子系统?
下面是一系列用作概念验证的寄存器写入 Linux 命令、应该可以翻译到其他操作系统。 用户可以尝试连接 JTAG、以确认在寄存器写入后 JTAG 是否不可访问。
#set next state in MDCTL register to Disable for LPSC_DEBUG2DMSC devmem2 0x42000a08 w 0x80000102 #set PTCMD to GO devmem2 0x42000120 w 0xFFFFFFFF #[optional] check state. Least significant hex value should be 0x2 devmem2 0x42000808 #set next state in MDCTL register to Disable for LPSC_main_debug devmem2 0x00400a34 w 0x80000102 #set psc_PTCMD_j to GO and reflect MDCTL change devmem2 0x00400120 w 0xFFFFFFFF #[optional] check state. Least significant hex value should be 0x2 devmem2 0x00400834 #[optional] See if DEBUGSS is active. 0x1 is active, 0x0 is non-active. Expectation is 0x0 after register writes were done devmem2 0x43014300
在某些上下文中、没有与 LPSC_DEBUG2DMSC 和 LPSC_MAIN_DEBUG 关联的器件 ID。 因此、由于 TISCI API 跟踪与器件 ID 相关的电源状态、因此通过 TISCI API (Sciclient_pmGetModuleState) 读取实际上并不会提供 DebugSS 的状态。
此致、
Takuma