Support #6416
openSerial debug tty port speed
0%
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
Updated by tnt about 2 months 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
Updated by laforge about 2 months 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.
Updated by laforge about 2 months ago
- Status changed from New to Feedback
- Assignee changed from tnt to pfassberg