This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Execute error in secure DFU

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.

  1. 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?

  2. 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?

Related