This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Flashing nrf52840 dongle to support bluez

I have Debian 9.5 (Stretch) OS on my BeagleBone Black. I have installed bluetooth and bluez (5.43-2+deb9u1). Bluetooth is enabled and running but hcitool dev shows no devices.
I have connected my nRF52840 dongle and i can see the device using "lsusb".

I heard that I have to flash Zephyr BLE HCI_USB controller firmware onto the dongle so it can start supporting bluez stack. Is this right? How do I flash the dongle?

Parents
  • Hi,

    That is correct, the dongle must be programmed with the  Zephyr BLE HCI_USB controller firmware (build from latest stable release).

    The dongle comes pre-programmed with a serial bootloader enabling .hex files to be programmed through Programmer app in nRF connect desktop. Only requirement is that the FW starts at address 0x1000 in flash and 0x20000008 in RAM as the addresses below are reserved by the pre-programmed master boot record (MBR). That said, I'm not that familiar with the zephyr build system, so not sure how easy it is to change the linker configuration. I think it might be easier to just compile the example as is, and use an external debugger to upload the FW to the dongle. 

Reply
  • Hi,

    That is correct, the dongle must be programmed with the  Zephyr BLE HCI_USB controller firmware (build from latest stable release).

    The dongle comes pre-programmed with a serial bootloader enabling .hex files to be programmed through Programmer app in nRF connect desktop. Only requirement is that the FW starts at address 0x1000 in flash and 0x20000008 in RAM as the addresses below are reserved by the pre-programmed master boot record (MBR). That said, I'm not that familiar with the zephyr build system, so not sure how easy it is to change the linker configuration. I think it might be easier to just compile the example as is, and use an external debugger to upload the FW to the dongle. 

Children
Related