I've created a Secure DFU client using the multilink central example with S130 and SDK 12.2 (running on PCA10031). There are a few issues we have trouble with.
-
The lowest connection interval we managed to get was ~18ms. Lower than that started generating a lot of offset errors (probably missed packets). Any way to increase the throughput without changing the code in the bootloader?
-
If one of the data objects has an offset after finishing its I restart it by re-sending create object request and send same data again. When I get to last object, the CRC and offset the image I sent, but the last execute request seem to fail with error 5 ("Hash failure" at nrf_dfu_postvalidate). This only happens when I have to resend one of the data objects. Did I miss something in the sequence?