AnsweredAssumed Answered

How do I setup the debug console to use the Virtual COM port (USB CDC driver)?

Question asked by Mark Dobrosielski on Jun 4, 2015
Latest reply on Aug 23, 2016 by kirantujare

I know that DbgConsole_Init() has to be called with a debug_console_device_type_t == kDebugConsoleUSBCDC, but what else?

- Do I need to include the virtual_com.c & virtual_com.h files in my project?

- Do I need to grab the usb callback routines from the virtual com demo and put them somewhere?

- Where do I define BOARD_USE_VIRTUALCOM?

 

I'm trying to use the Virtual COM port for my console I/O on a FRDM-KL27Z running mqx-lite. I've successfully converted the virtual_com usb demo to use mqx-lite, and now I need to write my "real" application with real console I/O (not just echoed characters).

Outcomes