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

Reference for DFU over Serial

We are using the nRF51 bootloader to support DFU over serial. We were able to use the example bootloader as a great reference. We are able to successfully update our app using the jlinkexe (J-Link Commander) that was packaged with our TI-based host dev board. This dev board is plugged into a nRF51 dev kit via USB. This solution, however, does not work on our final product. This product uses RS-232 between the TI host and nRF51822 (/dev/ttys2). jlinkexe only support a USB connection. So, we must develop a jlinkexe substitute. A description of the protocol that is used to support DFU can be found within Nordic docs here: developer.nordicsemi.com/.../a00108.html. This is great, but a reference (with source) that implements this protocol would be even better. Does such exist? We are running an S130 softdevice.

Parents
  • ... further to this. We found what might be our best option. pc-nrfutil repo is in github here: github.com/.../pc-nrfutil. Its a Python-based solution, but we have gotten a Windows version of nrfutil working and successfully updated our app. Its now a question of migrating the solution to our SOM running Linux. A native c/c++ based solution is preferred, but Python will be adequate if that is all that is available. Please advise if there is another reference available in native c/c++.

Reply
  • ... further to this. We found what might be our best option. pc-nrfutil repo is in github here: github.com/.../pc-nrfutil. Its a Python-based solution, but we have gotten a Windows version of nrfutil working and successfully updated our app. Its now a question of migrating the solution to our SOM running Linux. A native c/c++ based solution is preferred, but Python will be adequate if that is all that is available. Please advise if there is another reference available in native c/c++.

Children
Related