bladeRF USB 3.0 Superspeed Software Defined Radio Source Code http://nuand.com
  • C 45.8%
  • VHDL 21%
  • Verilog 15.8%
  • Tcl 3.8%
  • MATLAB 3.2%
  • Other 10.3%
Find a file
Jon Szymaniak ec54e4e409 cli: Added FX3/ FPGA loading support and filled in misc. cmd stubs.
The CLI now supports flashing the FX3 and loading the FPGA from the
command line and through the interactive console.

To flash the firmware from the command line:
  ./bin/bladerf -b -f ./path/to/img -d /dev/bladerf1

To load the firmware from the command line:
  ./bin/bladerf -b -l ./path/to/rbf -d /dev/bladerf1

To flash/load interactively either run with -d /dev/bladerf1, or
use the open command to attach to a device:
  bladeRF> open /dev/bladerf1

To flash the firmware interactively:
  bladeRF> load fx3 ./path/to/img

To load the FPGA interactively:
  bladeRF> load fpga ./path/to/rbf

Note that a power-on-reset is currently required in between
flashing firmware and loading the FPGA.

Various commands have been stubbed out for the time being. A TODO
list has been created to keep track of desired functionality.

The simple_load and upgrade_firmware programs have been removed,
as they are no longer needed.
2013-06-17 00:12:19 -04:00
common libbladeRF: driver: add host software support for GPIO over UART bridge 2013-06-09 23:03:28 -07:00
fx3_firmware fx3_firmware: fix burst length for USB2.0 enumeration 2013-06-16 18:17:45 -07:00
hdl fpga: Changed build system. 2013-06-16 18:15:56 -07:00
linux cli: Added FX3/ FPGA loading support and filled in misc. cmd stubs. 2013-06-17 00:12:19 -04:00
COPYING FSK bridge example 2013-02-18 20:11:39 -08:00
README Update README 2013-06-15 21:53:00 -04:00

This README details how to build the FSK bridge example

To build and run the FSK bridge rea
1) Open existing hdl/quartus/bladerf.qsf project in Quartus
	a) Generate the Nios core
		i) Tools -> QSys -> File -> Open -> navigate to ./hdl/fpga/ip/altera/nios_system/nios_system.qsys
		ii) After opening qsys file, go to Generation tab, click the "Generate" button
	b) Compile the embedded Nios image
		i) Tools -> Nios II Software Build Tools for Eclipse
			I)   File -> Import -> General -> Existing Projects into Workspace -> Next
				-> Browse to checkout root directory -> check both lms_spi_controller and lms_spi_controller_bsp
				-> Finish
			II)  right click lms_spi_controller_bsp -> NIOS II -> Generate BSP
			III) right click lms_spi_controller -> Build
			IV)  right click lms_spi_controller -> Make Targets -> Build... -> select mem_init_generate -> Build
	c) Synthesize FPGA image
		i) Processing -> Start Compilation

2) Compile driver and user mode applications
	a) cd linux/kernel ; make ; insmod bladeRF.ko
	b) cd ../apps; make
	c) To program the fpga execute ./simple_load c4images/blink.rbf
		i) Load bladerf.rbf from the quartus output_files directory

3) Use bladeRF as an FSK bridge!