1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-18 11:22:49 +02:00
Commit Graph

954 Commits

Author SHA1 Message Date
Werner Almesberger
0676bef2c1 usb/fw/atusb.c (main): removed 100 ms LED flash 2011-03-08 19:03:25 -03:00
Werner Almesberger
79b5daf5a4 atusb/fw/: moved USB IDs from descr.c to board.h
- descr.c (USB_VENDOR, USB_PRODUCT): moved to board.h
- descr.c: include board.h
2011-03-08 19:01:54 -03:00
Werner Almesberger
0293911fed atusb/fw/usb/: corrected type of user-provided descriptor
- usb.h, usb.c (user_get_descriptor): "reply" is simply "const uint8_t *",
  not "const uint8_t * const *"
2011-03-08 18:56:52 -03:00
Werner Almesberger
a60fb1e26d usrp/sps/20110306: examine sidebands ("spikes") and try to reduce them 2011-03-07 04:45:15 -03:00
Werner Almesberger
9100fdf431 usrp/sps/Makefile: moved to 20110303 and adapted PATH 2011-03-06 17:40:18 -03:00
Werner Almesberger
cb3e80f502 usrp/sps/: use PATH instead of hard-coding relative paths in invocations 2011-03-06 16:47:21 -03:00
Werner Almesberger
b9244bdefd usrp/sps/: removed "Offset" from header, added 0 dB line to peak power overview
- row: the "Offset" header looked very crowded; removed it
- vizp: draw the x axis (0 dB) as solid black
2011-03-05 21:06:12 -03:00
Werner Almesberger
32818db581 usrp/sps/: added peak power summary graph
- vizp: plot the peak power
- row: retrieve peak power from "viz" (with -m) and use it to generate the
  summary
- vizr: corrected typo in prefix argument number
2011-03-05 20:25:27 -03:00
Werner Almesberger
bcd6e09189 usrp/sps/: added min/avg/max summary image
- range: generate min/avg/max data from FFT files
- vizr: plot the output of "range"
- row: make "viz" keep the FFT output and use it to generate the summary
2011-03-05 19:34:07 -03:00
Werner Almesberger
34722a54ef usrp/sps/viz: reject unrecognized command-line options 2011-03-05 19:02:15 -03:00
Werner Almesberger
4759ea6f0c atusb/fw/atusb.c (main): enabled blinking the LED for the prototypes 2011-03-04 21:51:18 -03:00
Werner Almesberger
2f85fa9d14 atusb/fw/Makefile: abstract host so that one can use HOST=ben instead of jlime 2011-03-04 21:50:01 -03:00
Werner Almesberger
7258e10a9a usrp/sps: further improved scripts, added Makefile
- Makefile (index): generate an illustrated index of all the measurement
  runs
- Makefile (upload): upload images and index to downloads.qi-hardware.com
- collect: added optional directory argument, for cases where the
  destination directory differs from the local directory
- collect: hard-coded remote host to run usrp2_rx_cfile.py at
- collect: added . to PATH, for execution of a local copy of atrf-txrx
- row: generate entire HTML page, not just the table entries
- row: accept a list of prefixes to iterate through
- row: highlight rows starting a "new" prefix
- viz: corrected sprintf formats from +%...f to %+...f
- viz: show negative peak power in red
2011-03-04 20:28:59 -03:00
Werner Almesberger
fd27bdc442 usrp/sps/: spectrum scan utilities (work in progress)
- collect: set up a test transmission at each available frequency, then
  then record the signal seen by the USRP2
- norm: extract parameters necessary for normalization
- viz: visualize the spectrum with gnuplot
- row: generate rows of spectra with "viz"
2011-03-03 23:26:31 -03:00
Werner Almesberger
da8962344c tools/atrf-txrx (DEFAULT_TRIM, usage, main): changed default trim from 0 to 8
As explained in ECN0002, atben and atusb are designed for the trim to
be set to the mid-range value. This just wasn't implemented so far.
2011-03-03 23:18:43 -03:00
Werner Almesberger
9552b9f4af tools/Makefile.common: offer LDLIBS_$(TARGET) twice (hack - needs more study) 2011-03-03 23:17:32 -03:00
Werner Almesberger
b90e3e2dfd usrp/fft.c (do_fft): don't output the sample number when dumping
gnuplot already maintains the sample count in $0
2011-03-03 17:52:00 -03:00
Werner Almesberger
c98b91656a usrp/fft.c: added support for averaging of FFT results before dumping
- fft.c (usage, main): added optional averaging parameter for -d (dump)
- fft.c (do_fft): split the sample into several parts, FFT each of them
  individually, and average the FFT results
2011-03-03 17:50:02 -03:00
Werner Almesberger
95a9e12e2e usrp/fft.c: made window function user-selectable, added hann, blackman, rect
- fft.c (window, usage, main): added command line option -w window to
  select window function
- fft.c (window_rectangle, window_hann, window_hamming, window_blackman):
  increased choice of window functions
2011-03-03 17:49:54 -03:00
Werner Almesberger
fff1e1ed2f usrp/fft.c: added Hamming, make dump easier to interpret
- fft.c (window, fft_complex): added Hamming window function
- fft.c (do_fft): shift dump output such that center frequency is in the
  middle, not at the edges
2011-03-03 17:49:37 -03:00
Werner Almesberger
22f7eee195 atusb-pgm: changed LED color; cleanup of silk screen
- atusb-pgm.sch: changed LED from KRKT (red) to KFKT (orange), since
  we use red already on atusb itself
- atusb-pgm.brd: arranged references and component values for better
  visualization and proper silk screen
- atusb-pgm.sch, atusb-pgm.brd: updated version number (version on the
  board itself didn't change, because the traces/pads layout is the
  same)
2011-02-28 02:27:39 -03:00
Werner Almesberger
313fb7c190 atusb/fw/Makefile (CFLAGS): simplify -I../fw/include to -Iinclude 2011-02-22 00:24:53 -03:00
Werner Almesberger
78cfc8ffeb moved atusb/fw3/ to atusb/fw/ 2011-02-22 00:24:07 -03:00
Werner Almesberger
2642b9e1c3 atusb-sil/: moved C8051F326-related material out of atusb/
- Makefile, atusb.pro, atusb.sch, atrf.sch, usb.sch, atusb.cmp, atusb.brd:
  resurrected from git history (commit
  14b00823b0)
- fw/: moved all C8051F326-specific files over from atusb/fw/
- fw/include/: copied MCU-independent files over from atusb/fw/include/
2011-02-22 00:17:13 -03:00
Werner Almesberger
125055b0fe Updates CAM processes of various sub-projects
- atben/cam/mkmk: introduced variables for board corner
- atben/cam/mkmk: updated for new raw board
- atusb-pgm/cam/Makefile: updated for new board
- atusb/cam/Makefile: introduced abstraction with $(NAME)
- atusb/cam/Makefile: use cameo/templates/mkmk-simple instead of local mkmk
- atusb/cam/mkmk: removed
- atusb/cam/Makefile: updated for new board
2011-02-21 23:31:04 -03:00
Werner Almesberger
394bf3ae02 atben.brd: cleanup for visualization
- atben.brd (C4, C6, P1): moved component references for proper
  visualization
- atben.brd: deleted leftover comment line
- atben.brd: version is now 20110219
2011-02-19 11:51:05 -03:00
Werner Almesberger
208f97287a atben/Makefile: added targets for generating and reviewing Gerbers
- Makefile (gerber): generate Gerbers for all layers
- Makefile (gerbv): show the Gerbers in a "natural" stacking
2011-02-19 11:43:19 -03:00
Werner Almesberger
21f62a7a91 atben.brd: small cosmetic layout corrections
- atben.brd: increased diagonal RF ground zone next to antenna by 70 um
- atben.brd: trimmed trace "guiding" lower side of crystal ground zone
2011-02-19 10:41:53 -03:00
Werner Almesberger
1a790af50f atben: further crystal and RF ground cleanup
- atben.brd: made ground zones go all the way around the board corner
- atben.brd: added one more via to crystal ground
- atben.brd: don't let crystal ground zone crawl under chip corner
- atben.brd: don't let RF ground zone crawl under chip corner
2011-02-18 16:03:19 -03:00
Werner Almesberger
3c5145887c atben: more layout cleanup; improved CLKM test point
- atben.sch, atben.cmp, atben.brd: CLKM test point would have been
  inaccessible - reduced its size and moved it closer to the transceiver
- atben.brd: made board 0.2 mm longer to create room to disentangle
  analog power and crystal
- atben.brd: moved upper left VDD via to allow chamfered corner to be
  larger
- atben.brd: moved DVDD via further away from the board edge
- atben.brd: straightened AVDD trace
- atben.pro: commit noise
2011-02-18 15:29:06 -03:00
Werner Almesberger
771926f438 atben: reduced ridiculously long AVDD trace and cleaned up the area
- atben.brd: shortened AVDD trace and rearranged ground zones in
  RF/analog power/crystal corner
- atben.brd: version is now 20110218
2011-02-18 11:59:54 -03:00
Werner Almesberger
640195e6b1 atben.brd: increased board size by 0.1 mm on each side and relaxed layout 2011-02-18 11:24:13 -03:00
Werner Almesberger
c3ac7d9cb8 atusb/fw3/README: build instructions for firmware and prerequisites 2011-02-18 09:53:48 -03:00
Werner Almesberger
f7f8eb28ba atben.brd: layout cleanup; removed de facto contacts between ground zones
- atben.brd: increased separation between VDD and SLP_TR via in upper left
  corner
