This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with OTA DFU in a 128kb chip

Hi

My aim is to be able to update the application code OTA in a 128kb chip (version nRF51822 QFABB0). First, I want to use the nordic original code to discard any other issue (SDK 6.1.0.0). I am going to explain in step by step guide what I've been trying so far. All questions/suggestions are most welcome.

.1 I use the nRFgo Studio (v 1.17.0) to erase the micro and flash the softdevice version s110_nrf51822_7.0.0_softdevice.hex.

.2 I open the nrf6310\device_firmware_updates\bootloader\arm\bootloader.uvproj with Keil (v 5.10) and change the following lines in the code:

 #define BOOTLOADER_REGION_START 0x0001C000
 #define BOOTLOADER_SETTINGS_ADDRESS 0x0001FC00

I also change the target parameters as in the following pic

Bootloader config

Compile and flash the bootloader through Keil.

.3 Then I open the ble_app_hrs_dfu project. There I also modify the target parameters as in the following image:

ble_app_hrs_dfu project config

Also compile and flash the application code through Keil.

.4 I use the MCP (v 3.6.0) to scan and I can see the device advertising as 'DfuTarg'. This is my problem because I am expecting the device to advertise as 'Nordic_HRM' according to the documentacion:

If there is no existing application in the nRF device, the device will be started in the bootloader mode. In case the device has an existing application, it will need to be put explicitly in the bootloader mode using button 7.

.5 I have done a DFU successfully with the app code 'ble_app_hrs_dfu' but the device still advertises as 'DfuTarg'

This is a sumary of my configuration.

SDK 6.1.0.0 using ble_app_hrs_dfu project without any change. s110_nrf51822_7.0.0_softdevice.hex nRFgoStudio 1.17.0 MCP 3.6.0 Keil 5.10.0

Thanks for your help.

Parents Reply Children
No Data
Related