Other Parts Discussed in Thread: TPS65981, TPS6598X-CONFIG
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.
Hi Martin,
The TPS65982 will not connect the SBU lines to the SWD lines, this is not how the internal Firmware is setting those signals. When the TPS65982 detects Rd/Rd on both CC lines, it will detect the connection as a debug accessory but will not do anything outside of that. It is then up to the users host controller to read back the connection status from the TPS65982 and then determine what they would like to do with the data lines in their system.
Please also make sure you are using the latest firmware on your TPS65982EVM when doing testing. You can download the application customization tool under the tools and software tab to get the latest.
If this answers your question, PLEASE select This resolved my issue
Thank you,
Eric
Hi Eric,
The TPS65982 does connect SBU lines to SWD_CLK and SWD_DAT in Debug Accessory mode.
I tested using latest released versions of config tool (3.17) and firmware (1.12.07).
This behavior is important for several reasons:
So I would like to return to the original question, is it possible to disable TPS65982 SWD controller so that we can use these pins to debug the host controller in Debug Accessory mode?
Thanks Eric!
Martin
P.S. Here's the Mux Status register with Debug Accessory disconnected:
And with Debug Accessory connected:
Hi,
Based on my discussions with team, I understand that the goal of this exercise to disable debug accessory mode so that there is no security risk.
TPS6598x Configuration GUI tool has an option to do so, in the "System Configuration" you can un-check "Debug Accessory Support" as shown below.
Regards,
Atiq
Hi Atiq,
Thanks for taking a look at this issue!
We do not want to disable Debug Accessory Mode. We want Debug Accessory mode to be enabled, but we would like to disable the Single Wire Debug (SWD) JTAG controller in the TPS65982. Is this possible, either via the Configuration Tool TPS6598X-CONFIG, or via I2C register write?
Hopefully the attached diagram will help explain (along with the posts above).
That is disappointing, Debug Accessory is a potentially useful solution to a common problem for embedded/mobile device development. It looks like TI is incrementally crippling this feature. We will have to add an external mux instead. In any case, thank you for your time and feedback, it is useful, I am resolving the issue.
Martin