Skip to content

cdc_acm example doesn't work on nrf52840_pca10059 #14946

@markrages

Description

@markrages

Describe the bug
CDC_ACM example doesn't work in nrf52840_pca10059. The USB device doesn't appear.

To Reproduce
I build using the workaround in #14945:

  1. west build -d build/nRF52/mcuboot -s mcuboot/boot/zephyr -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x1000 -DCONFIG_FLASH_LOAD_SIZE=0xf000
  2. west build -d build/nRF52/cdc_acm -s zephyrproject/zephyr/samples/subsys/usb/cdc_acm -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x10000 -DCONFIG_FLASH_LOAD_SIZE=0x5E000
  3. west sign -d build/nRF52/cdc_acm/ -t imgtool -- --key mcuboot/root-rsa-2048.pem
  4. Load build/nRF52/mcuboot/zephyr/zephyr.hex and zephyr.signed.hex simultaneously with nRF Connect app.

Expected behavior
A device appears in lsusb output. A tty device appears as /dev/ttyACM*

Actual behavior
No device appears in lsusb. No USB messages appear in dmesg.

Impact
I am stuck in my development without a working serial port.

Environment

  • OS: Ubuntu 18.04
  • Toolchain: zephyr-sdk-0.10.0
  • Commit: c3cf543

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions