Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-detect UART #23

Open
wallento opened this issue Jul 9, 2016 · 2 comments
Open

Auto-detect UART #23

wallento opened this issue Jul 9, 2016 · 2 comments

Comments

@wallento
Copy link
Member

wallento commented Jul 9, 2016

We should start the UART transfers with a training sequence and auto-detect the baud speed with it.

@imphil
Copy link
Member

imphil commented Aug 17, 2016

@wallento that's done, isn't it?

@imphil
Copy link
Member

imphil commented Sep 1, 2016

currently auto-detect seems to be broken, connecting with speed=12000000 works for our standard OpTiMSoC design, without the speed option I get this:

$ opensocdebugd uart device=/dev/ttyUSB1
Open SoC Debug Daemon
Backend: uart
glip: gb_uart_open: Given speed 115200 did not work with device. Try autodetect..
glip: gb_uart_open: Could not autodetect baud rate.
glip: glip_open: Cannot open backend
glip: glip_write_b: No connection; you need to call glip_open() first!
glip: glip_read_b: No connection; you need to call glip_open() first!
opensocdebugd: /home/no56hud/src/optimsoc/external/opensocdebug/software/src/connection-standalone.c:67: receiver_thread_function: Assertion `rv == 0' failed.
Aborted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants