Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I easily bootload an nRF52832 using a BeagleBone Green Wireless and its built in bluetooth?

We have a handful of products that utilize nRF52832 IC's for BLE communication.  The bootloader in these devices is based on the one in the SDK, I believe version 11.0.  In any case, the bootloader works with nRF Connect on my Android phone.

We are preparing to ship a BeagleBone Green Wireless (BBGW) based device alongside the BLE devices.  I'm investigating how I can bootload the Nordic parts via BLE.  I am aware of nrfutil and have been able to get it running on the BBGW, but it appears to require a BLE dongle to work.  We're not going to be able to add a dongle to every BBGW we ship, so that isn't an option.

Is there a solution to bootload an nRF52832 using the BBGW's on board Bluetooth IC?

Parents
  • Little more information...

    If I try to run `nrfutil dfu ble -pkg software.zip -ic NRF52` I get error messages:

    File "/usr/local/bin/nrfutil", line 11, in <module>
    load_entry_point('nrfutil==3.4.0', 'console_scripts', 'nrfutil')()
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py", line 776, in ble
    ble_driver_init(conn_ic_id)
    File "/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py", line 65, in ble_driver_init
    from pc_ble_driver_py.ble_driver import BLEDriver, Flasher
    File "/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/ble_driver.py", line 105, in <module>
    raise RuntimeError("Could not load shared library {} : '{}'.".format(shlib_path, error))
    RuntimeError: Could not load shared library /usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so : '/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so: cannot open shared object file: No such file or directory'.

    libpc_ble_driver_shared_sd_api_v3.so exists in the specified directory.

    I've gone so far as to build boost and pc-ble-driver on my beaglebone, which takes a long time, but I'm now stuck at this point.

Reply
  • Little more information...

    If I try to run `nrfutil dfu ble -pkg software.zip -ic NRF52` I get error messages:

    File "/usr/local/bin/nrfutil", line 11, in <module>
    load_entry_point('nrfutil==3.4.0', 'console_scripts', 'nrfutil')()
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py", line 776, in ble
    ble_driver_init(conn_ic_id)
    File "/usr/local/lib/python2.7/dist-packages/nrfutil-3.4.0-py2.7.egg/nordicsemi/__main__.py", line 65, in ble_driver_init
    from pc_ble_driver_py.ble_driver import BLEDriver, Flasher
    File "/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/ble_driver.py", line 105, in <module>
    raise RuntimeError("Could not load shared library {} : '{}'.".format(shlib_path, error))
    RuntimeError: Could not load shared library /usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so : '/usr/local/lib/python2.7/dist-packages/pc_ble_driver_py/lib/linux/x86_32/libpc_ble_driver_shared_sd_api_v3.so: cannot open shared object file: No such file or directory'.

    libpc_ble_driver_shared_sd_api_v3.so exists in the specified directory.

    I've gone so far as to build boost and pc-ble-driver on my beaglebone, which takes a long time, but I'm now stuck at this point.

Children
No Data
Related