1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-01 19:51:52 +02:00
Commit Graph

1062 Commits

Author SHA1 Message Date
Werner Almesberger
a9d502850a atusb/fw/Makefile: improve size reporting (show segment sizes) 2013-07-24 17:18:33 -03:00
Werner Almesberger
998ac7e5c6 atusb/fw/mac.c (next_buf): dedicated function for incrementing buffer indices 2013-07-24 16:21:38 -03:00
Werner Almesberger
b73d5fc1af atusb/fw/mac.c: remove queued_rx; buffer frames in the MCU instead
queued_rx held a frame in the transceiver's receive buffer until we could
transfer it. This may cause frame loss if a new reception begins.

We now retrieve frames from the transceiver immediately and buffer them
in the MCU.
2013-07-24 07:57:35 -03:00
Werner Almesberger
6416fa8d0b atusb/fw/mac.c: add section titles 2013-07-23 12:50:42 -03:00
Werner Almesberger
172208e451 tools/atrf-txrx/atrf-txrx.c: use -x also on reception, to output message in hex 2013-06-23 02:03:26 -03:00
Werner Almesberger
a523e8d645 tools/atrf-txrx/atrf-txrx.c: new option -x to interpret messages as hex strings 2013-06-23 01:58:38 -03:00
Werner Almesberger
bb6acf15bc tools/atrf-txrx/atrf-txrx.c (usage): separate all sections by blank line
The "PER" and "constant wave" sections followed their predecessors
without a blank line.
2013-06-23 01:29:56 -03:00
Werner Almesberger
570982cc48 web/index.html: update Web page (including shop change from Tuxbrain to Pulster)
- remove Tuxbrain shop
- add Pulster shop
- update kernel code location (now on github)
- add links to factory file packages
- clarify atusb code sizes
2013-05-07 21:25:24 -03:00
Werner Almesberger
54630e0697 atben/misc/mkpatches: script to generate mails for the ATBEN kernel patches 2013-04-29 21:12:55 -03:00
Werner Almesberger
ec6c09dd9d atben-spi-performance.txt: clean up and describe role of referenced code 2013-04-29 20:05:54 -03:00
Werner Almesberger
ff9c7a8ce4 atben/misc/atben-spi-performance.txt: SPI performance comparison
This was earlier posted to the mailing lists. Updated the URLs.
2013-04-29 19:55:25 -03:00
Werner Almesberger
367c1abb0e atusb/fw/: echo back TX ACK sequence number; don't panic if driver times out TX 2013-04-01 22:04:05 -03:00
Werner Almesberger
9b2696b848 atusb/fw/usb/: enable MCU reset on USB bus reset after config selection
This way the host can reset the MCU if it's hung (for example, in the
panic loop) and we don't need to unplug-replug.
2013-04-01 15:54:44 -03:00
Werner Almesberger
65722d417a atusb/fw/mac.c: queue frame reception if USB is busy
This way we we make sure we retrieve the frame and thus release dynamic
buffer protection (if enabled).
2013-04-01 15:17:37 -03:00
Werner Almesberger
ad70d7c129 include/atusb/atusb.h: salvage cute explanation of 0x1540 from usb-ids.h 2013-04-01 14:43:36 -03:00
Werner Almesberger
dab0d183a2 atusb/fw/include/atusb/usb-ids.h: remove (and adapt former users) 2013-04-01 14:40:14 -03:00
Werner Almesberger
d76bdf6a82 atusb/fw/mac.c (handle_irq): move frame reception to separate function 2013-04-01 14:29:57 -03:00
Werner Almesberger
60ee82ba93 atusb/fw/mac.c (handle_irq): only handle TRX_END; never fall back to seq ints 2013-04-01 12:48:30 -03:00
Werner Almesberger
3e749c3140 fw/include/atusb/ep0.h: protect also USB_DIR_IN and USB_DIR_OUT
They're currently not defined by libusb, but since the kernel has them,
they may eventually also end up in user space.
2013-04-01 11:23:48 -03:00
Werner Almesberger
16dd767857 fw/include/atusb/ep0.h (USB_TYPE_VENDOR): avoid conflict with /usr/include/usb.h 2013-04-01 05:59:18 -03:00
Werner Almesberger
2d43876e4a atusb/fw/board.h: de-duplicate USB ID definitions (now originate from atusb.h) 2013-04-01 05:54:58 -03:00
Werner Almesberger
12d3401f64 fw/include/atusb/: move shared protocol definitions from ep0.h to atusb.h 2013-04-01 05:47:53 -03:00
Werner Almesberger
647f3c0375 atusb/fw/: get rid of some more "int"s
No size change this time.
2013-03-29 19:19:49 -03:00
Werner Almesberger
a8db238cbb atusb/fw/: convert functions returning "int" to "bool"
Firmware size is down from 5612 to 3590 bytes. Wow !
2013-03-29 19:14:11 -03:00
Werner Almesberger
c9ab070ffd atusb/fw/mac.c (do_tx): add timeout for transition to TRX_STATUS_RX_[AACK_]ON 2013-03-29 18:50:54 -03:00
Werner Almesberger
cd566129ec tools/lib/misctxrx.c (set_power_step): set SPI_CMD_MODE to PHY_RSSI
This way, we don't interfere with "hard MAC" using it for CRC checking.
2013-03-29 17:03:31 -03:00
Werner Almesberger
211280356d atusb/fw/mac.c: check CRC and auto-discard bad frames 2013-03-29 17:02:24 -03:00
Werner Almesberger
5fc9575e4e atusb/fw/mac.c (do_tx): pulse SLP_TR instead of sending TRX_CMD_TX_START 2013-03-29 15:03:03 -03:00
Werner Almesberger
1de233a7c7 tools/: fix artf_at86rf23[01] (should be atrf...) typo 2013-03-28 14:24:28 -03:00
Werner Almesberger
40c01c4a6d BOOKSHELF: URL of MMST3904(SOT-323).PDF changed 2013-03-25 02:39:10 -03:00
Werner Almesberger
88c7e64e38 atusb/fw/mac.c (txing, queued_tx_ack): change from "int" to "bool" 2013-02-20 18:48:53 -03:00
Werner Almesberger
de8bcc1925 atusb/fw/mac.c: always wait for stability before changing transceiver state 2013-02-20 13:05:33 -03:00
Werner Almesberger
945aa04d9d tools/atrf-txrx/atrf-txrx.c (rtt_master): start transition to RX_ON while sending
This allows us to turn around faster.
2013-02-13 10:44:39 -03:00
Werner Almesberger
852aaf1b66 atusb/fw/: reset MAC state on ATUSB_RF_RESET 2013-02-13 09:30:21 -03:00
Werner Almesberger
276613da51 tools/atrf-txrx/atrf-txrx.c: -R and -H can be combined for HardMAC RTT 2013-02-13 01:37:21 -03:00
Werner Almesberger
911eb4d4b5 fw/mac.c (handle_irq): read REG_IRQ_STATUS also if we ignore the value
Else, we won't get any further interrupts.
2013-02-13 01:35:23 -03:00
Werner Almesberger
c19fccf17c tools/atrf-txrx/atrf-txrx.c: new option -R for RTT measurement mode
This is similar to ping (-P) but separates roles more clearly and
collects timing statistics instead of visualizing reception.
2013-02-12 20:07:21 -03:00
Werner Almesberger
49ca503cab tools/atrf-txrx/atrf-txrx.c (main): sort options alphabetically 2013-02-12 16:47:41 -03:00
Werner Almesberger
8710be5665 tools/atrf-txrx/atrf-txrx.c: add section headers and update clkm comment 2013-02-12 16:42:20 -03:00
Werner Almesberger
8ac87a3fa1 tools/: add timeout_ms argument to atrf_rx 2013-02-12 16:21:55 -03:00
Werner Almesberger
125cc6ad9f tools/lib/atusb-common.c (atusb_rx): fix confusing typo in comment 2013-02-12 11:03:14 -03:00
Werner Almesberger
b24e3d4ac7 tools/atrf-txrx/atrf-txrx.c (main): perform mode changes via function
This allows us to check for duplicate mode settings and allows for future
extensions.
2013-02-12 10:51:05 -03:00
Werner Almesberger
1d069a1019 README: replace obsolete hardware description with the hardware history 2013-02-04 19:33:17 -03:00
Werner Almesberger
ee870b57d0 prod/doc/test.hmac: fix unterminated IMG tag 2013-01-30 10:22:40 -03:00
Werner Almesberger
3800125a27 prod/doc/Makefile: add missing dependencies on at{ben,usb}-{front,back}.png 2013-01-30 10:19:43 -03:00
Werner Almesberger
5733b60721 prod/doc/figfilt: script to filter portions of a FIG file based on keys in comments
This file is part of the production documentation build process but was
never committed.
2013-01-30 10:13:14 -03:00
Werner Almesberger
63a6ad22bf ants/meander.fpd: comment out zero-sized tail (hack)
Note that this is just a stopgap measure. For a correct solution, use
kicad-libs/modules/meander-2450MHz.fpd
2012-11-11 09:42:54 -03:00
Werner Almesberger
269b78f23f makefiles/Makefile.kicad: use variable TOP instead of hard-coding ../../ path
This allows inclusion also in places that don't follow the <project>/dir/
convention. Note that we still need a single directory under which all Qi
project directories are located.
2012-11-11 09:30:25 -03:00
Werner Almesberger
155886ddcb tools/lib/atusb-common.c (atusb_tx): fix compiler warning
Tried to return value in void function.
2012-11-11 09:30:21 -03:00
Werner Almesberger
42f1a78807 atben/atben.sch, atusb/atrf.sch: correct and clarify ESR of X1 (reported by Wolfgang Spraul)
The maximum ESR is 100 Ohm, not 80 Ohm. Also changes "=" to "<=" to
make it clear that this is a maximum value.
2012-05-29 02:48:31 -03:00