From 2936ff3cef3d78ce51a633b0b8834685c30ee542 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Thu, 9 Feb 2017 22:16:26 -0700 Subject: [PATCH] clarified some things in firmware/README --- firmware/README | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/firmware/README b/firmware/README index 94cccc9f..e6087c2c 100644 --- a/firmware/README +++ b/firmware/README @@ -27,22 +27,27 @@ To build and install a standard firmware image for HackRF One: $ cd hackrf_usb $ mkdir build $ cd build -$ cmake .. -DBOARD=HACKRF_ONE +$ cmake .. $ make $ 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 on or while pressing and releasing the RESET button. Release the DFU button after the 3V3 LED illuminates. 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