Project

General

Profile

Actions

Support #6416

open

Serial debug tty port speed

Added by pfassberg 28 days ago. Updated 28 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
electrical
Target version:
-
Start date:
03/22/2024
Due date:
% Done:

0%

Spec Reference:
Tags:

Description

I'm trying to read the debug info from the firmware in icE1usb via the 2.5 mm serial connector. I'm using the sysmocom CP2102-25 cable.

The documentation states that the serial speed is 1000000 bps.

Unfortunately I only receive garbage. I have tested with a number of other other speeds but can't get it to work. I assume that the debug output should be in text format.

Any ideas?

// Peter

Actions #1

Updated by tnt 28 days ago

AFAIR the default programming of the CP2102 is to do 921600 and you need to reprogram it to do 1MBaud.

https://community.silabs.com/s/article/cp210x-baud-rate-aliasing?language=en_US

Actions #2

Updated by laforge 28 days ago

On Fri, Mar 22, 2024 at 05:52:06PM +0000, pfassberg wrote:

I'm trying to read the debug info from the firmware in icE1usb via the 2.5 mm serial connector. I'm using the sysmocom CP2102-25 cable.

Are you sure you have configured your CP2102 to actually do 1,000,000 bits per second? The factory
configuration of those chips is to use 921600, AFAICT. I think you can only configure it to either support
standards 921600 or 1000000.

The above applies to all CP2102 based USB serial converters and is not specific to the sysmocom cable.

You can find references like
https://www.olliw.eu/storm32bgc-wiki/How_to_configure_CP2102_USB_adapters_for_high_baud_rates or also
https://osmocom.org/projects/baseband/wiki/HardwareCP210xTutorial (For yet some other baud rates)

I always label my cables with either 921600 or 1000000 as the re-programming is too cumbersome.

The documentation states that the serial speed is 1000000 bps.

this is correct.

Unfortunately I only receive garbage. I have tested with a number of other other speeds but can't get it to work. I assume that the debug output should be in text format.

the output is text.

Actions #3

Updated by laforge 28 days ago

  • Status changed from New to Feedback
  • Assignee changed from tnt to pfassberg
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)