f64e42dbeeupdated readme photo from lemondrop/jellybean to jawbreaker
Michael Ossmann
2012-10-13 21:13:56 -06:00
31a31872a5Merge pull request #21 from jboone/master
Michael Ossmann
2012-10-13 19:59:10 -07:00
283715df0cUpdate files that got out of sync somehow.
Will Code
2012-10-13 20:51:26 -04:00
f32c6b34caCreate unions in usb_setup_t so that value, index, and length can be read as words, not just high/low bytes.
Jared Boone
2012-10-13 17:06:24 -07:00
3c17bad743Stall USB endpoint if control request is not handled.
Jared Boone
2012-10-13 17:03:28 -07:00
048feb1316Miscellaneous USB notes and naming clean-up.
Jared Boone
2012-10-13 17:02:55 -07:00
7e34950b24Relocate compiler #defines for PACKED, ALIGNED, SECTION.
Jared Boone
2012-10-13 17:01:42 -07:00
d398cfcc1dUse new ssp_transfer() function instead of ssp_write(). Implement max2837_spi_read().
Jared Boone
2012-10-13 16:58:22 -07:00
4c9df75d84max2837: fix a couple math errors in the def file
Will Code
2012-10-13 16:27:02 -04:00
e6593c0f3cMerge remote-tracking branch 'upstream/master'
Will Code
2012-10-13 16:02:51 -04:00
0d53da8593fixed MAX2837 zero length register fields
Michael Ossmann
2012-10-13 13:59:37 -06:00
e982854f12Merge remote-tracking branch 'upstream/master'
Will Code
2012-10-13 15:56:05 -04:00
4cf0ba236dExtended common Makefile to include targets for DFU file generation and programming.
Jared Boone
2012-10-13 12:29:03 -07:00
57866227bfRemove weird LDSCRIPT that isn't necessary now. Change .bin generation to include only ROM-able sections. TODO: Is there a better way to do the objcopy? It'd be great to put everything in the "rom" region into the .bin, instead of having to list out -j section for each of the sections that go to ROM.
Jared Boone
2012-10-13 11:37:54 -07:00
168c92a3d0Now that RxVGA gain control is working correctly, gain needs to be backed WAAAY off to get a usable capture in a fairly noisy 2.4GHz environment.
Jared Boone
2012-10-13 11:07:17 -07:00
f4b6f08500Fixed incorrect field with for MAX2837 VGAgain_SPI_EN field. For boards that have no B7:B1 connections, this could prove extra problematic...and for boards that do, but aren't driving those pins from the LPC.
Jared Boone
2012-10-13 11:06:39 -07:00
5b6b3d0c4eMerge branch 'master' of git://github.com/jboone/hackrf
TitanMKD
2012-10-13 13:40:46 +02:00
939cd7b9bfMerge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-10-13 13:12:20 +02:00
8d14de21ceFixed prior commit, where I lost the switch between endpoints based on RX or TX mode.
Jared Boone
2012-10-12 09:46:49 -07:00
9824a723b7Moved invariant in sgpio_configure() loop out of loop. Originally, so I could use the value to calculate another invariant.
Jared Boone
2012-10-12 09:45:18 -07:00
a1af4356b6Reworked sgpio.c to make use of #defines for fields, instead of hard-coding shifts. Proper.
Jared Boone
2012-10-11 20:46:21 -07:00
9b579232a7Consolidated single-slice SGPIO configuration functions into single sgpio_configure() function.
Jared Boone
2012-10-11 15:45:28 -07:00
1b5574d2b9RX and TX sample buffer loops turned out to be the same, so they're consolidated.
Jared Boone
2012-10-11 15:19:01 -07:00
1bad2d8536Consolidated two "deep" SGPIO configuration functions into one, qualified by transceiver mode (RX or TX). 95-ish % of the code was common.
Jared Boone
2012-10-11 15:18:16 -07:00
6f0fda0beeMoved transceiver_mode_t to hackrf_core.h. Changed transceiver_mode to volatile, since it's liable to be accessed at interrupt time.
Jared Boone
2012-10-11 15:12:25 -07:00
c0cb64f316Add support for TX mode. Add getopt control of RX or TX mode.
Jared Boone
2012-10-11 13:07:25 -07:00
fb9ce63f7fAdd (manual) switch for TX and RX mode. Add code for configuring TX mode. TODO: Consolidate lots of repetitive code.
Jared Boone
2012-10-11 13:06:27 -07:00
8291d7fac0Add SGPIO configuration function for "deep" (8-slice) TX mode.
Jared Boone
2012-10-11 13:04:30 -07:00
0f81d361c7Added code to support transmit from usb_test host program. Reorganization of code to support making usb_test a useful utility...
Jared Boone
2012-10-10 22:11:44 -07:00
04160f49ccincreased MAX2837 RX output common-mode voltage to maximum
Michael Ossmann
2012-10-10 21:37:45 -06:00
ecfaef57bdMerge pull request #19 from jboone/master
Michael Ossmann
2012-10-10 17:14:06 -07:00
3a9d7432c3Changed compile optimization flag to -Os from -O2. TitanMKD demonstrated conclusively that it's a good thing.
Jared Boone
2012-10-10 16:27:05 -07:00
d5db378647Put RFFC5071 code back in place.
Jared Boone
2012-10-10 16:17:57 -07:00
788140f79aCast USB buffer address to eliminate compiler warning.
Jared Boone
2012-10-10 16:17:23 -07:00
693e61b31cRemoved block of assembly in favor of C code. TODO: Look at assembly and compiler -O options to avoid assembly.
Jared Boone
2012-10-10 16:17:02 -07:00
0253642b2eAdded extern for usb_set_configuration() to eliminate compiler warning. TODO: Eventually, this should be just a callback, not the complete SET_CONFIGURATION implementation.
Jared Boone
2012-10-10 16:15:12 -07:00
5dbbae6d9cRemoved unused functions to silence warnings.
Jared Boone
2012-10-10 16:14:22 -07:00
8a54e09e15Elimination of unused argument warnings.
Jared Boone
2012-10-10 16:13:37 -07:00
c02bf358d1Added license/copyright to several Makefiles.
Jared Boone
2012-10-10 15:50:31 -07:00
092c5b7b0fRemoved removing of .usbram section from .bin file output. Because there's no more .usbram section!
Jared Boone
2012-10-10 15:42:30 -07:00
09b768631eTragic, but simple and effective libusb test program for reading data from the HackRF bulk IN endpoint, and dumping it to a file.
Jared Boone
2012-10-10 15:22:41 -07:00
155d81da4eReworked 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).
Jared Boone
2012-10-10 14:39:41 -07:00
165997d09bChanged 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.
Jared Boone
2012-10-10 14:39:03 -07:00
5989465eb9Add SGPIO configuration API and code, extracted from existing SGPIO projects.
Jared Boone
2012-10-10 14:30:28 -07:00
39eb2682f9Split 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.
Jared Boone
2012-10-10 14:27:21 -07:00
f34e30510dAdded 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.
Jared Boone
2012-10-10 13:36:10 -07:00
685f5cdd6eMore detail in comments about Jellybean/Lemondrop clock destinations.
Jared Boone
2012-10-10 11:51:06 -07:00
4f9a5a1ba4Fix-ups to copyrights -- missing e-mail address and inconsistent formatting.
Jared Boone
2012-10-06 19:14:55 -07:00
aff5cc0c69Oops, forgot license header on new files...
Jared Boone
2012-10-06 19:11:19 -07:00
749671029aNew version of the usb_performance test firmware, with the new (and functional) USB "stack".
Jared Boone
2012-10-06 18:58:59 -07:00
3451a3c3d8Tons of new USB code. It should eventually migrate into common, or even libopencm3, once it's not a steaming pile of crap...
Jared Boone
2012-10-06 18:58:18 -07:00
900463ee5cAdded fault handler code which can be optionally compiled/linked for debugging.
Jared Boone
2012-10-06 17:35:11 -07:00
f68fdaba7aAdd .usbram section handling to linker scripts and makefile.
Jared Boone
2012-10-06 17:33:17 -07:00
182157a19cAdd ram_ahb memory region to linker scripts.
Jared Boone
2012-10-06 17:30:26 -07:00
46f24d6f47Remove ROM memory region from "ram_only" linker script.
Jared Boone
2012-10-06 17:29:56 -07:00
96e06de5e8Merge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-10-06 08:32:31 +02:00
417072b4f0Merge remote-tracking branch 'upstream/master'
Will Code
2012-10-03 19:47:38 -04:00
d1aac9860afixed jawbreaker MIX_BYPASS bug
Michael Ossmann
2012-10-02 23:10:13 -06:00
d6005d1cc5fixed jawbreaker bug: different pin for SGPIO8
Michael Ossmann
2012-10-02 17:51:05 -06:00
11ade349d1fixed jawbreaker bug: activate correct pin function for MIXER_SCLK
Michael Ossmann
2012-10-02 16:21:17 -06:00
c70d410394reverted "rom" address to shadow area (allows same binary to be booted from SPIFI or USB/DFU)
Michael Ossmann
2012-10-02 15:15:29 -06:00
25f6e8f684USB DFU boot by default
Michael Ossmann
2012-10-02 15:09:06 -06:00
fbe206cae9fixed LPC VBUS input so USB DFU boot works
Michael Ossmann
2012-10-02 15:05:04 -06:00
e550a963ffMerge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-10-01 21:29:54 +02:00
d52b827233copyright/license on frontend page
Michael Ossmann
2012-09-30 11:41:16 -06:00
a975fbc577Replaced apparently incorrect PLL0USB MDIV and NP_DIV values with values straight out of the User Manual's table 94.
Jared Boone
2012-09-27 19:29:43 -07:00
aaaf14819aMove PLL1/M4 CLK up to full speed (204MHz) in two steps, according to UM chapter 11.2.1.
Jared Boone
2012-09-27 18:58:00 -07:00
776c502628More tweaks related to CGU #define changes.
Jared Boone
2012-09-27 17:55:54 -07:00
f574f70a87More small tweaks due to CGU register #define changes.
Jared Boone
2012-09-27 17:52:36 -07:00
cbd42cf970Adjustments for new auto-generated #defines.
Jared Boone
2012-09-27 17:04:14 -07:00
416cdc6b20Added missing hackrf_core pin_setup() and enable_1v8_power(), which have somehow gone missing.
Jared Boone
2012-09-27 16:26:47 -07:00
f7dbd7899dMerge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-09-21 18:28:53 +02:00
df740440b0fill lodiv register with n_lo, not lodiv variable (inconsistent naming is inherited from RFFC docs)
Michael Ossmann
2012-09-20 16:52:38 -06:00
5b15e20493more paste layer improvements
Michael Ossmann
2012-09-20 15:44:20 -06:00
bf0c1c3460paste layer corrections
Michael Ossmann
2012-09-20 13:33:59 -06:00
24c06f681foops. rffc5071_set_frequency() needs to happen after rffc5071_rx().
Michael Ossmann
2012-09-20 13:33:06 -06:00
d6a94a339aRFFC tx and rx functions updated for Jawbreaker
Michael Ossmann
2012-09-20 12:41:11 -06:00
237df75789extra clock after RFFC serial transactions, Jawbreaker RF switch control
Michael Ossmann
2012-09-20 11:59:33 -06:00
425a384832Jawbreaker LPC crystal oscillator startup
Michael Ossmann
2012-09-20 10:53:07 -06:00
41fa9388afMerge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-09-20 12:51:27 +02:00
2c813ec41eJawbreaker clock generator configuration
Michael Ossmann
2012-09-19 13:43:16 -06:00
7d0c572569Jawbreaker mixer serial interface support
Michael Ossmann
2012-09-19 11:55:24 -06:00
423531ffa7Merge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-09-19 19:28:53 +02:00
241b9147cbadded MIXER_SCLK and MIXER_SDATA signals to fix bug (SSP1_SCK had no GPIO function)
Michael Ossmann
2012-09-19 10:48:54 -06:00
ccb1407026Updated laser cutting info for Seeed Studio.
TitanMKD
2012-09-18 20:48:13 +02:00
531b6840f7Update of Case Top
TitanMKD
2012-09-18 20:06:40 +02:00
e8bc8dd219Merge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-09-18 18:46:25 +02:00
570afe5091jawbreaker specific case based on Dangerous Prototype case but with specific case size 172mm x 98mm.
TitanMKD
2012-09-18 18:34:22 +02:00
56e16af17cjawbreaker specific case based on Dangerous Prototype case but with specific size 172mm x 98mm.
TitanMKD
2012-09-18 18:33:09 +02:00
a8428b6208small HP route change for clearance
Michael Ossmann
2012-09-18 10:20:53 -06:00
138c1f2320fixed board name on silkscreen
Michael Ossmann
2012-09-17 15:48:26 -06:00
246770a56fMerge branch 'master' of git://github.com/mossmann/hackrf
TitanMKD
2012-09-17 23:18:47 +02:00
f21e6e6e5areoriented some silkscreen labels for consistency
Michael Ossmann
2012-09-17 14:02:56 -06:00