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

Virtual COM Port on stlinkV2-1 support #515

Closed
aguegu opened this issue Nov 22, 2016 · 4 comments
Closed

Virtual COM Port on stlinkV2-1 support #515

aguegu opened this issue Nov 22, 2016 · 4 comments

Comments

@aguegu
Copy link

aguegu commented Nov 22, 2016

Programmer/board type: Stlink/v2-1

http://www.playembedded.org/blog/en/2015/02/10/hello-chibios

I read this great tutorial on playembedded. It says:

string “Hello World” is printed on Serial Driver 2 that actually is connected to ST Link V2-1 and is figured in Device Manager as ST Virtual COM port. Connecting to this COM port using a terminal we can capture this string.

As I tried it, I got nothing from /dev/stlinkv2_1 with minicom. Well, with modifying the setup to SD1 and an extra USB-USART(cp2102) attached, I got hello world with minicom.

I am not certain whether stlink got this feature covered.

If not, it is okay. Thanks to all the developers.

@xor-gate
Copy link
Member

"Virtual com port" is just an emulated serial port. There are two options:

@aguegu
Copy link
Author

aguegu commented Nov 23, 2016

@xor-gate great, so how to use it with minicom?

@xor-gate
Copy link
Member

There is no "real serial port" its emulated over the debug channel (usb) and no device node/com port is created by the OS. So you are unable to use it with minicom or whatsoever. The st-util tool only currently supports the ARM semihosting "debug channel" and the ITM port is not implemented.

@aguegu
Copy link
Author

aguegu commented Nov 24, 2016

Thanks, good to know that.

@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants