nRF51 SDK - S110 SoftDevice
|
The SDK provides some example projects that implement a bootloader with Device Firmware Update (DFU) capabilities, which can receive a firmware image and copy it to the nRF51 IC to replace the current bootloader, SoftDevice, or application.
The examples support the following Device Firmware Updates:
Before updating the device firmware, make sure that the following prerequisites are fulfilled:
If the device has an existing application when performing a SoftDevice update, the application is erased. Transferring a bootloader or application using dual-bank mode (see Dual-bank and single-bank updates) preserves the current image until the new image is copied, validated, and activated.
To get started, program and test one of the provided example projects. Running the BLE bootloader example describes the process for the default example, which uses BLE transport. Alternatively, you can run an example that uses serial transport (see Running the serial bootloader example).
The SDK provides sample images that you can use to test the DFU process. Creating an image file explains how you can convert your own image into the correct format.
The examples include a method for ensuring that the uploaded image is valid. See Safety-checking the image for information on how to ensure that only valid images are accepted.
If you encounter any errors, check the Troubleshooting section.