1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-30 04:09:42 +02:00
Commit Graph

836 Commits

Author SHA1 Message Date
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
Werner Almesberger
5407180c32 atrf-txrx: cleaned up the usage output
- atrf-txrx.c (usage): split options and arguments for different modi into
  separate sections
- atrf-txrx.c (usage): moved details for common options to a separate
  section
- atrf-txrx.c (usage): added -C mhz to synopsis
2011-01-19 01:11:48 -03:00
Werner Almesberger
c95761df59 cntr.brd: updated PAD_120x60 to update pad type 2011-01-18 16:00:09 -03:00
Werner Almesberger
478f600502 atben/Makefile (clean), atusb/Makefile (clean): remove Gerbers 2011-01-17 22:40:15 -03:00
Werner Almesberger
af4ce1f5f9 atusb.brd: removed unused Adhesive Front layer 2011-01-17 22:38:19 -03:00
Werner Almesberger
7d91ee60c6 atusb/Makefile: replaced board name by $(NAME) or pattern 2011-01-17 22:35:55 -03:00
Werner Almesberger
38fe79863a atben/README: manufacturing notes 2011-01-17 22:30:22 -03:00
Werner Almesberger
2c96bcb85a atben/atben.brd, atusb/atusb.brd: updated PAD_60x60 to update pad type 2011-01-17 22:29:09 -03:00
Werner Almesberger
d64464293f atben.brd: updated 8_10-card, to update pad type 2011-01-17 22:18:51 -03:00
Werner Almesberger
c6532c7435 meander.fpd: use new pad type "trace" without solder paste and mask opening
- ants/meander.fpd: changed all pads from "normal" to "trace"
- atben/atben.brd, atusb/atusb.brd: updated MEANDER-110
2011-01-17 22:18:51 -03:00
Werner Almesberger
98b43876ef great atusd -> atben renaming: update references in bom/ as well
- Makefile (all, spotless): changed all occurrences of "atusd" to "atben"
- atrf.sub, atrf.inv: uSD-Card is now 8:10-card
2011-01-17 12:25:43 -03:00
Werner Almesberger
5281f2c5a2 great atusd -> atben renaming: use 8_10-card.fpd instead of usd-card.fpd
- atben.pro (LibName5) : use ../../kicad-libs/modules/8_10-card instead of
  ../../kicad-libs/modules/usd-card
- atben.sch: use footprint "8:10-card" instead of "uSD-Card"
- atben.cmp, atben.brd: updated for renaming of usd-card.fpd
2011-01-17 12:18:35 -03:00
Werner Almesberger
1cd079ee82 great atusd -> atben renaming: changed remaining references in tools/
- Makefile.common (MACROS_ben_jlime, MACROS_ben_openwrt), lib/atrf.c
  (atrf_open): changed HAVE_USD to HAVE_BEN
- lib/atben.c: changed "uSD version" in title to "Ben 8:10 card version"
- lib/atrf.c, lib/atben.c: changed all occurrences of "atusd" to "atben"
2011-01-17 12:06:16 -03:00
Werner Almesberger
32de4b6ad4 great atusd -> atben renaming: renamed tools/atusd.c and Makefile reference
- lib/atusd.c: renamed to lib/atben.c
- lib/Makefile (OBJS_ben_jlime, OBJS_ben_openwrt): changed "atusd" to
  "atben"
2011-01-17 11:56:17 -03:00
Werner Almesberger
f7a8bbdd7a great atusd -> atben renaming: changed "uSD" in project title to "8:10 card"
- atben.sch, atben.brd: changed "uSD Transceiver" to "Transceiver [...]
  as 8:10 card"
- atben.pro: updated to catch automatic LastNetListRead change
- atben.sch: automatic LIBS change
2011-01-17 11:50:54 -03:00
Werner Almesberger
fb07d57377 great atusd -> atben renaming: updated references in atben/cam/
- Makefile: changed "atusd" to $(NAME)
- mkmk: changed "atusd" to $NAME
2011-01-17 11:36:54 -03:00
Werner Almesberger
0dc344a0ec removed atben/tools/ (functionality has moved to atrf-id long ago) 2011-01-17 11:33:27 -03:00
Werner Almesberger
319bd8345d great atusd -> atben renaming: renamed design files and some references
- atben/TODO: changed all occurrences of "atusd" to "atben"
- atben/TODO: added reminder that the file isn't current anymore
- atben/Makefile (NAME): changed project name from "atusd" to "atben"
- atben/atusd.brd: renamed to atben/atben.brd
- atben/atusd.cmp: renamed to atben/atben.cmp
- atben/atusd.pro: renamed to atben/atben.pro
- atben/atusd.sch: renamed to atben/atben.sch
2011-01-17 11:27:28 -03:00
Werner Almesberger
3392647574 great atusd -> atben renaming: changed the directory name 2011-01-17 10:53:55 -03:00
Werner Almesberger
6ac9168535 atusd.brd: rearranged component references and values for printing/display
- atusd.brd: moved component references for proper printing on silk screen
- atusd.brd: moved component values for easy display (do not print on
  silk screen !)
