Skip to content
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

board: bl654_usb project: samples/basic/blinky does not blink LED #38245

Closed
carlberg74 opened this issue Sep 2, 2021 · 5 comments · Fixed by #38456
Closed

board: bl654_usb project: samples/basic/blinky does not blink LED #38245

carlberg74 opened this issue Sep 2, 2021 · 5 comments · Fixed by #38456
Assignees
Labels
area: Flashing bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@carlberg74
Copy link

Built and flashed the blinky sample project for the bl654_usb board.
following this guide: https://docs.zephyrproject.org/latest/boards/arm/bl654_usb/doc/bl654_usb.html

But the LED does not flash.

Tested also samples/bluetooth/hci_usb, but dongle is not detected as ble device after flashing.
About to test some serial console to see if I get any output from the dongle after flashing.

Environment:
Version: DTC 1.5.0
Python 3.8.10
cmake version 3.21.1
Zephyr version: 2.6.99
Toolchain: zephyr 0.13.0
Build OS: Linux Ubuntu 20.04 (west build, nrfutil pkg generate)
Flash: OS: Windows 10 (nrfutil dfu usb-serial)

@carlberg74 carlberg74 added the bug The issue is a bug, or the PR is fixing a bug label Sep 2, 2021
@cfriedt cfriedt added the priority: low Low impact/importance bug label Sep 7, 2021
@cfriedt
Copy link
Member

cfriedt commented Sep 7, 2021

It sounds as though the firmware is not being written properly

@cfriedt
Copy link
Member

cfriedt commented Sep 7, 2021

@rerickson1 - are you able to repro?

@rerickson1
Copy link
Member

@lairdjm can you help with this?

@carlberg74
Copy link
Author

After fix, I tested flash again with samples/bluetooth/hci_usb and samples/bluetooth/uart_usb but I cant get it to hciconfig to get it up and running. Has anyone tested this and got it to work?
I have it working with NRF52840 USB dongle and Zephyr on same device.

@nordicjm
Copy link
Collaborator

@carlberg74 this is caused by the CDC port being used as a console, equivalent to the standard UART on most modules, if you configure the project through ninja menuconfig and change:

USB_UART_CONSOLE from y to n
BOOT_BANNER from y to n
UART_CONSOLE from y to n
STDOUT_CONSOLE from y to n
EARLY_CONSOLE from y to n
USB_CDC_ACM from y to n

Then build and flash and it will be detected:

[ 1172.839478] usb 3-11: new full-speed USB device number 13 using xhci_hcd
[ 1172.968233] usb 3-11: New USB device found, idVendor=2fe3, idProduct=000b, bcdDevice= 2.06
[ 1172.968236] usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1172.968238] usb 3-11: Product: USB-DEV
[ 1172.968239] usb 3-11: Manufacturer: ZEPHYR
[ 1172.968240] usb 3-11: SerialNumber: 377ED198E19E7477

hci0:   Type: Primary  Bus: USB
        BD Address: 00:00:00:00:00:00  ACL MTU: 27:3  SCO MTU: 0:0
        UP RUNNING 
        RX bytes:514 acl:0 sco:0 events:45 errors:0
        TX bytes:233 acl:0 sco:0 commands:45 errors:0
        Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
        Packet type: DM1 DH1 HV1 
        Link policy: 
        Link mode: SLAVE ACCEPT 
Can't read local name on hci0: Input/output error (5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Flashing bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants