USB CDC ACM Sample Application stuck on " Wait for DTR"

I'm tryin to get the USB CDC ACM Sample Application to work on my nRF52840DK board (https://docs.zephyrproject.org/2.6.0/samples/subsys/usb/cdc_acm/README.html).

I've followed the steps exactly but it's stuck at "Wait for DTR". Is this application meant to work with a USB cable only or do I need to an FTDI chip?

Parents Reply
  • The settings should be as described in How to connect with PuTTY. When I test on my end I see the following in the RTT log.

    Immediately after reset:

    00> [00:00:00.256,103] <inf> cdc_acm_echo: Wait for DTR

    After plugging in the USB cable:

    00> [00:02:27.090,759] <inf> usb_cdc_acm: Device suspended
    00> [00:02:27.236,419] <inf> usb_cdc_acm: Device resumed
    00> [00:02:27.236,450] <inf> usb_cdc_acm: from suspend
    00> [00:02:27.306,884] <inf> usb_cdc_acm: Device configured

    After connecting with a terminal emulator (like PuTTY):

    00> [00:03:03.178,833] <inf> cdc_acm_echo: DTR set
    00> [00:03:04.202,575] <inf> cdc_acm_echo: Baudrate detected: 115200

    And then in the terminal emulator you should see that you can write characters and they are echoed back (so that you see what you write).

Children
No Data
Related