# How to determine COM port

This section describes the steps 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 M33.

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

    ![](../images/device_manager.png "Device Manager")

3.  In the **Device Manager**, expand the **Ports \(COM & LPT\)** section to view the available ports. The COM port names are different for all the NXP boards.
    1.  **USB-UART** interface

        ![](../images/usb_uart_interface_imx7ulp_b0.png "USB-UART interface")


