I implement it with sdk 11.0 and a third party core-board.Firstly,I program s132_nrf52_2.0.1 SoftDevice by nRFgo Studio,then I open ble_app_hrs s132_with_dfu(arm4) project by Keil(V5),and program the project hex into 52832,then I program the bootloader dual_bank_ble_s132 project hex by keil with nrfjprog.exe.
After this procedure,using Master Control Panel app(Android phone) I can find the device advertising as "DfuTarg".
Through nrfutil.exe I generate the dfu zip file with follow command: nrfutil.exe dfu genpkg --application application.hex --appliation-version 1 example.zip
And put the zip file into my phone. But when I implement the dfu with Master Control Panel,after selecting the zip file,it shows the error : Status :DFU FILE ERROR
In addition,when I try it with nrf toolbox,it appears the error: Upload failed :DFU FILE ERROR(2).
I also tried to to copy the application.dat and application.hex file to my phone and tried to implement dfu, this time there is no error while updating. but the problem is after uploading the device again starts advertising as "DfuTarg"
can anyone explain what the ERROR mean ?What cause the error ?Why the device again restarts as DfuTarg? If other detail needed,please tell me. Any help will be appreciated!