Code Docs

BloxOsLite (New Release!)

Physical UART Connection

The CLI is accessed using the UART port on the UbiSwitch Module. The UART port is typically connected to another UART port on a management PC, or to a USB port on a management PC through a UART to USB converter.

This following pins on the UbiSwitch Module are used for the UART port.

Pin 29: USART2_RX (input to module)

Pin 31: USART2_TX (output from module)

The ground reference must also be connected to the UART device. Any of the ground pins on the UbiSwitch module can be used for this.

<aside> ⚠️ Note that the UART connection is not isolated, thus from the main ground on UbiSwitch. Therefore, make sure UbiSwitch and the connected UART device share the same ground. You can get around this limitation by using a isolated line driver or isolated UART to USB converter.

</aside>

The UART connection is a 3.3V, single ended signal. The 3.3V rail on pins 57 and 59 may also be used to connect to the communicating UART device if the level reference is needed.

On UbiSwitch BaseBoard and UbiSwitch Baseboard Mini the RX, TX, GND and 3.3V are broken out onto a Molex PicoClasp header.

Physical location of the UART header on UbiSwitch Baseboard Mini

Physical location of the UART header on UbiSwitch Baseboard Mini

Physical location of the UART header on UbiSwitch Baseboard

Physical location of the UART header on UbiSwitch Baseboard

The pinout of the UART connectors on both boards is identical, shown below.

Untitled

CLI Bringup

Follow the steps below to access the CLI on UbiSwitch

  1. Ensure that UbiSwitch has been flashed with the BloxOsLite Firmware (instructions here).
  2. Connect the UART port on your baseboard to your computer, either directly or using a USB to UART converter.
  3. Open a serial terminal program such as PuTTY or TeraTerm with the following parameters
  4. Power on UbiSwitch. At boot banner will be displayed on the serial terminal.