Hi,
I want to add DFU to our board running SDK11 S130 but facing some problems.
I followed the instructions on infocenter, and started with ble_app_hrs example (from here). Below are the steps I tried:
1. Compile project dfu_dual_bank_ble_s130_pca10028 and make bootld.hex.
2. Compile project ble_app_hrs_s130_with_dfu_pca10028 and make app.hex.
3. Merge s130_nrf51_2.0.0_softdevice.hex, app_valid_setting_apply.hex (from here), bootld.hex and app.hex.
4. Program the merged file with nRFgo studio to 51DK.
5. In nRF Connect (Windows10, v3.6.1), connect to USB dongle(pca10031), find "Nordic_HRM" and connect to it.
6. In nRF Connect, under Nordic_HRM, find Legacy DFU, click play button beside Legacy DFU Control Point (to Enable DFU notifications I guess, since it shows 0100 in Client Characteristic Configuration).
7. In Client Characteristic Configuration input 0104 (I want to update application), in Log, it shows "Attribute value written, handle: 0x1E, value (0x): 01-04"
Up to here, I expect a disconnection and 51DK should start to advertise as "DfuTarg", But it did not happen. So here are my questions:
1. What am I missing in above steps? Do I need to change the bootloader code (in step 1) for buttonless application?
2. If I want to test DFU by using nRF Connect, how do I send the zip file to 51DK? I could not find anywhere in Connect that can attach a file.
3. What do I need to change to use it as Single Bank application?
4. In nRF toolbox Android app (v2.9.0), I tried to perform DFU with dfu_dual_bank_ble_s130_pca10028 example on 51DK. In the app when I click SELECT DEVICE it's able to find "DfuTarg", but when I click on "DfuTarg", it never get connected, and the UPLOAD button is always gray. I tried with another phone, get the same result. Is this a bug?
Thank you so much for the help!