Matheus-Garbelini / sweyntooth_bluetooth_low_energy_attacks

Proof of Concept of Sweyntooth Bluetooth Low Energy (BLE) vulnerabilities.
267 stars 69 forks source link

How to choose softdevice #3

Closed WCCWCC closed 4 years ago

WCCWCC commented 4 years ago

@Matheus-Garbelini , I cannot flash the hex program to the device by nRF Connect.

DFU failed: Error message for known extended error code from DFU target: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice. 16:58:27.693 Device not found due to failure during DFU

图片

Matheus-Garbelini commented 4 years ago

Hi @WCCWCC I've just added the hex code of the softdevice on this repo. for convenience.

You can also fastly flash the firmware by simply running the following commands instead of using the nRF programmer:

python -m pip install nrfutil
nrfutil dfu usb-serial -p COM_PORT -pkg nRF52_driver_firmware.zip

Remember to put the device in DFU mode and change the COM_PORT parameter to match your dongle.