2011-01-17 09:27:01 -03:00
Werner Almesberger
62994dab86 atusd.brd: re-layout to slightly reduce size, and added more text
- atusd.brd: rotated crystal by 90 degrees
- atusd.brd: increased density of digital signal lines by making them "hug"
  each other
- atusd.brd: reduced board length by 1.4 mm
- atusd.brd: chamfered upper left corner
- atusd.brd: removed "8:10 CARD" to make room for more important text
- atusd.brd: added "CC-BY-SA"
- atusd.brd: added silk screen text: "802.15.4", "qi-hw.com", "CC-BY-SA",
  and "by Werner Almesberger"
- atusd.brd: updated version to 20110116
2011-01-17 00:13:16 -03:00
Werner Almesberger
bf3189fe4d atusd.brd: moved SLP_TR via a bit further from the chip 2011-01-16 16:25:23 -03:00
Werner Almesberger
ebe667197a dirtly made the atrf tools run with the new atusd board
- lib/atusd.c: renamed CLK to SLP_TR
- lib/atusd.c (atusd_cycle, atusd_cycle, atusd_open, atusd_close):
  #ifdef'ed all uses of CLK and changed them to SLP_TR (along with the
  change in function)
- atrf-txrx/atrf-txrx.c (init_txrx): always use the crystal oscillator
2011-01-16 16:03:11 -03:00
Werner Almesberger
507bcaff5a atusd: added missing connection for SLP_TR
- atusd.sch, atusd.brd: connect SLP_TR to MMC CLK (PD09)
- atusd.brd: changed text "WPAN" to "802.15.4"
2011-01-15 17:31:29 -03:00
Werner Almesberger
c0941dbe00 atusd: use crystal instead of trying to obtain an external clock from the Ben
Known bug: didn't connect SLP_TR.

- atusd.sch, atusd.brd: replaced external clock with crystal
- atusd.sch, atusd.brd: increased version number to 20110115
- atusd.brd: changed "ATUSD" text on PCB to "8:10 CARD"
2011-01-15 16:35:37 -03:00
Werner Almesberger
e90c59635b atrf-txrx.c (enter_test_mode_231): disable CLKM in AT86RF231 test mode
According to the data sheet, it has to be enabled. The Software Model
doesn't mention it. Experiments show that it's indeed useless and just
adds noise.
2011-01-12 20:11:28 -03:00
Werner Almesberger
cb7afe132d atrf-txrx: new option -C to control CLKM output
- atrf-txrx.c (usage, main): added option -C mhz to enable the CLKM output
  and to set its frequency
- atrf-txrx.c (init_txrx): if requested, enable CLKM and set to maximum
  drive strength
