clarified some things in firmware/README
This commit is contained in:
@ -27,22 +27,27 @@ To build and install a standard firmware image for HackRF One:
|
|||||||
$ cd hackrf_usb
|
$ cd hackrf_usb
|
||||||
$ mkdir build
|
$ mkdir build
|
||||||
$ cd build
|
$ cd build
|
||||||
$ cmake .. -DBOARD=HACKRF_ONE
|
$ cmake ..
|
||||||
$ make
|
$ make
|
||||||
$ hackrf_spiflash -w hackrf_usb.bin
|
$ hackrf_spiflash -w hackrf_usb.bin
|
||||||
|
|
||||||
If you have a Jawbreaker, use -DBOARD=JAWBREAKER instead.
|
If you have a Jawbreaker, add -DBOARD=JAWBREAKER to the cmake command.
|
||||||
|
|
||||||
|
|
||||||
For loading firmware into RAM with DFU you will also need:
|
It is possible to use a USB Device Firmware Upgrade (DFU) method to load
|
||||||
|
firmware into RAM. This is normally only required to recover a device that has
|
||||||
|
had faulty firmware loaded, but it can also be useful for firmware developers.
|
||||||
|
|
||||||
http://dfu-util.gnumonks.org/
|
For loading firmware into RAM with DFU you will need:
|
||||||
|
|
||||||
|
http://dfu-util.sourceforge.net/
|
||||||
|
|
||||||
To start up HackRF One in DFU mode, hold down the DFU button while powering it
|
To start up HackRF One in DFU mode, hold down the DFU button while powering it
|
||||||
on or while pressing and releasing the RESET button. Release the DFU button
|
on or while pressing and releasing the RESET button. Release the DFU button
|
||||||
after the 3V3 LED illuminates.
|
after the 3V3 LED illuminates.
|
||||||
|
|
||||||
A .dfu file is built by default when building firmware. Alternatively you can
|
A .dfu file is built by default when building firmware. Alternatively you can
|
||||||
load a known good .dfu file from a release package with:
|
use a known good .dfu file from a release package. Load the firmware into RAM
|
||||||
|
with:
|
||||||
|
|
||||||
$ dfu-util --device 1fc9:000c --alt 0 --download hackrf_usb.dfu
|
$ dfu-util --device 1fc9:000c --alt 0 --download hackrf_usb.dfu
|
||||||
|
Reference in New Issue
Block a user