DFU- OTA Build issues with Bl653dvk

Hi,


I have a firmware (performing DFU over Bluetooth )that runs well on nRF52833 dev kit  and  for developing the DFU over BLE. I follow this tutorial 

https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu

but , when same building for bl653dvk , we are getting below error. please suggest on this.

  • Hi

    I have two suggestions you can try. First off, you might be using a driver requiring the use of multithreading, which enables certain kernel APIs. Could you try adding this to the MCUboot configuration in your project. CONFIG_MULTITHREADING = Y

    Another thing that could cause something like this on a 3rd party device and not one of our DKs is that the external LF crystal is not mounted on the 3rd party kit (they often come without one). So you will need to set the CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC and CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION = Y. Please note that the RC calibration process requires Multithreading as well, which is why you should set this to Y as well.

    Best regards,

    Simon

  • Hello Simon,

    Thank you for the suggest, with addition of "CONFIG_MULTITHREADING = Y" into "prj_minimal.CONF" file, the DFU is happening
    successfully and the board is reboot with the updated firmware.

    Without addition of "CONFIG_MULTITHREADING = Y" into "prj_minimal.CONF" file, the reboot was not happening post firmware file download.
    Can you please help me understand as to how inclusion of "CONFIG_MULTITHREADING = Y" is making this work fine..?!

    "And how come the same code is working fine on nrf52833dvk without the addition of "CONFIG_MULTITHREADING = Y" into "prj_minimal.CONF" file..?"

  • Hi

    As I mentioned in my last reply, third party kits like the BL653 DVK tend to not include an external 32kHz crystal as these are an optional part of the nRF52 ref. design. If it's not included the best option is to use the internal RC oscillator, which requires the multithreading config to be enabled. I guess you have configured the RC oscillator somewhere in the project you flash onto the BL653 DVK, but not the Multithreading config.

    Best regards,

    Simon

Related