2011-01-12 20:11:14 -03:00
Werner Almesberger
6ff235e8ea tools/lib/misctxrx.c (wait_for_interrupt): restore signal also after timeout 2011-01-10 13:52:57 -03:00
Werner Almesberger
110d5abe32 tools/atrf-txrx/atrf-txrx.c (enter_test_mode_231): clean up and exit on error 2011-01-10 00:14:35 -03:00
Werner Almesberger
8d487739b7 atusd: removed resistor of futility
- atusd.sch (R1): removed useless 0R resistor in clock path
- atusd.sch (R2): renamed to R1
- atusd.cmp, atusd.brd: updated for above resistor change
- atusd.sch, atusd.brd: set version number to 20110109
2011-01-09 20:36:29 -03:00
Werner Almesberger
9b498ae244 atrf-txrx: small 231 continuous transmission mode cleanup (doesn't work yet)
- atrf-txrx.c (enter_test_mode_231): test value read from TRX_STATUS
- atrf-txrx.c (enter_test_mode_231): wait indefinitely for the PLL to lock
2011-01-09 20:16:11 -03:00
Werner Almesberger
1befc69e37 tools/lib/misctxrx.c: decode AMI and CCA_ED_DONE interrupts (231 only) 2011-01-09 19:38:33 -03:00
Werner Almesberger
0c7146cad9 atrf-txrx: updated for AT86RF231 interrupt handling
- atrf-txrx.c (init_txrx): unmask all interrupts for 231 compatibilit,
  where masked interrupts are now indicated in IRQ_STATUS
- atrf-txrx.c (init_txrx): on the 231, wait for (and clear) the CCA_ED_DONE
  interrupt when entering TRX_OFF after reset
2011-01-09 19:36:29 -03:00
Werner Almesberger
e8d7150c28 atusd/cam/mkmk: updated for making the 20110104 prototypes 2011-01-09 19:01:27 -03:00
Werner Almesberger
45e55fe2f1 tools/: renamed OpenWRT target from "ben" to "ben_openwrt" and added "ben_jlime"
- tools/Makefile (upload): make destinastion host name ("ben" or "jlime")
  depend on TARGET
- tools/Makefile.common (CC_ben, CFLAGS_ben, LDLIBS_ben, MACROS_ben):
  renamed to *_openwrt and added *_jlime equivalents
- tools/atrf-rssi/Makefile: added settings to use SDL_gfx on Jlime
- tools/lib/Makefile (OBJS_ben): renamed to OBJS_ben_openwrt and added
  OBJS_ben_jlime
2011-01-09 19:01:27 -03:00
Werner Almesberger
4d2395e23c atrf-rssi.c: unmask IRQ_PLL_LOCK, for 231 compatibility 2011-01-09 19:01:27 -03:00
Werner Almesberger
ff6703f0b5 atusd/Makefile: remove long-obsolete dependency on dtc123je.mod 2011-01-08 09:52:59 -03:00
Werner Almesberger
cb2a30aa80 atusd/Makefile: replaced board name by $(NAME) or pattern 2011-01-08 09:51:47 -03:00
Werner Almesberger
766b5759ea atusb/Makefile: removed claim that zones have to be filled in the .brd file 2011-01-08 09:46:24 -03:00
Werner Almesberger
88b742b3b6 atusd/Makefile: added targets "front", "back", "clean" 2011-01-08 09:45:52 -03:00
Werner Almesberger
b2d90cd3d3 atrf-txrx: added support for AT86RF231 continuous transmission mode
- atrf-txrx.c (test_mode): moved test mode setup to enter_test_mode_230
- atrf-txrx.c (enter_test_mode_231): enter test mode on AT86RF231 (untested)
- atrf-txrx.c (test_mode): reset AT86RF231 register 0x1c when leaving
2011-01-07 14:59:23 -03:00
Werner Almesberger
309a5ed6d5 atusb/fw/include/at86rf230.h: make 231-centric
- at86rf230.h (TX_AUTO_CRC_ON): changed to TX_AUTO_CRC_ON_230
- at86rf230.h (TX_AUTO_CRC_ON_231): changed to TX_AUTO_CRC_ON
- tools/atrf-txrx/atrf-txrx.c: updated for above changes
2011-01-07 14:31:27 -03:00
Werner Almesberger
f67a79b04e atusb/fw/include/at86rf230.h: many corrections, some additions
- at86rf230.h (REG_BATMON): address is 0x11, not 0x10
- at86rf230.h (TRX_CMD_MASK): width is 5 bits, not 3
- at86rf230.h (CLKM_CTRL_MASK): width is 3 bits, not 2
- at86rf230.h (PA_EXT_EN, IRQ_2_EXT_EN, TX_AUTO_CRC_ON_231): shifted by one
  bit
- at86rf230.h (RX_BL_CTRL, AACK_DIS_ACK): added missing field
- at86rf230.h: added fields PA_BUF_LT and PA_LT
- at86rf230.h (ANT_DIV): added fields of this register
- at86rf230.h (NATMON_VTH_SHIFT, NATMON_VTH_MASK): corrected typo
2011-01-07 14:29:00 -03:00
Werner Almesberger
02e394a706 atrf-txrx: set CRC and transmit power depending on chip (AT86RF230/231)
- atrf-txrx.c (tx_pwr, tx_pwr_230, tx_pwr_231, set_power): table of power
  values depends on chip
- atrf-txrx.c (set_power): location of TX_AUTO_CRC_ON and use of
  REG_PHY_TX_PWR depends on chip
2011-01-07 13:49:52 -03:00
Werner Almesberger
a9321cea7c libatrf: new function atrf_identify to identify the chip
- tools/lib/atrf.h, tools/lib/atrf.c (atrf_identify): added chip
  identification function to library
- tools/atrf-id/atrf-id.c (show_info): print information returned by
  atrf_identify
- tools/atrf-id/atrf-id.c (show_info): decode JEDEC manufacturer ID
2011-01-07 12:35:51 -03:00
Werner Almesberger
4ef7a829c2 atusd/cam/Makefile: updated for cameo-based process (forgot to commit this) 2011-01-07 12:34:53 -03:00
Werner Almesberger
4387d844dc atusb/fw/include/at86rf230.h: added remaining AT86RF231 values 2011-01-07 11:52:45 -03:00
Werner Almesberger
bd5b008c44 atusb/fw/include/at86rf230.h: make one section per register, not one per field
Looked too confusing.
2011-01-07 09:16:51 -03:00
Werner Almesberger
337e5d227d atusb/fw/include/at86rf230.h: started updates for AT86RF231 2011-01-07 09:11:29 -03:00
Werner Almesberger
6ccb252729 atusd/cam: updated to use cameo
- cam/pcb.pl, cam/doit: deleted
- cam/mkmk: CAM translation and conversion process
2011-01-05 23:12:35 -03:00