MCUXpresso SDK Documentation

hello_world_virtual_com

hello_world_virtual_com#

Overview#

Hello World Virtual Com demonstrates the use of virtual com to print the “Hello World” string to the terminal. Different with Hello World demo (a HW UART peripheral is used to transmit data), the demo transmits data based on a serial port simulated by the USB device stack on target board side via USB peripheral. The purpose of this demo is to demonstrate how to use virtual com and provide a simple project for debugging and further development.

Supported Boards#

EVKB-IMXRT1050
Hardware requirements
  • Two Micro USB cable

  • EVKB-IMXRT1050 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

MIMXRT1060-EVKB
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1060-EVKB board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

MIMXRT1170-EVKB
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1170-EVKB board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port (J20) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

MIMXRT1060-EVKC
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1060-EVKC board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-IMXRT1152
Hardware requirements
  • Two Micro USB cable

  • FRDM-IMXRT1152 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port (J20) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

EVK-MIMXRT1010
Hardware requirements
  • Two Micro USB cable

  • EVK-MIMXRT1010 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J41.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

Note: When the USB serial port is emuerated and termial is opened, the printf has been executed, so the message cannot be displayed. Please use putty,sscom and other terminal that support data caching replace it.

EVK-MIMXRT1015
Hardware requirements
  • Two Micro USB cable

  • EVK-MIMXRT1015 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J41.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

Note: When the USB serial port is emuerated and termial is opened, the printf has been executed, so the message cannot be displayed. Please use putty,sscom and other terminal that support data caching replace it.

EVK-MIMXRT1020
Hardware requirements
  • Two Micro USB cable

  • EVK-MIMXRT1020 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

Note: When the USB serial port is emuerated and termial is opened, the printf has been executed, so the message cannot be displayed. Please use putty,sscom and other terminal that support data caching replace it.

MIMXRT1024-EVK
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1024-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

Note: To debug in qspiflash, following steps are needed:

  1. Select the flash target and compile.

  2. Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.

  3. Start debugging in IDE.

    • Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.

Note: When the USB serial port is emuerated and termial is opened, the printf has been executed, so the message cannot be displayed. Please use putty,sscom and other terminal that support data caching replace it.

MIMXRT1040-EVK
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1040-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

EVK-MIMXRT1064
Hardware requirements
  • Two Micro USB cable

  • EVK-MIMXRT1064 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

MIMXRT1160-EVK
Hardware requirements
  • Two Micro USB cable

  • MIMXRT1160-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port (J20) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

MIMXRT1180-EVK
Hardware requirements
  • Mini/micro USB cable

  • MIMXRT1180-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Connect a USB cable between the host PC and the USB OTG1 port on the target board.

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  5. Open a serial terminal(like putty) to communicate with the board via a USB serial device (VID:PID = 1FC9:0094) running at the baud rate 115200 8n1.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Press any key. Terminal will echo back the received characters.

EVK-MIMXRT595
Hardware requirements
  • Two Micro USB cables

  • EVK-MIMXRT595 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J38) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. A COM port is enumerated in the Device Manager. If it prompts for CDC driver installation, please reference the virtual_com_readme.pdf which can be found at below directory: In Release package: <install_dir>\devices<soc>\utilities\virtual_com_readme.pdf .to install the CDC driver.

  5. Open the COM port in a terminal tool, such as TeraTerm, SSCOM, Putty, Putty is recommended while virtual com is used.

  6. Then user can communicate with target boards through virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

EVK-MIMXRT685
Hardware requirements
  • Two Micro USB cables

  • EVK-MIMXRT685 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port(J5) on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J7) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. A COM port is enumerated in the Device Manager. If it prompts for CDC driver installation, please reference the virtual_com_readme.pdf which can be found at below directory: In Release package: <install_dir>\devices<soc>\utilities\virtual_com_readme.pdf .to install the CDC driver.

  5. Open the COM port in a terminal tool, such as TeraTerm, SSCOM, Putty, Putty is recommended while virtual com is used.

  6. Then user can communicate with target boards through virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

FRDM-K22F
Hardware requirements
  • Two Micro USB cable

  • FRDM-K22F board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-K32L2A4S
Hardware requirements
  • Two Mini USB cable

  • FRDM-K32L2A4S board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-K32L2B
Hardware requirements
  • Two Mini USB cable

  • FRDM-K32L2B board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-MCXC242
Hardware requirements
  • Two Mini USB cable

  • FRDM-MCXC242 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J12) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.
