Ben Gamari
3ba8d33de8
hackrf: Enter cpld_update from main loop
...
Otherwise we never respond to SET_CONFIGURATION
2013-09-14 18:24:26 -04:00
Ben Gamari
dc9c6c9667
cpld: Stream CPLD data from host
...
Previously CPLD programming involved a large 64kbyte buffer into which
the the entire bitstream would be completely downloaded, and at which
point the programming process would commence. This is needlessly
wasteful of memory. Moreover, it could lead to USB timeouts as the
firmware needs to wait the entire duration of the programming process
before returning an ACK to the host after the final SETUP data phase
packet.
Instead, we now receive 512 byte chunks of the bitstream and stream them
to the CPLD one at a time. We wait for each packet to be streamed out to
the CPLD before ACKing the packet to prevent active data being
overwritten.
2013-09-14 18:24:25 -04:00
Ben Gamari
d2b2b11998
xapp058/ports: Clean up comments and dead code
...
It's still not pretty but it's an improvement
2013-09-14 18:24:25 -04:00
Ben Gamari
8e897be975
usb_standard_request: Multiple config support
...
GET_DESCRIPTOR would only return one configurations. This fixes that.
2013-09-14 18:24:25 -04:00
Ben Gamari
34fabad121
usb_standard_request: Sent descriptors can be const
2013-09-14 18:24:25 -04:00
Ben Gamari
4773ee5a53
hackrf_usb: Port to use usb_queue
2013-09-14 18:24:25 -04:00
Ben Gamari
693c262134
libhackrf: Stop streaming before killing transfer thread
2013-09-14 18:24:25 -04:00
Ben Gamari
500aa5888c
usb_queue: Introduce queue management
2013-09-14 18:24:25 -04:00
Ben Gamari
24d5a5c4f1
usb: Add usb_endpoint_append_td
...
This implements the procedure for adding a TD to the end of an active
queue described in UM10503 Section 23.10.11.3.
2013-09-14 18:24:25 -04:00
Ben Gamari
1a44890095
usb_descriptor: Add description strings for configurations
2013-09-14 18:24:25 -04:00
Ben Gamari
21ad0778d2
usb_descriptor: Fix whitespace
2013-09-14 18:24:25 -04:00
Jared Boone
d5cebd92de
Merge pull request #98 from mikeryan/blockdiagram-images
...
doc: block diagram of HackRF
2013-09-04 10:44:41 -07:00
Jared Boone
a90c3b2324
Merge pull request #100 from jboone/master
...
Incorporate bgamari changes for libopencm3 upstream.
2013-09-02 11:10:11 -07:00
Mike Ryan
10d67a8265
doc: block diagram of HackRF
...
Source: http://2013.hackitoergosum.org/presentations/Day2-04.HackRF%20A%20Low%20Cost%20Software%20Defined%20Radio%20Platform%20by%20Benjamin%20Vernoux.pdf
2013-08-17 10:08:19 -07:00
Michael Ossmann
2648107a0b
added dfu-util requirement
2013-08-11 14:56:32 -06:00
Jared Boone
11156d958d
Delete jawbreaker_boot_mode.pdf
...
Document is wrong (ON and OFF reversed) and redundant -- information is in Wiki and LPC43xx UM10503.
2013-08-11 12:51:50 -07:00
Jared Boone
d0f0090474
Delete jawbreaker_boot_mode.ods
...
Document is wrong (ON and OFF reversed) and redundant -- information is in Wiki and LPC43xx UM10503.
2013-08-11 12:51:40 -07:00
Michael Ossmann
b056efcaf8
.so and .pc version update
2013-07-26 18:30:46 -06:00
Ben Gamari
4822512dac
Bump libopencm3
2013-07-07 18:51:50 -04:00
Ben Gamari
2717b7534e
firmware/: Update #includes for libopencm3 merge
2013-07-07 17:48:54 -04:00
Ben Gamari
3dbe817b09
firmware/: Use uint32_t instead of u32
2013-07-07 17:48:54 -04:00
Ben Gamari
1bbe375746
A few more changes due to the libopencm3 merge
2013-07-07 17:48:54 -04:00
Ben Gamari
98f30188c1
Ensure that LPC43XX is defined for libopencm3
2013-07-07 17:48:54 -04:00
Ben Gamari
ddd7d8ca71
Fix NVIC interrupt macro names
...
In libopencm3 master the NVIC macros are prefixed with NVIC_ not
NVIC_M4_
2013-07-07 17:48:54 -04:00
Ben Gamari
fac5d0dfba
Bump libopencm3
2013-07-07 17:48:54 -04:00
Ben Gamari
0972829ce5
usb: Rework configuration change notification
2013-07-01 00:25:22 -04:00
Ben Gamari
8a529617e5
Build against libopencm3 submodule tree by default
2013-07-01 00:21:49 -04:00
Ben Gamari
21a83179d8
Add libopencm3 submodule
2013-07-01 00:21:27 -04:00
Michael Ossmann
bc5e683c36
Merge pull request #88 from ZeroChaos/patch-1
...
fix permissions on udev rules
2013-06-26 21:43:16 -07:00
ZeroChaos
250d6d43ff
fix permissions on udev rules
...
when setting a group on a device typically you only set write for root and the group not for world. should be 660 not 666, 666 is the devil.
2013-06-27 00:30:47 -04:00
Michael Ossmann
ed805dc370
hackrf_transfer usage() update to warn people about -w
2013-06-26 12:48:10 -06:00
Michael Ossmann
474c40b8c2
trying to fix "0.000 MHz" output bug that only affects certain people
2013-06-26 12:43:59 -06:00
Michael Ossmann
dc8738d9b2
Merge pull request #82 from ibobbitt/upstream
...
Include udev rule if -DINSTALL_UDEV_RULES=ON is set (copied from rtl-sdr...
2013-06-26 11:33:38 -07:00
Michael Ossmann
631849763b
Merge pull request #81 from ibobbitt/master
...
Typo in hackrf_transfer usage text
2013-06-26 11:33:07 -07:00
Michael Ossmann
8b2a42d706
Merge pull request #79 from Hoernchen/master
...
This is excellent, especially the DC offset fix.
2013-06-26 10:37:53 -07:00
Ian Bobbitt
a00a6a84e2
Include udev rule if -DINSTALL_UDEV_RULES=ON is set (copied from rtl-sdr)
2013-06-21 13:45:44 -04:00
Ian Bobbitt
7fd44fddfd
Include udev rule if -DINSTALL_UDEV_RULES=ON is set (copied from rtl-sdr)
2013-06-21 12:15:03 -04:00
Ian Bobbitt
91307c31bd
Fixing typo in usage text
2013-06-20 21:37:45 +00:00
Hoernchen
b33f534da0
firmware, lib: update comments, doc
2013-06-17 12:32:12 +02:00
Hoernchen
839a1a170f
fw: dc offset correction fix
...
pins b7 & b6 are floating, disable re-triggering
selecting a different HPC_STOP fixes the dc offset drift
disabling and enabling rx/tx after tuning triggers the dc offset
correction
2013-06-16 20:26:02 +02:00
Hoernchen
3f6c91a5db
firmware: automagically update freq when changing the if freq
2013-06-16 20:25:36 +02:00
Hoernchen
8063bd8207
firmware: if precision
2013-06-16 20:24:32 +02:00
Hoernchen
a6696de1d2
fw: ack
2013-06-16 20:24:19 +02:00
Hoernchen
3c7bc948f1
lib: if freq
2013-06-16 20:24:07 +02:00
Hoernchen
bee537dc01
firmware: rffc frac, if gain
2013-06-16 20:23:47 +02:00
Michael Ossmann
5fdfabe2db
Merge pull request #77 from Hoernchen/master
...
important stuff
2013-06-11 10:19:04 -07:00
Michael Ossmann
a044792596
point to wiki from doc/Readme.md
2013-06-11 09:18:50 -06:00
Hoernchen
51e33cb1da
tools: tell msvc to disable deprecation warnings
2013-06-11 13:39:26 +02:00
Hoernchen
56830da123
tools: x64 fixes for msvc
2013-06-11 13:27:34 +02:00
Hoernchen
05008fbe48
tools: fix more warnings
2013-06-11 12:59:02 +02:00