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

Result code 3 - INVALID_PARAMETER error when flashing application to unit with nRF Connect

Hello!

I am working on updating from SDK 15.2.0 to the SDK 16.0.0 and have encountered some problems when trying to use DFU OTA to flash my unit with the application.

I'm using a nRF52832 with the latest SDK (16.0.0) and SoftDevice (s132_nrf52_7.0.1). 

There is no problem flashing the bootloader, softdevice and application using a JLink. But when trying to update using DFU OTA I encounter the above mentioned problem:

It happens just when it seems to be finished.

I have debugged the bootloader and narrowed the issue down to happening in nrf_dfu_req_handler -> on_data_obj_write_request because s_dfu_settings.progress.data_object_size = 0

Parents Reply
  • I have tried using nRF Connect on iOS as well. It did not work either.

    It said it could not load firmware. We have not had any issues with OTA with the old SDK. Not with desktop nRF Connect or for iOS. 

     

    We are using an nRF52840 dongle for OTA DFU. So I don't think that is applicable for us. 

    I forgot to mention it, but my bootloader is properly flashed OTA. And then it fails at the end of flashing the application. Maybe that was able to be deducted from the issue.  


Children
Related