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

nrfutil zigbee DFU fails

Trying to do DFU over ZigBee, but nrfutil failes:

Gets this problem constantly. I have check all the examples and everything, doble checked all parameters, but always the same result. Need urgent response. 

Command to generate files:

nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application-version 0x01020101 --application .\app\nrf52840_xxaa.hex --key-file .\keys\eadfukeys.pem --app-boot-validation VALIDATE_ECDSA_P256_SHA256 app_dfu_package.zip --zigbee True --zigbee-manufacturer-id 123 --zigbee-image-type 321 --zigbee-comment good_image --zigbee-ota-hw-version 52 --zigbee-ota-fw-version 0x01020101

The generated files:

26.05.2021 13:45 257 628 007B-0141-01020101-good_image.zigbee
26.05.2021 13:45 724 663 007B-0141-01020101-good_image.zigbee.hex

C:\nrfsdk\btzb\4.1.0\examples\zigbee\ota\dist>nrfutil dfu zigbee -f 007B-0141-01020101-good_image.zigbee -snr 683788448
Traceback (most recent call last):
File "nordicsemi\__main__.py", line 1537, in <module>
File "site-packages\click\core.py", line 764, in __call__
File "site-packages\click\core.py", line 717, in main
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 1137, in invoke
File "site-packages\click\core.py", line 956, in invoke
File "site-packages\click\core.py", line 555, in invoke
File "nordicsemi\__main__.py", line 1466, in zigbee
File "nordicsemi\zigbee\ota_flasher.py", line 104, in fw_check
File "nordicsemi\zigbee\ota_flasher.py", line 94, in _fw_check
File "nordicsemi\zigbee\ota_flasher.py", line 89, in verify
File "site-packages\wrapt\decorators.py", line 443, in _synchronized
File "site-packages\pc_ble_driver_py\ble_driver.py", line 2788, in call_cmd
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 512, in run
subprocess.CalledProcessError: Command '['nrfjprog', '--snr', '683788448', '--verify', 'C:\\Users\\47930\\AppData\\Local\\Temp\\_MEI325562\\nordicsemi\\zigbee\\hex\\ota.hex', '--family', 'NRF52']' returned non-zero exit status 51.
[22844] Failed to execute script __main__

What is wrong here. I've search for this topic on both google and devzone, but I can't find any match for this problem. 

Parents Reply Children
No Data
Related