678 Commits

Author SHA1 Message Date
Mike Walters
8e21d5cba0 Skip first block after retune 2016-12-27 21:08:12 +00:00
Dominic Spill
57e0924e0d Rename scan to sweep 2016-12-27 21:08:12 +00:00
Mike Walters
8c08d99879 Wait for scan_params to actually arrive before starting scan mode 2016-12-27 21:08:12 +00:00
Mike Walters
a303097c31 Add magic & scan_freq to the start of each transfer 2016-12-27 21:08:12 +00:00
Mike Walters
ccc424e21f Cleanup scan_mode usb transfer logic 2016-12-27 21:08:12 +00:00
Mike Walters
805e8c02e9 Revert "Only transfer one block per re-tune"
This reverts commit 3614cd3050d4cbbde651dae57fc35d689b18934f.
2016-12-27 21:08:12 +00:00
Mike Walters
9b375a17ea Fix init_scan request length 2016-12-27 21:08:12 +00:00
Dominic Spill
8c96d9cf32 Change granularity of scan mode to MHz 2016-12-27 21:08:12 +00:00
Mike Walters
d19b4efa2e Only transfer one block per re-tune 2016-12-27 21:08:12 +00:00
Mike Walters
97c317e9a4 Add init_scan call to libhackrf 2016-12-27 21:08:12 +00:00
Dominic Spill
1b8e1d18c5 Add scan mode function separate to main loop 2016-12-27 21:08:12 +00:00
Dominic Spill
2e17b7e884 Use vendor request to start scan mode 2016-12-27 21:08:12 +00:00
Mike Walters
9f2d6cdbea WIP scanning 2016-12-27 21:08:12 +00:00
Mike Walters
31a37bd841 Output RFFC5072 LOCK status 2016-12-27 21:08:12 +00:00
Mike Walters
f7bdbb07d8 Speed up RFFC5072 comms by 50%! 2016-12-27 21:08:12 +00:00
Mike Walters
303334870f Don't bother setting path 1 when tuning RFFC5072
Mixer path 1 only exists in the RFFC5071
2016-12-27 21:08:12 +00:00
Dominic Spill
cec4f1a11d Update readme to reflect DFU changes 2016-10-27 12:47:26 -06:00
Dominic Spill
8ed9d91111 Build SPI flash and DFU versions of firmware every time 2016-10-01 13:50:05 +01:00
Dominic Spill
2dffba9c47 Remove unude set_configuration() code for CPLD updates
- now handled under the default configuration
2016-07-21 13:50:14 +01:00
Dominic Spill
ea2f1a8921 Reduce configuration count to 1 2016-07-21 13:47:45 +01:00
Dominic Spill
5138486b1b Add Windows Compatible ID descriptors 2016-07-17 22:20:32 +01:00
Dominic Spill
23c44b1d6e Remove unused USB configuration for CPLD update 2016-07-13 14:38:34 +01:00
Michael Ossmann
4bee6b87c4 updated toolchain URL 2016-05-17 18:13:30 -06:00
Dominic Spill
b278f059d0 Merge pull request #224 from schneider42/fix-hackrf-disabled-unused-clocks
fix(hackrf-core): Disable unused clock outputs
2016-01-22 18:24:08 +00:00
Dominic Spill
0418d13e72 Add dummy byte for w25q80bv fast read command timing 2016-01-18 19:42:13 +00:00
Dominic Spill
6522caa2ce Merge "abstract buses" and "fix sgpio example to work with signed samples" 2016-01-16 10:40:22 +00:00
Dominic Spill
75dfc5c2cb Merge branch 'sgpio_rx_samples_signed' of https://github.com/jboone/hackrf into jboone-sgpio_rx_samples_signed 2016-01-16 10:37:43 +00:00
Dominic Spill
eec30d817b Merge pull request #229 from dominicgs/dfu_build_fix
Support both commonly available versions of dfu-util (0.7/0.8)
2016-01-14 18:22:21 +00:00
Dominic Spill
87f59de104 Merge "abstract buses" changes with "fix SPI flash read" 2015-12-20 15:28:29 +00:00
Dominic Spill
b985d9c899 Merge branch 'abstract_buses' of https://github.com/jboone/hackrf into jboone-abstract_buses 2015-12-18 12:24:43 +00:00
Dominic Spill
90bc36c9da Support both commonly available versions of dfu-util (0.7/0.8) 2015-12-17 19:09:29 +00:00
Tobias Schneider
84d800eaeb fix(hackrf-core): Disable unused clock outputs
They generate noise and are most likely not used
2015-11-14 21:35:39 +01:00
Jared Boone
2022cc6351 Only perform W25Q80BV setup once, at startup.
hackrf_usb firmware does not run from SPI flash once the ROM bootloader is done. Simplify assumptions by initializing SPI flash once, early. Do not initialize it every 256 bytes that are read from or written to the device.
2015-08-28 13:03:40 -07:00
Jared Boone
a4e447cb9e Use W25Q80BV read function to retrieve SPI flash contents. 2015-08-28 12:50:07 -07:00
Jared Boone
7c98d3e14b Add W25Q80BV function to fast-read from device. 2015-08-28 12:48:05 -07:00
Jared Boone
83d79be584 Push rf_path_set_direction() calls into test functions.
The tx_test() is now put into TX mode.
2015-08-24 10:20:57 -07:00
Jared Boone
f128a15117 Reduce mag^2 threshold a bit. 2015-08-17 11:15:58 -07:00
Jared Boone
149cd4effc Configure SGPIO slice mode early. 2015-08-17 11:15:40 -07:00
Jared Boone
69db61c5c1 Remove extra SGPIO API calls.
Functions are now performed in rf_path_set_direction().
2015-08-17 11:14:55 -07:00
Jared Boone
adbc5a6f26 Fix calculation of mag^2. 2015-08-17 11:14:14 -07:00
Jared Boone
f2c0531bc2 Change frequency to center of 2.4GHz ISM. 2015-08-17 11:12:52 -07:00
Jared Boone
6f9e7fdab8 Adapt code to signed samples.
Necessary due to change in CPLD to produce signed samples.
2015-08-15 10:03:12 -07:00
Michael Ossmann
af13e756d9 turn off RF amplifier at end of transmission, fixes bug #178 2015-07-08 16:37:49 -06:00
Dominic Spill
d3ce4779e9 Fix inconsistent indentation 2015-07-07 07:23:48 +01:00
Dominic Spill
ce9ad343e0 Fix issue #113 - CPLD update fails on Windows
Using the patch from @supersat
2015-07-06 21:25:01 +01:00
Heikki Hannikainen
35b9e0bea0 Create a #define/constant for the usb_descriptor_string_serial_number length.
Clean up a compilation warning, libusb headers do not like the 'const'.
2015-02-24 01:13:06 +02:00
Heikki Hannikainen
9e92adda79 Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main().
Create a usb_set_descriptor_by_serial_number(), called before USB stack is started.
2015-02-24 01:12:49 +02:00
Jared Boone
9dbe967bf2 Serial number firmware and host-side changes. Very hacky at this point.
Among the TODOs:
* Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main().
* Create a usb_set_serial_number_descriptor() or similar function to be called before USB stack is started.
* Ensure USB serial number descriptor is valid even if code forgets to initialize the serial number before the USB stack is started. May be as simple as providing default initializer for usb_descriptor_string_serial_number[].
* Create a #define/constant for the usb_descriptor_string_serial_number length.
* Identify what's causing intermittent crashes in hackrf_transfer when no serial number is specified. I'm probably misusing getopt.
* Permit serial number without leading zeros so you don't have to type as much.
* Add support for serial number argument in other hackrf_* tools.
* Provide libhackrf support for enumerating multiple HackRFs, so that hackrf_info can list all devices. May require an additional libhackrf function, outside of hackrf_open().

...and anything else that makes this less of a hack.
2015-02-23 19:23:31 +02:00
Michael Ossmann
4e98bc6b1b updated DFU make instructions 2014-12-03 14:58:53 -07:00
Michael Ossmann
017a80604a removed .svn directory that never should have been there 2014-12-03 14:01:35 -07:00