Switch NVIDIA Orin USB port functionality with mDIO port
In this topic:
•Using the Active Probe mDIO port to automate the Switch mode selection
•How to measure Debug I/O levels
This topic describes how to use the 40-pin Samtec / USB-C to USB-C (HSSTP) Switch and how to automate NVIDIA Orin USB port switching between HSSTP and device mode with BlueBox tools.
The USB port of the NVIDIA Orin SoC can be used for:
•Debug and trace via HSSTP
•Device USB connection
The 40-pin Samtec / USB-C to USB-C (HSSTP) Switch simplifies switching between the two modes of the USB port.
Switching of the USB port mode is done by the MODE SELECT jumper:
•If the jumper is not bridged, the Switch is in HOST mode. This means that the Orin USB-C port is connected to the HOST USB-C port.
•If the jumper is bridged, the Switch is in HSSTP mode. This means that the Orin USB-C port is connected to the HSSTP connector.
Status LEDs on the Switch show the currently connected configuration.
The Host USB-C port is connected to the Orin USB-C port. |
The HSSTP port is connected to the Orin USB-C port, the orientation of the USB-C cable to the Orin USB-C port is correct. |
The HSSTP port is connected to the Orin USB-C port, the orientation of the USB-C cable to the Orin USB-C port is wrong. Reverse one side of the cable. |
•winIDEA 9.21.118 or newer
•iC7max/iC5700 BlueBox
•ARM HSSTP II Active Probe
•40-pin Samtec / USB-C to USB-C (HSSTP) Switch
•mDIO Cable
Each time when a mode change is necessary, you can avoid manually placing and removing the MODE SELECT jumper cap by using the Active Probe mDIO port. In this way, the mode change will be automated. You can do this by connecting setup and winIDEA configuration. The result of the process will be as follows:
1. When you try to connect from winIDEA (Attach, Reset or Download) to the target, the Switch will automatically connect Orin the USB-C port to the HSSTP connector.
2. When winIDEA will be detached from the target, the Switch will automatically connect the Orin USB-C port to the HOST USB-C port.
Connect ... |
to |
... on the Switch |
---|---|---|
ARM HSSTP II Active Probe |
|
HSSTP connector |
USB cable connected to the PC |
|
HOST USB-C connector |
USB cable connected to the ORIN USB port |
|
ORIN USB-C connector |
GND pin of ARM HSSTP II Active Probe mDIO |
|
pin 2 (left) of MODE SELECT jumper |
IO0 pin of ARM HSSTP II Active Probe mDIO |
|
pin 1 (right) of MODE SELECT jumper |
This procedure needs to be done only once. After the configuration is saved to the winIDEA workspace, Switch control via BlueBox tools will be done automatically.
Perform Debug | Prepare to Attach. |
Configure mDIO pin D0_0 as an output pin with the initial state LOW. |
Go to Hardware | CPU Options | Hardware and select appropriate Debug I/O levels* instead of Vref. |
* Set an appropriate “Debug I/O levels” value to avoid misconfiguration, which can cause the target damage. |
Confirm and save your workspace. |
Connect the Switch to the NVIDIA Orin SoC and the ARM HSSTP II Active Probe. |
Bridge both pins of the MODE SELECT jumper with the jumper cap. |
In winIDEA, make a connection to the target, and measure Vref in Measurement plugin. |
•mDIO use cases and configuration