mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-03-29 00:16:33 +00:00
Updated Update firmware (markdown)
parent
cf1f384167
commit
ec354f56de
@ -13,22 +13,19 @@ One of the main sources of problems is the quality of the USB cable. Try with se
|
||||
|
||||
## DFU
|
||||
|
||||
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. Now you are able to use `dfu-util`. The leds should be ON and the screen wont show anything.
|
||||
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.
|
||||
|
||||
You may use the following:
|
||||
|
||||
`dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset`
|
||||
|
||||
And after that, without disconnecting it, you can upload the firmware:
|
||||
|
||||
`hackrf_spiflash -w new_firmware_file.bin`
|
||||
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).
|
||||
|
||||
## Alternative environment
|
||||
|
||||
You may be able to try in a virtual environment, completely isolated from your current OS:
|
||||
1. Download http://eu2-dist.gnuradio.org/ and burn the ISO and boot from it, select the LIVE Image
|
||||
2. Once in the environment, Open a Command Prompt and type: `sudo apt-get install dfu-util`
|
||||
3. Connect your device to your computer and follow the DFU instructions above
|
||||
3. Connect your device to your computer
|
||||
4. Press RESET and DFU buttons at the same time, and while doing this, release RESET, and then release DFU
|
||||
5. Open a terminal and type `dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset`
|
||||
6. After that, without disconnecting it, you can upload the firmware with `hackrf_spiflash -w new_firmware_file.bin`
|
||||
|
||||
## Video
|
||||
The following video explains all possible outcomes while trying to update the firmware and possible mitigations:
|
||||
|
Loading…
x
Reference in New Issue
Block a user