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

[PCA10028]Updating devices from SDK10 to SDK11 through OTA [Solved]

Hi,

I have a device running firmware from SDK10 and using s110. I would like to update the device to use SDK11 firmware with S130v2. I'm using following code to generate the hex and PCA10028 to test the functionality:

nrfutil dfu genpkg --application ble_app_hrs_s130_with_dfu_pca10028.hex --application-version 9 --bootloader dfu_dual_bank_ble_s130_pca10028.hex --sd-req 0x80,0x00 --softdevice s130_nrf51_2.0.0_softdevice.hex --dev-revision 1 dfu_debug.zip

The zip is generated successfully, but I am unable to upload the zip using nRF Master Control Panel.

I would like to know whether the command is correct and how I can debug this scenario.

The code has been taken from here

Thanks for always helping us.

Regards

Lalit

  • Hi Lalit,

    Would the bootloader work if you simply update application (with same SDK) and would it work if you update only bootloader+softdevice?

    I also suspect the requirement for application version, device vision could cause the issue. You can try to use generic requirement like this:

    This is for application:

    nrfutil.exe dfu genpkg app.zip --application yourapplication.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe 
    

    This is for bootloader and softdevice:

    nrfutil.exe dfu genpkg blsd.zip --bootloader dfu_dual_bank_ble_s130_pca10028.hex  --softdevice s130_nrf51_2.0.0_softdevice.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
    
  • Hi,

    Thanks for the reply. I was able to update the application with the commands that I provided. For upgrading the SDK version, I used your commands and it worked. I guess the requirement for application version and the device version was the problem here. Didn't knew that generic requirements were available. Looks like I'll have to understand this version requirements again.

    The problem is solved for now. Thanks again.

    Regards

    Lalit

Related