HackRF-Treasure-Chest/Software/portapack-mayhem/hackrf/firmware/cpld
2022-09-22 09:26:57 -07:00
..
sgpio_debug Add software 2022-09-22 09:26:57 -07:00
sgpio_if Add software 2022-09-22 09:26:57 -07:00
README Add software 2022-09-22 09:26:57 -07:00

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.

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

After a few seconds, three LEDs should start blinking.  This indicates that the
CPLD has been programmed successfully.  Reset the HackRF device by pressing the
RESET button or by unplugging it and plugging it back in.