- atben.brd: rearranged ground zone around above vias
- atben.brd: separated ground zones for RF and analog power
- atben.brd: made antenna ground wrap around contact
2011-02-16 21:27:35 -03:00
Werner Almesberger
c75274fdc4 atben: rotated the CPU for much tighter layout; removed C9
- atben.sch: removed C9 (only exists in Jonhanson's reference design;
  neither Atmel not Wuerth have it; in experiments, no effect was
  observed)
- atben.brd: rotated the transceiver by 90 degrees and redid layout
- atben.brd: aligned 8:10 card shape and antenna to metric (0.1 mm) grid
  and adjusted outline accordingly
- atben.sch, atben.brd: version is now 20110215
2011-02-15 19:06:08 -03:00
Werner Almesberger
110619622c atusb-pgm/cam/Makefile: use mkmk-simple 2011-02-15 03:46:38 -03:00
Werner Almesberger
68b2627d4b bom: added the ATmega32U2
- atrf.equ: alias ATMEL ATMEGA32U2 to ATMEL ATMEGA32U2-MU
- dk/digi-key.equ: alias DIGI-KEY ATMEGA32U2-MU-ND to ATMEL ATMEGA32U2-MU
2011-02-14 23:47:09 -03:00
Werner Almesberger
81818ca61a atusb.brd: moved some component refernces to improve visual appearance 2011-02-14 23:32:10 -03:00
Werner Almesberger
3bdc2da53c atusb/fw2/usb/: clean up comments left over from C8051F326
- usb.c, atu2.c: removed reference to C8051F326 reference stack
- usb.c, atu2.c: updated list of known issues
2011-02-14 12:54:29 -03:00
Werner Almesberger
10fb0146c3 fw3/: remove probably useless RF debug output code from board.c
- board.h, board.c: removed rf_init, rf_send, and "wr"
2011-02-14 12:49:44 -03:00
Werner Almesberger
f9f0d16f6e atusb/fw3/: added copyright headers and title comments 2011-02-14 12:48:42 -03:00
Werner Almesberger
96f0f2cfc9 atusb/fw2: removed FreakUSB-based firmware 2011-02-14 12:06:04 -03:00
Werner Almesberger
983d330294 atusb/fw3: split USB driver into chip-specifc and general part
- usb/usb.c: moved chip-specific functions to usb/atu2.c
- Makefile (USB_OBJS): added usb/atu2.c
- usb/usb.h, usb/usb.c, ep0.c: made argument to my_setup and user_setup
  "const"
- usb/ubs.h (handle_setup): call from chip driver to generic stack
- usb/ubs.h (set_addr): call from generic stack to chip driver
2011-02-14 12:01:11 -03:00
Werner Almesberger
908e04c309 atusb/fw3: added proper versioning
- Makefile (atusb.elf): generate a new version iff generating a new
  executable
- Makefile (atusb.bin): print the build number and the file size
- Makefile (clean): remove the various constituend files of the version
- Makefile (version.c): generate version.c
- version.h: definitions for the generated version.c
- ep0.c (build_number, build_date): removed dummy version information
  and include version.h instead
2011-02-14 11:26:17 -03:00
Werner Almesberger
23f84bc8b0 atusb/fw3/: tighten compiler warnings
- Makefile (CFLAGS): tighten -Wno-unused to -Wno-unused-parameter
- usb/usb.c (handle_ep): removed unused variable "res"
2011-02-14 10:22:51 -03:00
Werner Almesberger
57b908d261 atusb/fw3: renamed usb2/ to usb/ in move away from FreakUSB
- usb2/: renamed to usb/
- Makefile (FreakUSB): removed $(FreakUSB) and commented-out items for
  FreakUSB
- Makefile: changed vpath from usb2/ to usb/
- Makefile (CFLAGS): changed include from -Iusb2 to -Iusb
- Makefile (CFLAGS): don't define NUM_EPS (it's already in usb/usb.c)
2011-02-14 10:14:06 -03:00
Werner Almesberger
fa99266fc9 atusb.brd: update and silk screen cleanup
- atusb.brd: updated for schematics changes
- atusb.brd: rearranged component references and values for
  printing/display
- atusb.brd: bumped version to 20110214
2011-02-14 02:11:41 -03:00
Werner Almesberger
138a1beeff atusb: slightly adjusted some component values for easier sourcing
- usb.sch (R1): changed from 68 Ohm to 180 Ohm, to decrease BOM size
- atrf.sch (C17): changed from 1 pF to 2.2 pF (value is more common,
  and it can only help to reduce harmonics)
- atusb.sch, usb.sch, atrf.sch: bumped version to 20110214
- atusb.cmp: updated
2011-02-14 01:55:46 -03:00
Werner Almesberger
da6677b3d9 atusb/fw3/: adaptation of the f32xbase USB stack 2011-02-13 23:46:36 -03:00
Werner Almesberger
f4d299d22b atusb/fw3/an/: USB debugging scripts 2011-02-13 23:00:35 -03:00