Skip to content

No USB instance #13323

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

Closed
pdunaj opened this issue Feb 12, 2019 · 2 comments
Closed

No USB instance #13323

pdunaj opened this issue Feb 12, 2019 · 2 comments
Assignees
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug

Comments

@pdunaj
Copy link
Collaborator

pdunaj commented Feb 12, 2019

Describe the bug

[00000076] <inf> hid_state: Init HID state!
ASSERTION FAIL [usb_dev != ((void *)0)] @ ../src/modules/usb_state.c:250
***** Kernel Panic! *****
Current thread ID = 0x20004078
Faulting instruction address = 0x78d0
        usb_dev = device_get_binding(DT_NORDIC_NRF_USBD_0_LABEL);                                                        
        __ASSERT_NO_MSG(usb_dev != NULL);

To Reproduce
Steps to reproduce the behavior:
build and run

Expected behavior
I guess it should not crash...

Impact
Showstopper

Screenshots or console output
above

Environment (please complete the following information):
sha ncs: a9d9dc7
sha zephyr: aeff0ee

Additional context
N/A

@pdunaj pdunaj added bug The issue is a bug, or the PR is fixing a bug area: USB Universal Serial Bus labels Feb 12, 2019
@pdunaj
Copy link
Collaborator Author

pdunaj commented Feb 12, 2019

Does anything registers a USB device to actually have this binding?
@lemrey @pawelzadrozniak does anybody tested this new interface?

@pdunaj
Copy link
Collaborator Author

pdunaj commented Feb 12, 2019

Wrong label was used. The are no devices on the driver level but instead each class creates its own.

@pdunaj pdunaj closed this as completed Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants