Issue with UbiSwitch CLI bringup

Our team is encountering an issue when attempting to access the CLI on the UbiSwitch mini using a USB to UART converter. We have verified that the UbiSwitch is correctly flashed with the software, and the communication connections between the switch and the converter are properly configured. We are using PuTTY to open a serial terminal, but when we input the parameters specified in the documentation, the terminal opens without displaying the boot banner or any other output.

Hi Arden,

Most likely, the firmware isn’t flashed on the board. Can you verify the revision of UbiSwitch you have (BB-UBS-A-1 or BB-UBS-B-1). It will be printed on the front and back of the board.

We have the BB-UBS-B-1. The red LED illuminates when the board is turned on as well.

Looping in @aaron .

While we wait, can you confirm your physical connection between your converter and the device, as well as confirming that both grounds are connected?

Finally, have you verified your converter is working by connecting RX to TX on the converter, and ensuring characters are echo’ed back.

I can confirm the physical connection as well as both grounds being connected. I have also done a loopback test and can verify that the converter is working.

Thankyou, and just to check this is a TTL, 3.3V UART converter you’re using right? Not an RS232/485 or anything else like that?

Yes a 3.3 TTL level UART to USB port converter.

Ok, and you’re into this port, connecting the TX of your converter to the RX on UbiSwitch Baseboard (and vice-versa)?

I assume you’ve also set the following parameters in putty.
- Type: Serial
- Baud Rate: 115200bps
- Parameters: 8 data bits, no parity, 1 stop bit (8-n-1)

While the serial port is connected, can you power cycle UbiSwitch? If all is well, it should output the boot banner directly.

We are using the Baseboard Mini. I can confirm that we are plugged into the corresponding UART port from the datasheet as well as connecting TX to RX and vice-versa. We have been utilizing those specific parameters, but power cycling has not resolved the issue.

If I gave you an ID for the module that we are using, would you be able to check if it has been flashed or not?

We flashed the switch and it is now working :+1:

1 Like