摘要 |
A debug controller monitors a tip-ring-ring-shield (TRRS) socket, within a form factor device, to detect whether a debug unit is transmitting a request for a TRRS socket debug connection. The form factor device also includes a system on chip (SoC), a switch, and an audio codec. The SoC includes the debug controller and a software debug interface. The switch couples a right audio lead and left audio lead of the TRRS socket to the audio codec. If the debug controller detects the request from the debug unit, then the debug controller instructs the switch to establish a TRRS socket debug connection. The switch establishes the TRRS socket debug connection by coupling right audio lead and left audio lead to the software debug interface instead of the audio codec. This establishment of the TRRS socket debug connection eliminates the need for manual configuration of the TRRS socket debug connection. |