AnsweredAssumed Answered

stlink virtual comm port example?

Question asked by David Pekin on Jan 30, 2018
Latest reply on Jan 31, 2018 by David Pekin

Hello. 

 

I was searching to find some example code showing the usage of the STLink Virtual comm port.  I couldn't find anything in the example projects (or was incompetent in my searching)...  I'd like to route printfs() to it for debugging. 

 

I'm also wondering if we could use it as a standard serial communication channel.  We're going to add RS-422 drivers and use a UART for the final product but I'd like to get a head start and was hoping to use the STLink to allow serial access prior to getting the H/W built.  

 

I've seen various threads on the forum of people having trouble w/ the STLink comm.  Does anyone have a simple example that works?   

 

Thanks!

Outcomes