From 22f9740ae00c3a9d531079bb328758ad473f67cb Mon Sep 17 00:00:00 2001 From: Gerry Kavanagh Date: Sat, 24 Oct 2020 15:07:55 +0100 Subject: [PATCH] Updated Update firmware (markdown) --- Update-firmware.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Update-firmware.md b/Update-firmware.md index 504e543..332f307 100644 --- a/Update-firmware.md +++ b/Update-firmware.md @@ -17,13 +17,12 @@ In theory, it is impossible to brick the device, since you can always try the DF # Normal procedure (MacOS) _HackRF CLI tools for MacOS available through MacPorts or Homebrew_ - +0. If necessary, install the HackRF tools: `brew install hackrf` 1. Connect the device via USB 2. Switch to HackRF mode via the on-screen option (in the PortaPack) 3. Upload the firmware with `hackrf_spiflash -w new_firmware_file.bin` 4. Reboot the device - # Troubleshooting One of the main sources of problems is the quality of the USB cable. Try with several ones just to be sure before trying any other solution. @@ -32,8 +31,26 @@ One of the main sources of problems is the quality of the USB cable. Try with se This is a special mode to update the firmware in case of problems. To enable this, you should reset your device holding the RESET and DFU buttons at the same time, while doing this, release RESET, and then release DFU. The leds should be ON and the screen wont show anything. +### Windows If you are in Windows, from the release package double click `dfu_hackrf_one.bat` and follow the instructions. Do not disconnect or reset your PortaPack after that procedure, continue in the step 3 of the [normal procedure](Update-firmware#normal-procedure). +### MACOS +_DFU Utils CLI tools for MacOS available through MacPorts or Homebrew_ +0. If necessary, install the DFU tools: `brew install dfu-util` +1. Connect the device via USB +2. Switch to DFU mode as per the section above: *DFU* +3. Upload the firmware with `dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset` +4. Reboot the device + +### Linux +_DFU Utils CLI tools for Linux available in standard repositories_ +0. If necessary, install the DFU tools (example for Debian/Ubuntu variants): `sudo apt install dfu-util` +1. Connect the device via USB +2. Switch to DFU mode as per the section above: *DFU* +3. Upload the firmware with `dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset` +4. Reboot the device + + ## Alternative environment You may be able to try in a virtual environment, completely isolated from your current OS: