1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-23 06:31:53 +02:00
Commit Graph

635 Commits

Author SHA1 Message Date
Werner Almesberger
259400fdb8 atusb/fw2: firmware for the AVR-based atusb (in progress)
- ./: basic framework to build a firmware that can enumerate
- usb/patches/: patches to make FreakUSB 0.7 compile cleanly and to make
  it work in our context
2011-02-08 19:32:15 -03:00
Werner Almesberger
bb2894f293 atben: straightened traces inside 8:10 card slot to reduce risk of shorts
- atben.brd: make traces inside 8:10 card slot go straight as long as
  possible, to avoid shorts with exposed contacts
- atben.brd: removed "IEEE 802.15.4" and "CC-BY-SA" from copper layer
- atben.brd: reduced date code to two-digit year
- atben.brd: bumped version to 20110207
2011-02-07 07:41:26 -03:00
Werner Almesberger
ecd9f4a038 atusb-pgm: leave CLK unused (reserved for boards needing an external clock)
- atusb-pgm.sch: moved nRESET from DAT0 to DAT1
- atusb-pgm.sch: moved the LED from CLK to DAT0
- atusb-pgm.brd: updated for above changes
2011-02-04 04:14:29 -03:00
Werner Almesberger
0e11d58468 atusb-pgm: changed pogo pad footprint from 60 mil diameter to 80 mil (PAD_80x80) 2011-02-03 13:52:49 -03:00
Werner Almesberger
4521837dff atusb-pgm: programming adapter that connects to the Universal Breakout Board 2011-02-03 03:47:48 -03:00
Werner Almesberger
b323100c40 atmega8u2.lib (PB2): end list of pin names with a slash if wrapped 2011-02-01 05:01:27 -03:00
Werner Almesberger
5a9ec34420 qfn.fpd: added draft for Atmel VQFN28 (ATmega48) 2011-01-31 18:53:21 -03:00
Werner Almesberger
847b3546d9 usb.sch: cleanup and track layout
- usb.sch: cleaned up programming/auxiliary/LED signals
- usb.sch: swapped LED and nRST_RF (tracking the layout)
- atusb.brd: updated for corrected netlist
2011-01-31 11:52:30 -03:00
Werner Almesberger
8e842bab8e atusb.brd: ground zone adjustments; corrected date code location
- atusb.brd: moved date code which overlapped with traces
- atusb.brd: reduced front RF and power ground zones to avoid ground
  fill between transceiver pads
- atusb.brd: added ground traces around crystal to widen ground zone
2011-01-31 11:41:07 -03:00
Werner Almesberger
ebaffb53e4 usb.sch: corrected symbol name 2011-01-31 05:08:36 -03:00
Werner Almesberger
d8dfb509ac atusb: new layout for the ATmega32U2
- atusb.pro, atusb.cmp: updated for ATmega32U2-based design
- usb.sch: rearranged LED, nRST_RF, and SLP_TR, to make layout easier
- atusb.brd: redid layout for the ATmega32U2-based design
2011-01-31 04:57:02 -03:00
Werner Almesberger
318f29c5d5 atusb: cleaned up USB schematics
- usb.sch: renumbered test points for serial programming
- usb.sch: moved everything down to make room on top
- usb.sch: moved description of pad placement near the pads
- usb.sch: added footprint of U1
2011-01-28 03:54:38 -03:00
Werner Almesberger
ded90eff5f atben/cam/mkmk: updated for latest board parameters 2011-01-28 03:48:03 -03:00
Werner Almesberger
6aa4e30833 atusb: replaced the C8051F326 with an ATmega32U2 (still needs cleanup)
- atusb.pro (LibName5): changed from c8051f326 to atmega8u2
- atrf.sch: export CLKM and added filter for 8 MHz clock
- atusb.sch: connect CLK between RF and USB side
- usb.sch: changed design frim C8051F326 to ATmega32U2 (needs cleanup)
2011-01-28 03:42:35 -03:00
Werner Almesberger
5b9263ba02 Added ATmega8U2/16U2/32U2 schematics symbol.
- BOOKSHELF (atmega232u2): added aliases atmega8u2 and atmega16u2
- AUTHORS, modules/INFO, modules/atmega8u2.lib, modules/atmega8u2.dcm:
  added ATmega8U2 family symbol
2011-01-28 02:42:26 -03:00
Werner Almesberger
14b00823b0 atben.sch: corrected typo "sLP_TR" 2011-01-28 02:08:36 -03:00
Werner Almesberger
e6b0ee5655 atusb/cam/mkmk: updated for latest board parameters 2011-01-28 02:05:52 -03:00
Werner Almesberger
50bd38c13e atusb/cam/mkmk: move project name to central NAME variable
Also prematurely updated alignment, oops.
2011-01-23 15:51:16 -03:00
Werner Almesberger
dda673e8bf atusb.brd: updated balun footprint
- atusb.brd: updated 0805-6 footprint of the balun and rearranged its
  surroundings accordingly
2011-01-23 15:23:38 -03:00
Werner Almesberger
e9be00703f atben.brd: updated balun footprint, some small touch-ups
- atben.brd: updated 0805-6 footprint of the balun and rearranged its
  surroundings accordingly
- atben.brd: rearranged boundary between RF and power ground zones
- atben.brd: moved vias "south" of the balun by 5 mil
- atben.brd: moved component references C10, C11, and X1 such that
  they're not convered by comment lines
- atben.brd: broke up comment line "east" of X1 to avoid overlap with C10
  and C11 pads
- atben.brd: shifted author's name to make crossing lines coincide with
  vertical strokes in letters
2011-01-23 14:53:29 -03:00
Werner Almesberger
1c573d2a62 0805-6.fpd: changed from package-based definition to follow Johanson's design 2011-01-23 14:51:50 -03:00
Werner Almesberger
daaac58f88 atben, atusb: set solder mask and solder paste clearances to NXP's values
Settings according to
http://www.nxp.com/documents/mounting_and_soldering/AN10365.pdf

- atben.pro, atben.brd, atusb.pro, atusb.brd: set solder mask clearance
  to 50 um (copper-defined pads)
- atben.pro, atben.brd, atusb.pro, atusb.brd: set solder paste clearance
  to 25 um
2011-01-23 11:43:08 -03:00
Werner Almesberger
b0a5a0cad7 atusb.brd: some more cleanup after checking the gerbers
- atusb.brd: enabled back solder mask layer, just in case
- atusb.brd: rearranged references and values for printing/display
2011-01-23 11:25:53 -03:00
Werner Almesberger
84278c8e2b atben.brd: rearranged component references and values for printing/display
- atben.brd: moved component references for proper printing on silk screen
- atben.brd: moved component values for easy display (do not print on
  silk screen !)
- atben.brd: removed unused back silk screen and back solder paste layer
2011-01-23 11:11:50 -03:00
Werner Almesberger
83b903d71b atben.brd, atusb.brd: added design name (ATBEN, ATUSB) to silk screen text 2011-01-23 01:50:49 -03:00
Werner Almesberger
bcc8ea7f2f atusb.sch, atrf.sch, usb.sch, atusb.brd: bumped version to 20110123 2011-01-23 01:48:31 -03:00
Werner Almesberger
1b5abff8ba atusb.brd: added title, origin, and license on silk screen layer 2011-01-23 01:42:03 -03:00
Werner Almesberger
1f959d9873 atusb: updated C8051F326 and AT86RF321 footprints
- usb.sch, atusb.cmp, atusb.brd: updated C8051F326 footprint
- atrf.sch, atusb.cmp, atusb.brd: updated AT86F231 footprint
- atusb.brd: redid some traces that mysteriously got disconnected
2011-01-23 01:32:14 -03:00
Werner Almesberger
714295955f atben.sch, atben.brd: bumped version to 20110123 2011-01-23 01:21:30 -03:00
Werner Almesberger
ea05b19651 atben.brd: added external ground traces to VSS pins adjacent to RF 2011-01-23 01:20:00 -03:00
Werner Almesberger
059d28241d atben: set AT86F231 footprint to QFN32-VHHD-6
- atben.sch, atben.cmp, atben.brd: updated AT86F231 footprint
- atben.brd: redid some traces that mysteriously got disconnected
2011-01-23 01:15:18 -03:00
Werner Almesberger
3a59aef242 qfn.fpd: corrected center pads, and general cleanup
- qfn.fpd: package names now also include the variant (for now: SiLabs,
  VHHD-2, or VHHD-6)
- qfn.fpd: inlarged center pad of QFN28-SiLabs (was QFN28) from 3.25 mm
  to 3.3 mm
- qfn.fpd: reverted QFN32-VHHD6 (was QFN32) to original geomtry
- qfn.fpd: introduced QFN32-VHHD2 for the ATmega32U2
- qfn.fpd: distribute solder paste in little islands (in progress)
- qfn.fpd: deleted stray unused vector in root frame
2011-01-23 01:15:18 -03:00
Werner Almesberger
2dab09923e BOOKSHELF: added the ATmega32U2 2011-01-23 00:46:44 -03:00
Werner Almesberger
1d2fdb34c6 atusb.brd: rearranged component references and values for printing/display
- atusb.brd: moved component references for proper printing on silk screen
- atusb.brd: moved component values for easy display (do not print on
  silk screen !)
2011-01-22 13:39:25 -03:00
Werner Almesberger
30aff8160b atusb: introduced optional antenna matching capacitor
- atrf.sch (C16): optional antenna matching capactor (typ. 0.5 pF)
- atben.cmp, atben.brd: added C16
2011-01-22 13:22:58 -03:00
Werner Almesberger
836c89e8fd atusb: replaced old chip components with updated ones
- atusb.brd, atusb.cmp: changed all 0402-M to the new 0402
- atusb.brd, atusb.cmp: changed 0603-M to the new 0603
- atusb.brd: updated layout for component changes
2011-01-22 12:53:47 -03:00
Werner Almesberger
8b62741328 atben: introduced optional antenna matching capacitor
- atben.sch (C12): optional antenna matching capactor (typ. 0.5 pF)
- atben.cmp, atben.brd: added C12
- atben.brd: updated 0402 footprint for changed courtyard
2011-01-22 12:04:18 -03:00
Werner Almesberger
77a302933e atben.sch: rearranged spacing in schematics to make more room at the feed line 2011-01-22 11:55:48 -03:00
Werner Almesberger
e4f38d2228 atben: updated for 0402 resizing
- atben.cmp: changed 0402-M to 0402
- atben.brd: updated all 0402-M to the new 0402
- atben.brd: re-routed traces to the new pad centers
2011-01-22 10:29:00 -03:00
Werner Almesberger
8703fc1a0b qfn.fpd: added measurements and improved design of the central pad
- qfn.fpd: where were no measurements at all - added them
- qfn.fpd: parametrize 0.1 mm border between central pad and land pattern
  and increase it from 0.1 mm to 5 mil (recommended by Adam Wang)
- qfn.fpd: define solder paste of central pad separately and give it a 5
  mil border to the pad edge, 10 mil to the copper edge (parameters
  recommended by Adam Wang)
2011-01-21 21:59:34 -03:00
Werner Almesberger
705864d076 atrf-txrx: new option -r to select data rate
- atrf-txrx.c (set_rate, main): allow setting a non-standard high data
  rate on the AT86RF231
- atrf-txrx.c (usage, main): added option -r to select the data rate
2011-01-20 19:42:52 -03:00
Werner Almesberger
f16224f575 atrf-txrx: new option -P to select ping mode
- atrf-txrx.c (struct ping, enum rx_res, ping_tx, ping_rx, ping): send
  back a packet containing a locally generated sequence number and the
  last sequence number received whenever a packet arrives
- atrf-txrx.c (usage, main): added option -P to select ping mode
2011-01-20 19:42:52 -03:00
Werner Almesberger
fc226b2b51 atrf-txrc.c (usage, main): changed -P to -E to free -P for other use 2011-01-20 12:41:49 -03:00
Werner Almesberger
6282c334bc perdump: print relative receive timestamp
- perdump.h (struct result_ops), perdump.c (analyze, pcap_record): pass
  receive timestamp to reporter
- per-text.c (t_line, flush, text_undecided, text_packet): print relative
  receive timestamp before each packet
2011-01-19 19:34:16 -03:00
Werner Almesberger
6002759464 tools/atrf-txrx/perdump: new utility to analyze a PER dump
- Makefile: added perdump
- perdump.h, perdump.c: read and analyze a PER dump in pcap format
- per-text.c: report PER test results as text on the console
2011-01-19 18:29:14 -03:00
Werner Almesberger
1fb05c221d misctxrx.c (wait_for_interrupt): let "ignore" control printing more tightly
When some interrupt(s) happened but the one(s) wait_for_interrupt was
waiting for weren't among them, it printed the list of interrupts
even if they were all in "ignore". This made sequences like RX_START
followed by TRX_END unnecessarily noisy.

Now, wait_for_interrupt only prints the pending interrupts if at
least one of them is not in "ignore".
2011-01-19 18:27:17 -03:00
Werner Almesberger
96e8fc6dbf atrf-txrx: renamed BER (bit error rate) test to PER (packet ...) test
- atrf-txrx.c (usage, main): changed option -B to -P
- atrf-txrx.c (usage): "BER test mode" is now "PER test mode"
- atrf-txrx.c (main): mode_ber is now mode_per
2011-01-19 18:27:17 -03:00
Werner Almesberger
ea81e70cf9 atrf-txrx: define the pcap file magic number (0xa1b2c3d4) in pcap.h
- pcap.h (PCAP_FILE_MAGIC): define the pcap file magic number
- atrf-txrx.c (write_pcap_hdr): use PCAP_FILE_MAGIC instead of open-coding
  the magic number
2011-01-19 18:27:16 -03:00
Werner Almesberger
999ce5302e atrf-txrx: added BER test pattern transmit mode
- atrf-txrx.c (main): indicate mode of operation in variable "mode" instead
  of dual-using "cont_tx"
- atrf-txrx.c (usage, main): added option -B to enter BER test pattern
  transit mode
- atrf-txrx.c (transmit_pattern): transmit raw frames with a cyclic frame
  number
2011-01-19 18:27:16 -03:00
Werner Almesberger
f9aee54323 atrf-txrx: added ability to record received frames in pcap format
- pcap.h: basic pcap file structure definitions
- atrf-txrx.c (usage, main): added option "-o file" to write received
  frames to a pcap file instead of displaying them
- atrf-txrx.c (receive): moved code to receive and display a single message
  into new function receive_message
- atrf-txrx.c (write_pcap_hdr, write_pcap_rec, receive_pcap): receive
  messages into a pcap file
2011-01-19 18:27:16 -03:00