softdevice DFU not working with nrf52811

Hi,

We are trying to update the S112 softdevice on nrf52811 over serial DFU but it's not working and throwing the below errors.

Traceback (most recent call last):
  File "/usr/bin/nrfutil", line 11, in <module>
    load_entry_point('nrfutil==4.0.0', 'console_scripts', 'nrfutil')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nordicsemi/__main__.py", line 858, in serial
    do_serial(package, port, connect_delay, flow_control, packet_receipt_notification, baud_rate, True)
  File "/usr/lib/python2.7/site-packages/nordicsemi/__main__.py", line 793, in do_serial
    dfu.dfu_send_images()
  File "/usr/lib/python2.7/site-packages/nordicsemi/dfu/dfu.py", line 121, in dfu_send_images
    self._dfu_send_image(self.manifest.softdevice)
  File "/usr/lib/python2.7/site-packages/nordicsemi/dfu/dfu.py", line 97, in _dfu_send_image
    self.dfu_transport.send_init_packet(data)
  File "/usr/lib/python2.7/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 253, in send_init_packet
    self.__execute()
  File "/usr/lib/python2.7/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 370, in __execute
    self.__get_response(DfuTransportSerial.OP_CODE['Execute'])
  File "/usr/lib/python2.7/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 454, in __get_response
    get_dict_key(DfuTransport.RES_CODE, resp[2])))
pc_ble_driver_py.exceptions.NordicSemiException: Response Code InsufficientResources

We are using nRF5_SDK_17.1.0 and soft device s112_nrf52_7.2.0. 

Hex files application sizes:

Bootloader size :

  

Application + softdevice size:

We are able to update the application successfully over serial DFU but softdevice always fails with the above errors. 

Questions:

  1. Can nrf52811 support DFU of softdevice over serial(considering only 192KB of flash)?
  2. Does it require any configuration?

Parents Reply Children
  • Hi,

    Please find attached the application and bootloader configuration file. 

    7288.sdk_config_application.h6102.sdk_config_bootloader.h

    We are running below command to generate SD dfu package. 

    nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x0103 --softdevice softdevice/s112_nrf52_7.2.0_softdevice.hex --key-file private.key softdevice.zip

    Currently, we are trying to update the same SD version. Mean the existing SD version and DFU SD version is s112_nrf52_7.2.0_softdevice. 

    We are following the same prerequisite which you mentioned. 

    We tried with the secure_bootloader & ble_app_template example of the nRF5_SDK_17.1.0 SDK and got the same errors. 

Related