Zigbee FOTA update won't apply

Hi,

I am currently developing a custom Zigbee end device with support for FOTA updates. My FOTA seems to work (all data gets transferred correctly) but the update won't apply. The device just restarts and still has the same MCU boot version. For testing FOTA, I am using the Zigbee Light Switch example. Please check my Wireshark capture and see if anything is wrong with the transfer (header, subelement header...). The secur key of the coordinator I am using is: "9d557f5dac6d327963c2d984083b9e7d". 
I am using NRF connect in VS Code with SDK version v2.5.2.

Thanks in advance!

Best Regards,

Pieter-Jan Buntinx

OTA_transfer_capture.pcapng

Parents
  • Here is the console log of the NRF device. This is not the log of light switch example but I get the same result with that example.

    [01:26:32.658,203] <inf> zigbee_fota: Full image downloaded.
    [01:26:32.658,508] <inf> zigbee_fota: New OTA image downloaded.
    [01:26:32.693,115] <inf> zigbee_fota: Mark OTA image as downloaded.
    [01:26:33.070,343] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:34.070,526] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:35.070,709] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:36.070,892] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:37.071,075] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:00.000,518] <inf> ieee802154_nrf5: nRF5 802154 radio initialized
    *** Booting nRF Connect SDK v2.5.2 ***
    [00:00:00.010,101] <inf> app: Starting ventilation unit...
    [00:00:00.010,284] <err> app: Couldn't confirm image: -5
    [00:00:00.010,559] <inf> app: 
    
    
    err install_code: 0
    
    
    
    [00:00:00.011,840] <inf> app: Zigbee application template started
    [00:00:00.011,871] <inf> modbus_serial: RTU timeout 2005 us
    [00:00:00.011,932] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:00.013,977] <inf> zigbee_app_utils: Production configuration is not present or invalid (status: -1)
    [00:00:00.014,617] <inf> zigbee_app_utils: Zigbee stack initialized
    [00:00:00.055,572] <inf> zigbee_app_utils: Unimplemented signal (signal: 54, status: 0)
    [00:00:00.059,295] <inf> zigbee_app_utils: Joined network successfully on reboot signal (Extended PAN ID: 6055f90000f69bb0, PAN ID: 0xc341)
    [00:00:01.012,115] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:02.012,298] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1

Reply
  • Here is the console log of the NRF device. This is not the log of light switch example but I get the same result with that example.

    [01:26:32.658,203] <inf> zigbee_fota: Full image downloaded.
    [01:26:32.658,508] <inf> zigbee_fota: New OTA image downloaded.
    [01:26:32.693,115] <inf> zigbee_fota: Mark OTA image as downloaded.
    [01:26:33.070,343] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:34.070,526] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:35.070,709] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:36.070,892] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [01:26:37.071,075] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:00.000,518] <inf> ieee802154_nrf5: nRF5 802154 radio initialized
    *** Booting nRF Connect SDK v2.5.2 ***
    [00:00:00.010,101] <inf> app: Starting ventilation unit...
    [00:00:00.010,284] <err> app: Couldn't confirm image: -5
    [00:00:00.010,559] <inf> app: 
    
    
    err install_code: 0
    
    
    
    [00:00:00.011,840] <inf> app: Zigbee application template started
    [00:00:00.011,871] <inf> modbus_serial: RTU timeout 2005 us
    [00:00:00.011,932] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:00.013,977] <inf> zigbee_app_utils: Production configuration is not present or invalid (status: -1)
    [00:00:00.014,617] <inf> zigbee_app_utils: Zigbee stack initialized
    [00:00:00.055,572] <inf> zigbee_app_utils: Unimplemented signal (signal: 54, status: 0)
    [00:00:00.059,295] <inf> zigbee_app_utils: Joined network successfully on reboot signal (Extended PAN ID: 6055f90000f69bb0, PAN ID: 0xc341)
    [00:00:01.012,115] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1
    
    [00:00:02.012,298] <inf> app: Current address: f4ce366a8ab1d5a9, fw version: 0.0.1

Children
No Data
Related