I am trying to do OTA DFU on nRF51-DK from a BLE dongle (CSR 4.0) and gatttool from BlueZ. The image is compiled from blinky_s110_pca10028 example (blinky_s110_pca10028.hex). I followed the SDK 8.0.0 documentation here (I used the most basic procedure without packet receipt notification), and how to build the init packet here. The init packet was
ffff ffff ffff ffff 0100 feff 5d1e
, in which 0x1e5d was the CRC checksum of the binary file blinky_s110_pca10028.bin. I have verified this bootloader was functional (passed the test documented here). And blinky_s110_pca10028 image was also functional when flashed with SWD to nRF51-DK. I have attached the log of OTA DFU using gatttool http://pastebin.com/urZtiE2e . You can see that everything before and including verification was successful because you can see notification message like
char-write-req 0x10 04 --listen
Notification handle = 0x0010 value: 10 04 01
However, after sending command
char-write-req 0x10 05
to activate and reset the chip, I still saw "DfuTarg" advertizing, meaning OTA DFU was not successful. What am I missing here?