Jared Boone
5dbbae6d9c
Removed unused functions to silence warnings.
2012-10-10 16:14:22 -07:00
Jared Boone
8a54e09e15
Elimination of unused argument warnings.
2012-10-10 16:13:37 -07:00
Jared Boone
c02bf358d1
Added license/copyright to several Makefiles.
2012-10-10 15:50:31 -07:00
Jared Boone
092c5b7b0f
Removed removing of .usbram section from .bin file output. Because there's no more .usbram section!
2012-10-10 15:42:30 -07:00
Jared Boone
09b768631e
Tragic, but simple and effective libusb test program for reading data from the HackRF bulk IN endpoint, and dumping it to a file.
2012-10-10 15:22:41 -07:00
Jared Boone
155d81da4e
Reworked USB code to pump SGPIO with an interrupt.
...
Relocated USB buffers to be split across two AHB memory regions, so that USB endpoint priming doesn't choke SGPIO transfers.
Added code to configure 2.4GHz front-end.
Changed USB and SGPIO priority levels (probably unnecessary because sample corruption was due to USB priming bursts).
2012-10-10 14:39:41 -07:00
Jared Boone
165997d09b
Changed USB queue head and transfer descriptor attributes to be explicitly aligned, instead of targeting a section.
...
Added miscellaneous internal USB functions.
Improved disabling of endpoints -- now clearing pending interrupts and flushing as well.
2012-10-10 14:39:03 -07:00
Jared Boone
5989465eb9
Add SGPIO configuration API and code, extracted from existing SGPIO projects.
2012-10-10 14:30:28 -07:00
Jared Boone
39eb2682f9
Split ram_ahb memory region into two, with a 32K hole where the USB buffers live.
...
Split ram region into two, representing the two local RAM buses.
Remove reference to usbram.ld, since it's no longer necessary.
2012-10-10 14:27:21 -07:00
Jared Boone
f34e30510d
Added fault handler header file, where I've defined the Cortex-M3/M4 SCB using a struct instead of a slew of #defines. This deviates from the libopencm3 method, but is superior in other ways. So, there you go. It's not in libopencm3, it's here.
...
Added example (er, "reminder") code comment about registers to look at when debugging a Hard Fault.
2012-10-10 13:36:10 -07:00
Jared Boone
685f5cdd6e
More detail in comments about Jellybean/Lemondrop clock destinations.
2012-10-10 11:51:06 -07:00
Jared Boone
4f9a5a1ba4
Fix-ups to copyrights -- missing e-mail address and inconsistent formatting.
2012-10-06 19:14:55 -07:00
Jared Boone
aff5cc0c69
Oops, forgot license header on new files...
2012-10-06 19:11:19 -07:00
Jared Boone
749671029a
New version of the usb_performance test firmware, with the new (and functional) USB "stack".
2012-10-06 18:58:59 -07:00
Jared Boone
3451a3c3d8
Tons of new USB code. It should eventually migrate into common, or even libopencm3, once it's not a steaming pile of crap...
2012-10-06 18:58:18 -07:00
Jared Boone
900463ee5c
Added fault handler code which can be optionally compiled/linked for debugging.
2012-10-06 17:35:11 -07:00
Jared Boone
f68fdaba7a
Add .usbram section handling to linker scripts and makefile.
2012-10-06 17:33:17 -07:00
Jared Boone
182157a19c
Add ram_ahb memory region to linker scripts.
2012-10-06 17:30:26 -07:00
Jared Boone
46f24d6f47
Remove ROM memory region from "ram_only" linker script.
2012-10-06 17:29:56 -07:00
TitanMKD
96e06de5e8
Merge branch 'master' of git://github.com/mossmann/hackrf
2012-10-06 08:32:31 +02:00
Will Code
417072b4f0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
hardware/jawbreaker/baseband.sch
hardware/jawbreaker/frontend.sch
hardware/jawbreaker/jawbreaker-cache.lib
hardware/jawbreaker/jawbreaker.sch
hardware/jawbreaker/mcu.sch
2012-10-03 19:47:38 -04:00
Jared Boone
cf32fb96fe
Merge branch 'master' of https://github.com/mossmann/hackrf
2012-10-03 09:26:30 -07:00
Michael Ossmann
d1aac9860a
fixed jawbreaker MIX_BYPASS bug
2012-10-02 23:10:13 -06:00
Michael Ossmann
d6005d1cc5
fixed jawbreaker bug: different pin for SGPIO8
2012-10-02 17:51:05 -06:00
Michael Ossmann
11ade349d1
fixed jawbreaker bug: activate correct pin function for MIXER_SCLK
2012-10-02 16:21:17 -06:00
Michael Ossmann
c70d410394
reverted "rom" address to shadow area (allows same binary to be booted from SPIFI or USB/DFU)
2012-10-02 15:15:29 -06:00
Michael Ossmann
25f6e8f684
USB DFU boot by default
2012-10-02 15:09:06 -06:00
Michael Ossmann
fbe206cae9
fixed LPC VBUS input so USB DFU boot works
2012-10-02 15:05:04 -06:00
TitanMKD
e550a963ff
Merge branch 'master' of git://github.com/mossmann/hackrf
2012-10-01 21:29:54 +02:00
Michael Ossmann
d52b827233
copyright/license on frontend page
2012-09-30 11:41:16 -06:00
Jared Boone
a975fbc577
Replaced apparently incorrect PLL0USB MDIV and NP_DIV values with values straight out of the User Manual's table 94.
2012-09-27 19:29:43 -07:00
Jared Boone
aaaf14819a
Move PLL1/M4 CLK up to full speed (204MHz) in two steps, according to UM chapter 11.2.1.
2012-09-27 18:58:00 -07:00
Jared Boone
776c502628
More tweaks related to CGU #define changes.
2012-09-27 17:55:54 -07:00
Jared Boone
f574f70a87
More small tweaks due to CGU register #define changes.
2012-09-27 17:52:36 -07:00
Jared Boone
cbd42cf970
Adjustments for new auto-generated #defines.
2012-09-27 17:04:14 -07:00
Jared Boone
416cdc6b20
Added missing hackrf_core pin_setup() and enable_1v8_power(), which have somehow gone missing.
2012-09-27 16:26:47 -07:00
Jared Boone
ecb497aa97
Merge branch 'master' of https://github.com/mossmann/hackrf
...
Conflicts:
firmware/common/hackrf_core.c
2012-09-27 14:58:31 -07:00
Will Code
4c050ed543
Revert "minor capacitor correction for 1V8 regulation"
...
This reverts commit 9c23f65fea2b52ad3146d1fdfcd9ebf10ce4feb4.
2012-09-27 15:30:42 -04:00
TitanMKD
907e485141
Merge branch 'master' of git://github.com/mossmann/hackrf
2012-09-23 21:05:01 +02:00
Michael Ossmann
9c23f65fea
minor capacitor correction for 1V8 regulation
2012-09-22 23:31:28 -06:00
TitanMKD
c5eaf5d5a8
Gerber updated.
2012-09-21 20:54:37 +02:00
TitanMKD
f7dbd7899d
Merge branch 'master' of git://github.com/mossmann/hackrf
2012-09-21 18:28:53 +02:00
Michael Ossmann
df740440b0
fill lodiv register with n_lo, not lodiv variable (inconsistent naming is inherited from RFFC docs)
2012-09-20 16:52:38 -06:00
Michael Ossmann
5b15e20493
more paste layer improvements
2012-09-20 15:44:20 -06:00
Michael Ossmann
bf0c1c3460
paste layer corrections
2012-09-20 13:33:59 -06:00
Michael Ossmann
24c06f681f
oops. rffc5071_set_frequency() needs to happen after rffc5071_rx().
2012-09-20 13:33:06 -06:00
Michael Ossmann
d6a94a339a
RFFC tx and rx functions updated for Jawbreaker
2012-09-20 12:41:11 -06:00
Michael Ossmann
237df75789
extra clock after RFFC serial transactions, Jawbreaker RF switch control
2012-09-20 11:59:33 -06:00
Michael Ossmann
425a384832
Jawbreaker LPC crystal oscillator startup
2012-09-20 10:53:07 -06:00
TitanMKD
41fa9388af
Merge branch 'master' of git://github.com/mossmann/hackrf
2012-09-20 12:51:27 +02:00