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

S132 nrfutil DFU package generation

Hello everyone,

I'm having trouble with nrfutil (python version from github.com/.../pc-nrfutil). Here is the command line I use:

$ nrfutil dfu genpkg --application app_debug.hex --application-version 9 --bootloader bootloader_debug.hex --sd-req 0x6D,0x00 --softdevice s132_nrf52_1.0.0-3.alpha_softdevice.hex --dev-revision 1 dfu_debug.zip

Using the generated zip package, I can load the SD on the device but the problem is it's loaded at 0x5000 (0x3000 (MBR) + 0x2000). When I look into the sd_bl.bin file generated, I can see the 0x2000 offset (hexdump) :

0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
0002000 21f0 2000 d5c9 0001 41e1 0000 d527 0001
0002010 41e1 0000 41e1 0000 41e1 0000 0000 0000

0x2000 is also the SOFTDEVICE_INFO_STRUCT_OFFSET.

Is everything normal so far?

I checked dfu_types.h etc and it looks okay. I want to make sure that the generated binary is correct before continuing the investigations..

Thanks!

Parents Reply Children
Related