Hello,
I'm developping a new project on a Coldfire 54418 with MQX 3.6
I would like to implement a virtual COM port on my target.
Do you know where I can find an example of a virtual COM (CDC) on the MQX OS (for MCF5441x)
I would like to understand how to initialize the usb driver, how to set the baudrate (and parity, ...).
And then how to receive and send characters.
Is it possible to work with file handle to read and write to the USB port ? (The same way we do with an UART with fopen("ittya:", ...)
Sorry if my question has already been answered (I'm new in MQX and I have searched in the forum. But I didn't get a clear picture where the CDC examples can be found).
Thanks in advance.
Best regards
Nicolas
Solved! Go to Solution.
Hi Nicolas,
MQX3.6 is very old and out dated. The current MQX for development is MQX4.0.
It has following example for you:
C:\Freescale\Freescale_MQX_4_0_EAR1\usb\device\examples\cdc\virtual_com
Regards,
David
Hi Nicolas,
MQX3.6 is very old and out dated. The current MQX for development is MQX4.0.
It has following example for you:
C:\Freescale\Freescale_MQX_4_0_EAR1\usb\device\examples\cdc\virtual_com
Regards,
David