mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-23 10:05:27 +00:00
Updated Update firmware (markdown)
parent
a5c1ba638f
commit
22f9740ae0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user