This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

How to determine COM port {#GUID-2AB23BCE-17A3-460B-BB8B-10B1EC0F4B69}

This section describes the steps necessary to determine the debug COM port number of your NXP hardware development platform.

  1. Linux: The serial port can be determined by running the following command after the USB Serial is connected to the host:

    $ dmesg | grep "ttyUSB"
                        [503175.307873] usb 3-12: cp210x converter now attached to ttyUSB0
                        [503175.309372] usb 3-12: cp210x converter now attached to ttyUSB1
    

    There are two ports, one is Cortex-A core debug console and the other is for Cortex M4.

  2. Windows: To determine the COM port open Device Manager in the Windows operating system. Click the Start menu and type Device Manager in the search bar.

  3. In the Device Manager, expand the Ports (COM & LPT) section to view the available ports. The COM port names will be different for all the NXP boards.

    1. OpenSDA – CMSIS-DAP/mbed/DAPLink interface:

      |

|

2.  **OpenSDA – P&E Micro**:

    |![](../images/opensda_pe_micro.png "OpenSDA – P&E Micro")

|

3.  **OpenSDA – J-Link**:

    |![](../images/opensda_jlink.png "OpenSDA – J-Link")

|

4.  **P&E Micro OSJTAG**:

    |![](../images/pe_micro_osjtag.png "P&E Micro OSJTAG")

|

5.  **LPC-Link2**:

    |![](../images/lpc-link2.png "LPC-Link2")

|