Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.242

NVIDIA Orin: USB port functionality switching with mDIO port

In this topic:

Introduction

Requirements

Using the Active Probe mDIO port to automate the Switch mode selection

Configuration

How to measure Debug I/O levels

 

 

Introduction

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.

 

Orin_switching_manual_LED_Host

Orin_switching_manual_LED_HSSTP_OK

Orin_switching_manual_LED_HSSTP_FAIL

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.

 

 

Requirements

winIDEA 9.21.118 or newer

BlueBox iC5700

ARM HSSTP II Active Probe

40-pin Samtec / USB-C to USB-C (HSSTP) Switch

mDIO Cable

 

 

Using the Active Probe mDIO port to automate the Switch mode selection

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.

 

How to connect

Orin_switching_mDIO_setup

 

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

 

 

Configuration

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.

 

number1

Perform Debug / Prepare to Attach.

number2

Configure mDIO pin D0_0 as an output pin with the initial state LOW.

number3

Go to Hardware / CPU Options / Hardware and select appropriate Debug I/O levels* instead of Vref.

 

Warning_orange

* Set an appropriate “Debug I/O levels” value to avoid misconfiguration, which can cause the target damage.

 

Number4

Confirm and save your workspace.

 

 

How to measure Debug I/O levels

number1

Connect the Switch to the NVIDIA Orin SoC and the ARM HSSTP II Active Probe.

number2

Bridge both pins of the MODE SELECT jumper with the jumper cap.

number3

In winIDEA, make a connection to the target, and measure Vref in Measurement plugin.

 

 

More resources:

Network description - mDIO configuration

mDIO use cases and configuration

Measurement - Plugin

 

Copyright © 2024 TASKING Germany GmbH