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

nrfutil, raspberry pi, secure dfu, nrf52832

Hi Nordic:

I want to build a raspberry connected to a 52832 board via uart,

this raspberry pi with 52832 board need doing secure DFU to remote BLE device, the raspberryPI and 52832 board are inside a box, we can't replace 52832 board by 52840 dongle because

a dongle outside of the box is not acceptable.

Our software architecture in this box is following:

1. Raspberry pi run nrfutil, maybe also need pc-ble-driver.

2. 52832 board has connectivity hex firmware, but uart setting in connectivity firmware should be correct, 52832 board's uart port setting is not same as 52832 DK.

3. So Rapsberry pi could doing secure DFU to remote BLE device.

My questions are:

1. Is there nrfutil for ARM platform version? if it's no, Do I have any other choice of a secure DFU utility on raspberry platform?

2. How to change UART pin setting of connectivity firmware?

3. Does our above software architecture make sense? please comment, thanks.

Regards.

Parents
  • Hi,

    1) nrfutil is really a python application, and I would think you can use it on the Raspberry Pi as long as you have all the requirements installed. I would start by trying to install it using pip with "pip install nrfutil". You can find more information on GitHubSome other relevant posts: link 1, link 2, link 3

    2) In order to create connectivity firmware that is compatible with custom nRF52 hardware you have to apply the patch found here (nRF5_SDK_15.3.0_connectivity.patch), to the connectivity example in SDK 15.3. You can find the connectivity example in SDK_FOLDER\examples\connectivity\ble_connectivity\pca10040\ser_s132_hci. You can then change the pinout in pca10040.h or create a custom_board.h to match your custom hardware pin settings.

    3) Based on the description on what you want to do, then yes.

Reply
  • Hi,

    1) nrfutil is really a python application, and I would think you can use it on the Raspberry Pi as long as you have all the requirements installed. I would start by trying to install it using pip with "pip install nrfutil". You can find more information on GitHubSome other relevant posts: link 1, link 2, link 3

    2) In order to create connectivity firmware that is compatible with custom nRF52 hardware you have to apply the patch found here (nRF5_SDK_15.3.0_connectivity.patch), to the connectivity example in SDK 15.3. You can find the connectivity example in SDK_FOLDER\examples\connectivity\ble_connectivity\pca10040\ser_s132_hci. You can then change the pinout in pca10040.h or create a custom_board.h to match your custom hardware pin settings.

    3) Based on the description on what you want to do, then yes.

Children
No Data
Related