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

Invalid Object on nRF51822 during DFU Secure Bootloader

Hello,

I am trying to implement DFU secure bootloader to do firmware update over the air for nrf51822.

  1. I have followed the steps as per the blog devzone.nordicsemi.com/.../, created private, public keys and ZIP file for DFU update.

  2. As per the blog, i have downloaded the softdevice first into the nrf51DK board via keil (as i am facing invalid soft device error while programming it via nRFgo Studio) and then programmed Bootloader from nRFgo Studio.

  3. Now the device gets advertised as DfuTarg, i have connected the device and enabled notifications for control point characterisitc and written 1 to the secure DFU control point characteristic.

  4. Now i tried updating the zip file created in step 1 and on pressing start button, i get Error 5 - Invalid Object.

what is the reason for getting the above said error? please help me to resolve this error at the earliest as we are approaching production deadline.

Note: i have created Zip file using the nrfutil command - nrfutil dfu genpkg app_dfu_package.zip --application nrf51822_xxac.hex --application-version 1 --dev-revision 1 --dev-type 51 --sd-req 0x87 --key-file private.key

Regards, Krish

Related