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

nRF52 USB Dongle as programmer and beacon receiver

I had a generic USB dongle that I used to receive beacons on my machine from an nRF52832 chip. 

To be able to perform OTA DFU, I replaced that generic USB dongle with an nRF52840 USB dongle. 

Can I use the nRF52840 to function both as a programmer and a receiver of the beacons after programming? How could this be made possible, 

Thanks

Parents
  • It seems like I have to combine C code that receives beacons, and the C code that performs programming and put some conditions to perform either former or latter. Are there examples in SDK for either of these to use as source and flash nRF52840 dongle with?

  • Actually, nrfutil command line tool, which is used for performing OTA DFU is based on pc-ble-driver-py. This means that if is possible to extend the nrfutil Python application with custom code to scan for beacons alongside with performing DFU.

    pc-nrfutil is open source and available on our GitHub. The BLE DFU transport can be found here.

    If you do not require OTA DFU and beacon scanning at the same time, you can just use two separate pc-ble-driver-py applications. The firmware running on the dongle (connectivity FW) will be the same, given that you use the same pc-ble-driver-py version as is used in pc-nrfutil.

Reply
  • Actually, nrfutil command line tool, which is used for performing OTA DFU is based on pc-ble-driver-py. This means that if is possible to extend the nrfutil Python application with custom code to scan for beacons alongside with performing DFU.

    pc-nrfutil is open source and available on our GitHub. The BLE DFU transport can be found here.

    If you do not require OTA DFU and beacon scanning at the same time, you can just use two separate pc-ble-driver-py applications. The firmware running on the dongle (connectivity FW) will be the same, given that you use the same pc-ble-driver-py version as is used in pc-nrfutil.

Children
No Data
Related