-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdc_acm example doesn't work on nrf52840_pca10059 #14946
Comments
Here's backtrace:
|
Waiting for DTR is like #13662. Except I am sure the device is plugged in to USB -- that's how I loaded the code. |
micro USB connector labeled as "nRF USB" is also connected to the host? |
@jfischer-phytec-iot the '59 is the dongle, see picture on this unrelated bug: NordicSemiconductor/pc-nrfconnect-programmer#116 (comment) |
So, this worked once. I did the
|
Tested with reel board and frdm-k64f, works fine. |
Hi @markrages, could you please check if #14978 fixes this issue. Thank you. |
@markrages is this one fixed too by #14875? If so, could you please close it? Thanks! |
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:
west build -d build/nRF52/mcuboot -s mcuboot/boot/zephyr -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x1000 -DCONFIG_FLASH_LOAD_SIZE=0xf000
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
west sign -d build/nRF52/cdc_acm/ -t imgtool -- --key mcuboot/root-rsa-2048.pem
build/nRF52/mcuboot/zephyr/zephyr.hex
andzephyr.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 indmesg
.Impact
I am stuck in my development without a working serial port.
Environment
The text was updated successfully, but these errors were encountered: