AnsweredAssumed Answered

VCP on Nucleo : What's wrong ?

Question asked by Legrand.Thomas.001 on Aug 25, 2014
Latest reply on Aug 28, 2014 by Legrand.Thomas.001
Hello,

I'm developping an internal production tool that uses a nucleo as MCU board.
It uses the built in VCP to communicate with a .NET application.

I'm using vitual com ports on many many apps and never had such problems.

First you can't send a byte buffer to the VCP driver, you have to send data byte per byte (otherwise it just doesn't send anything !) ...
Then receiving ... it seems to work at first, but if you start sending some data (more than a few bytes at a time), then you randomly loose data or it just stops working (or signal the OS that a byte is received many seconds after the byte arrived, etc).

I connected a logic analyser on TX/RX lines and on no problem on this level.

I need a reliable com port communication, is that possible with Nucleo?
Did someone already managed to get it working correctly?

Thomas.

Outcomes