Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Cannot set static address when using hci_usb or hci_uart on nRF5340 attached to Linux Host #32203

Closed
furkanhtk opened this issue Feb 11, 2021 · 4 comments
Assignees

Comments

@furkanhtk
Copy link

Hi,
As you suggested in #31308, I tried it on Raspberry with new kernel and Bluez versions and encountered the same error.
Linux raspberrypi 5.4.83-v7+ #1379 SMP Mon Dec 14 13:08:57 GMT 2020 arm7l GsNU/Linux
with bluez version : 5.50-1.2~deb10u1+rpt2
Thanks for help.

#3230
#11016

@carlescufi
@jfischer-no
@dcpleung
Label:

@jfischer-no jfischer-no self-assigned this Feb 11, 2021
@jfischer-no
Copy link
Collaborator

jfischer-no commented Feb 11, 2021

I have tried it on RPi3 with 2021-01-11-raspios-buster-armhf-lite and Kernel version Linux raspberrypi 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux (after apt upgrade). I successfully tested nRF5340 on nRF5340DK (0.11.0).
Unfortunately, only now I realized that nRF5340 can not work OOTB with hci_usb. The cpunet must also be flashed with appropriate application, for example hci_rpmsg.

west build --build-dir build_cpunet -b nrf5340dk_nrf5340_cpunet samples/bluetooth/hci_rpmsg
west build --build-dir build_cpuapp -b nrf5340dk_nrf5340_cpuapp samples/bluetooth/hci_usb
west flash --build-dir build_cpunet/
west flash --build-dir build_cpuapp/

@carlescufi
Copy link
Member

I have tried it on RPi3 with 2021-01-11-raspios-buster-armhf-lite and Kernel version Linux raspberrypi 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux (after apt upgrade). I successfully tested nRF5340 on nRF5340DK (0.11.0).
Unfortunately, only now I realized that nRF5340 can not work OOTB with hci_usb. The cpunet must also be flashed with appropriate application, hci_rpmsg.

Define "OOTB". For me, having to flash 2 binaries, one per core, is a reasonable requirement for a dual-core device that gets its images from building Zephyr twice.

@jfischer-no
Copy link
Collaborator

Define "OOTB". For me, having to flash 2 binaries, one per core, is a reasonable requirement for a dual-core device that gets its images from building Zephyr twice.

Well I think this requirement is not immediately clear to everyone, how is an inexperienced user supposed to know which application is required for network-cpu? I think it makes sense to update README.rst in hci_usb sample.

@furkanhtk
Copy link
Author

Thanks for help. Now I am able to scan through btmgmt.

@zephyrproject-rtos zephyrproject-rtos locked and limited conversation to collaborators Feb 12, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

3 participants