HI,
I have found some problem with nrfutil (version 5.2.0 installed from pypi).
Problem description:
When I am updating dfu with success (correct keys, packages etc) everything goes fine but in my CI test I am verifying situation that package signed with wrong key is trying to be updated over dfu ble. In this case dfu procedure should fail and it fails with proper code:
DFU CALL: nrfutil dfu ble -ic NRF52 -p /dev/ttyACM0 -a 70B3D5C53310 -pkg application.zip
but unfortunately my devkit (which perform nrfutil dfu process) does not disconnect from updated peripheral. The only thing that I can do to perform disconnection is disconnect usb power supply from devkit but this solution in unacceptable in my case.
How to deal with it? Is it a bug in nrfutil?