Skip to content

Commit

Permalink
update README files for CPLD SRAM loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed Mar 18, 2021
1 parent 2a8ed4e commit becc016
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions firmware/README
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,3 @@ 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


It is important to update the CPLD whenever you are updating firmware and a new
CPLD image is available. See cpld/README for instructions.
7 changes: 6 additions & 1 deletion firmware/cpld/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ The primary CPLD image is: sgpio_if/default.xsvf
This is a binary file built from HDL source in sgpio_if. You do not need
Xilinx tools unless you want to make your own modifications.

To update the CPLD, first update the firmware, libhackrf, and hackrf-tools.
CPLD images are automatically included in HackRF firmware. You do not normally
need to update the bitstream stored in the CPLD's flash memory as it is
superseded by the image loaded into SRAM by the firmware.

If you want to update the bitstream in CPLD flash for some reason, first update
the firmware, libhackrf, and hackrf-tools.
Then:

$ hackrf_cpldjtag -x sgpio_if/default.xsvf
Expand Down

0 comments on commit becc016

Please sign in to comment.