This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using USB CDC for STDIO

I want to connect STDIN & STDOUT of \Keil\ARM\RL\FlashFS\SRC\Retarget.c with the virtual COM port from \Keil\ARM\Boards\Keil\MCB2140\RL\USB\RTX_CDC.

It is clear that I have to implement sendchar & getkey.

In order to save RAM I would like to use the USB CDC Endpoint Buffers directly without additional FIFOs commonly used for serial communication.

Is this feasible?

What happens when the host sends data to the BULK OUT EP, but the previous data hasn't been already read by the application? Will the host be aware of this?

Regards,
Oliver