SDK: nRF5_SDK_12.1.0_0d23e2a (also tried nRF5_SDK_13.1.0_7ca7556)
Softdevice: s132_nrf52_3.1.0_softdevice.hex (also tried s132_nrf52_4.0.5_softdevice.hex)
nRF52832 DK (Rigado BMD-300 eval board)
bootloader_secure example
Python 2.7 (I uninstalled Python 3 to make sure it didn’t interfere)
Unable to update via OTA or wire.
iOS: I can connect to DfuTarg and start the update, but it times out and disconnects without updating target.
Android: Same thing as iOS.
nrfutil: Here's what happened...
**D:\Programs\Python\Python2.7.14\Scripts>nrfutil dfu ble -ic NRF52 -f -pkg beacon.zip
No target selected. Default device name: DfuTarg is used.
Please select connectivity serial port:
0 : COM4 - 682001696
Enter your choice: : 0
Flashing connectivity firmware...
Connectivity firmware flashed.
[------------------------------------] 0%
Traceback (most recent call last):
File "D:\Programs\Python\Python2.7.14\Scripts\nrfutil-script.py", line 11, in load_entry_point('nrfutil==3.4.0', 'console_scripts', 'nrfutil')()
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 722, in call return self.main(*args, **kwargs)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 697, in main rv = self.invoke(ctx)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx))
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx))
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\click\core.py", line 535, in invoke return callback(*args, **kwargs)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi_main_.py", line 812, in ble dfu.dfu_send_images()
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi\dfu\dfu.py", line 122, in dfu_send_images self._dfu_send_image(self.manifest.application)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi\dfu\dfu.py", line 90, in _dfu_send_image self.dfu_transport.send_init_packet(data)
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi\dfu\dfu_transport_ble.py", line 502, in send_init_packet self.__execute()
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi\dfu\dfu_transport_ble.py", line 583, in __execute self.__get_response(DfuTransportBle.OP_CODE['Execute'])
File "d:\Programs\Python\Python2.7.14\lib\site-packages\nordicsemi\dfu\dfu_transport_ble.py", line 660, in __get_response raise NordicSemiException('Response Code {}'.format(get_dict_key(DfuTransport.RES_CODE, resp[2]))) pc_ble_driver_py.exceptions.NordicSemiException: Response Code OperationFailed
D:\Programs\Python\Python2.7.14\Scripts>**
The zip file (priv.pem) was created like this:
nrfutil pkg generate –application beacon.hex –key-file priv.pem –application-version 0xff –hw-version 52 –sd-req 0x98 beacon.zip
I'm not sure what other info would help, so if I can supply more info please let me know.
Thanks, robin