FRDM-MCXC444
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXC444 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-MCXN947
Hardware requirements
  • Two Type-C USB cables

  • FRDM-MCXN947 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J11) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\frdmmcxn947\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

FRDM-MCXN947T
Hardware requirements
  • Two Type-C USB cables

  • FRDM-MCXN947T board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J11) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\frdmmcxn947t\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

FRDM-RW612
Hardware requirements
  • Two Micro USB cable

  • FRDM-RW612 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

LPCXpresso54628
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso54628 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso54S018
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso54S018 board

  • Personal Computer

Board settings

Please make sure the JP9 is set up to HS mode.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso54S018M
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso54S018M board

  • Personal Computer

Board settings

Please make sure the JP9 is set up to HS mode.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso55S16
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso55S16 board

  • Personal Computer

Board settings

The jumper setting: Default jumpers configuration does not work, you will need to add JP20 and JP21 (JP22 optional for ADC use)

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J3) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\lpcxpresso55s16\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso55S28
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso55S28 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

Note: MCUXpresso IDE project default debug console is semihost

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso55S36
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso55S36 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J3) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\lpcxpresso55s36\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

LPCXpresso55S69
Hardware requirements
  • Two Micro USB cables

  • LPCXpresso55s69 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo

Note: MCUXpresso IDE project default debug console is semihost

  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

MCX-N5XX-EVK
Hardware requirements
  • Two Micro USB cables

  • MCX-N5XX-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J27) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\mcxn5xxevk\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

MCX-N9XX-EVK
Hardware requirements
  • Two Micro USB cables

  • MCX-N9XX-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J27) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\mcxn9xxevk\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

MIMXRT685-AUD-EVK
Hardware requirements
  • Two Micro USB cables

  • MIMXRT685-AUD-EVK board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port(J5) on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J7) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. A COM port is enumerated in the Device Manager. If it prompts for CDC driver installation, please reference the virtual_com_readme.pdf which can be found at below directory: In Release package: <install_dir>\devices<soc>\utilities\virtual_com_readme.pdf .to install the CDC driver.

  5. Open the COM port in a terminal tool, such as TeraTerm, SSCOM, Putty, Putty is recommended while virtual com is used.

  6. Then user can communicate with target boards through virtual com.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

MIMXRT700-EVK
Hardware requirements
  • Mini/micro USB cable

  • mimxrt700evk board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Connect a USB cable between the host PC and the USB OTG1 port on the target board.

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  5. Open a serial terminal(like putty) to communicate with the board via a USB serial device (VID:PID = 1FC9:0094) running at the baud rate 115200 8n1.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Press any key. Terminal will echo back the received characters.

RD-RW612-BGA
Hardware requirements
  • Two Micro USB cable

  • RD-RW612-BGA board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the OpenSDA USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port on the target board.

  2. Download the program to the target board.

  3. Launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Terminal will echo back the received characters.

FRDM-IMXRT1186
Hardware requirements
  • Type-C USB cable

  • FRDM-IMXRT1186 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Connect a USB cable between the host PC and the USB OTG1 port on the target board.

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  5. Open a serial terminal(like putty) to communicate with the board via a USB serial device (VID:PID = 1FC9:0094) running at the baud rate 115200 8n1.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Press any key. Terminal will echo back the received characters.

FRDM-MCXA287
Hardware requirements
  • Two Type-C USB cables

  • FRDM-MCXN947 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J11) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\frdmmcxn947\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.

FRDM-IMXRT700
Hardware requirements
  • Type-C USB cable

  • frdmimxrt700 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.

  2. Connect a USB cable between the host PC and the USB OTG1 port on the target board.

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  5. Open a serial terminal(like putty) to communicate with the board via a USB serial device (VID:PID = 1FC9:0094) running at the baud rate 115200 8n1.

Running the demo

The log below shows the output of this demo in the terminal window:

hello world.

Press any key. Terminal will echo back the received characters.

FRDM-MCXA577
Hardware requirements
  • Two Type-C USB cables

  • FRDM-MCXN947 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board for downloading the program and supply power for the board, connect another USB cable between host PC and USB port(J11) on the target board.

  2. Download the program to the target board.

  3. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

  4. Open a serial terminal(like putty) to communicate with the board via virtual com, virtual com info can refer “boards\frdmmcxn947\usb_examples\usb_device_cdc_vcom\bm\readme.pdf”.

Running the demo

The log below shows the output of the hello world demo in the terminal window:

hello world.

The debug console virtual com will echo back the received characters.