Uploading firmware from one NRF5340DK board to another NRF5340DK board via Bluetooth

Hello community,

I have 2 NRF5340 DK boards with me and what I intend to do is upload a sample firmware (.bin or .hex file) from one NRF5340 board to another via bluetooth.

I have negligible experience with the nodric development environment and have just started to learn bits and pieces of it from the sample examples. I have a project requirement to update firmware on a NRF5340 board which is not accessible directly but can be paired via bluetooth to another NRF5430 board. 

Here is a brief summary of what the flow might look like :

  • Board A is running Bluetooth HCI_UART program and board B is the board I want to update/ upload the firmware to.
  • Board A pairs to the board B over bluetooth
  • Board A then takes the firmware from a specified path on the computer and then transfers it via bluetooth to board B
  • Once the transfer is complete, the board B resets and starts executing the new firmware it just received.
  • Board A also goes back again into executing the Bluetooth HCI_UART program

Can anyone guide me on how to achieve this? being a complete beginner I would need some level of hand-holding for this.

Any inputs are greatly appreciated!

Thanks in advance.

Related