Commit graph

10 commits

Author SHA1 Message Date
Brian Padalino
d05cc61574 libbladeRF: Support for legacy config interface.
Added checks for the legacy config interface being interface 0 instead
of interface 3 which changed in the v1.4 bump.
2013-09-25 00:31:45 -04:00
Keith Rothman
1d481cefd3 [FX3/libbladeRF] Added explicit calibration cache 2013-09-22 08:07:08 +00:00
Keith Rothman
57116c919a [FX3/libbladeRF] Major refactoring of FX3 application
- Split RF, FPGA load, and firmware methods into seperate .c files
 - Split several vendor requests to eliminate magic glEp0Idx and to allow
   for better error handling
   - Updated libbladeRF to use new vendor requests and properly check return
     code.
 - Changed glSpiPageSize from global to #define
 - Move OTP handling into firmware.c
 - Version bump

Conflicts:

	fx3_firmware/bladeRF.c
2013-09-22 08:06:48 +00:00
Keith Rothman
06c204ff13 Assorted fixes for problems found via USB30CV and USB20CV
- Move and use interface numbers
 - Renumber USB_IF_CONFIG from 0 to 3
 - Introduced 0 alt-interface as a NULL interface
 - Fixed FS descriptor length
 - Implemented GET_STATUS, SET_FEATURE, CLEAR_FEATURE w.r.t. halting bulk streams
 - Added include guards for firmware_common/bladeRF.h
 - Changed guard on suspend/resume requests to key on glUsbConfiguration instead
   of glUsbAltInterface.  This is because suspend/resume requests are on
   interfaces, not endpoints.
 - Addresses github tickets #97, #98, #99
2013-09-21 14:08:29 +00:00
Keith Rothman
d36f91cb7d Initial JUMP_TO_BOOTLOADER support
- Added method to libbladeRF
 - Added new VID/PID pair to udev rule to prevent requiring root access
 - Added jump_to_boot bladeRF-cli command
 - Fixed most warnings in FX3 firmware
2013-09-15 05:32:04 +00:00
Keith Rothman
1c4fa232eb [libbladeRF/bladeRF-cli] Added support booting directly from the FX3 bootloader 2013-09-15 05:31:57 +00:00
Guido Paliot
d0c0485fbe Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, moved define from .c to .h 2013-09-01 20:58:33 +02:00
Robert Ghilduta
10ffba1b39 Add device reset functionality
This commit adds the much needed device reset functionality that allows the
device to reset after an upgrade and start running the new firmware.
2013-08-25 18:21:07 -07:00
Jon Szymaniak
0c06cb8886 host: Reorganized some common host code
Moved some min/max static inline's and string to numeric type
conversions to a common host code area.
2013-08-22 20:44:16 -04:00
Jon Szymaniak
894f0f48d6 Moved firmware-host common files. Fixed linux backend build.
Moved common -> firmware_common to avoid confusion with the upcoming
host/common directory.

API changes were  not incorporated into the linux backend in  changeset
8cc9f2a4b5 - this is addressed in this
changeset.
2013-08-22 19:56:03 -04:00