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

nRF52840 secure dfu over thread issue (not working)

SDK: nRF5 SDK for Thread and Zigbee v1.0.0

nrfutil version : 3.5.1 (also tried with 3.5.0)

pyspinel: 1.0.0a1

board: nrf52840 PDK

gcc version: 5.4.0 20160609

instruction has been followed as per the document in this link

we are using following command: nrfutil settings generate --family NRF52840 --application client\pca10056\blank\armgcc\_build\nrf52840_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex 

issue: 

  1. We not able to run Secure dfu example over thread
  2. DFU in multicast mode, DFU server doesn't complete the DFU process . it get stuck on last 2 byte data (command used: nrfutil dfu thread -f -pkg app_dfu_package.zip -p COM3 --channel 11 --panid 43981 -r 4 -rs 5000 -a FF03::1)
  3. DFU Server in multicast mode always sends the data even if no DFU client is available
  4. DFU client throws the DFU_DOWNLOAD_TRIGGER event = DFU_EVENT_TRANSFER_ERROR (RTT log)
  5. The error mentioned above throws even if there is no DFU server available. After three retries it throws no more retries message and stops

Parents
  • Hi Peeyush,

    At this point it is not clear if the problem is in the nrfutil or in the SDK. 

    Seems like you are running windows and we do not see big issues like this with nrfutil on Windows.

    I will try to follow that guide and see if it fails the same way as you on my desk and then try to debug it from there on Monday. (hopefully that is OK) 

    Meanwhile i strongly recommend you to upgrade your nrf tools to latest and greatest.

Reply
  • Hi Peeyush,

    At this point it is not clear if the problem is in the nrfutil or in the SDK. 

    Seems like you are running windows and we do not see big issues like this with nrfutil on Windows.

    I will try to follow that guide and see if it fails the same way as you on my desk and then try to debug it from there on Monday. (hopefully that is OK) 

    Meanwhile i strongly recommend you to upgrade your nrf tools to latest and greatest.

Children
Related