These functions provide the ability to load and program devices on the bladeRF board. They are thread-safe.
Reset the device, causing it to reload its firmware from flash
- Parameters
-
- Returns
- 0 on success, value from Error codes list on failure
Erase the FPGA region of SPI flash, effectively disabling FPGA autoloading
- Parameters
-
API_EXPORT int CALL_CONV bladerf_flash_firmware |
( |
struct bladerf * |
dev, |
|
|
const char * |
firmware |
|
) |
| |
Write FX3 firmware to the bladeRF's SPI flash
- Note
- This will require a power cycle to take effect
- Parameters
-
dev | Device handle |
firmware | Full path to firmware file |
- Returns
- 0 on success, value from Error codes list on failure
Write the provided FPGA image to the bladeRF's SPI flash and enable FPGA loading from SPI flash at power on (also referred to within this project as FPGA "autoloading").
- Parameters
-
dev | Device handle |
fpga_image | Full path to FPGA file |
- Returns
- 0 on success, value from Error codes list on failure
Jump to FX3 bootloader
- Parameters
-
- Returns
- 0 on success, value from Error codes list on failure
Load device's FPGA. Note that this FPGA configuration will be reset at the next power cycle.
- Parameters
-
dev | Device handle |
fpga | Full path to FPGA bitstream |
- Returns
- 0 upon successfully, or a value from Error codes list on failure