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

Please help me with generating init packet for DFU

Hi, I need help for generating the init packet. I'm using SDK 11.0.0 , s130 on nrf51822. To build bootloader, I've used the sample bootloader with some include path changes for linking. I have my application code ready.

Both my bootloader and application code is working if i load my code through the PC version of Master Control Panel (10.0) since it will generate init packet internally and uploading firmware is successful.

But i want to use android version of NRF Tool - DFU, where i will have to generate distribution packet or application with init packet. I'm using the following command line :-

nrfutil.exe dfu genpkg --application nrf51422_xxac_s130.hex --application-version 0xffffffff --softdevice s130_nrf51_2.0.1_softdevice.hex --bootloader nrf51422_xxac.hex --dev-type 0xffff --dev-version 0xffff --sd-req 0xfeff TEST.zip

this cmd is successful, if i use those generated files for uploading, DFU will fail to upload. Can anyone help me to solve this problem, I'm i missing something or doing something wrong? Is every parameters in command correct? Is there any other alternate solution for uploading my application firmware using my android tab?

Parents Reply Children
No Data
Related