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

693 Commits

Author SHA1 Message Date
Werner Almesberger
227bed1366 atben/Makefile (spotless): new target to also remove KiCAD "junk" files 2011-03-15 00:01:40 -03:00
Werner Almesberger
2cade0e2fb atben/Makefile: replace defective mlztx process with more robust cptx
- Makefile (MLZTX, mlztx): fails to update fields that exist but have
  older content; removed
- Makefile (CPTX, cptx): use more robust but less elegant cptx process
  for now
2011-03-14 23:48:33 -03:00
Werner Almesberger
49f34996f6 atben.brd: enabled Drawings layer and moved measurements there
- atben.brd: enabled Drawings layer
- atben.brd: moved board dimensions to Drawings layer
- Makefile (clean): added $(NAME)-Drawings.gbr
2011-03-14 23:31:27 -03:00
Werner Almesberger
1cb69d1569 atusb.brd: changed version from 110314 to 110314
- Makefile (VERSION): bumped version from 110314 to 110314
- atusb.brd: bumped version on copper and re-generated version on silk
  screen
- atusb.brd: bumped version in board meta-data
2011-03-14 21:43:53 -03:00
Werner Almesberger
44bd936182 atben.brd: changed version from 110219 to 110314
- Makefile (VERSION): bumped version from 110219 to 110314
- atben.brd: bumped version on copper and silk screen
- atben.brd: bumped version in board meta-data
2011-03-14 21:41:41 -03:00
Werner Almesberger
eac6e3c70b atben/README-PCB, atusb/README-PCB: various minor clarifications
- README-PCB: added imperial units for board thickness
- README-PCB: changed surface finish recommendation to prefer ENIG more
  strongly
- README-PCB: removed instructions for Gerber file generation from
  "interpretation of files section"
- README-PCB: mention common coordinate system origin
2011-03-14 21:31:55 -03:00
Werner Almesberger
6b3a049003 atben: set origin for fab files to lower left corner of board
- atusb/Makefile (gerber, fab): use pcbnew with --origin=aux for Gerber,
  drill, and DXF
- atusb/atusb.brd: set auxiliary origin to lower left corner of board
2011-03-14 13:27:15 -03:00
Werner Almesberger
695f6c2d57 atusb: use cptx to copy the version number to the silk screen
- Makefile (cptx): new target to update the version number on the silk
  screen
- atusb.brd: duplicated the version number from the back copper on the
  front silk screen
- atusb.brd: moved author tag to make room for front version number
2011-03-14 13:26:54 -03:00
Werner Almesberger
073675a7ed atben: set origin for fab files to lower left corner of board
- atben/Makefile (gerber, fab): use pcbnew with --origin=aux for Gerber,
  drill, and DXF
- atben/atben.brd: set auxiliary origin to lower left corner of board
2011-03-14 12:21:51 -03:00
Werner Almesberger
bdfed80aab atben: use mlztx to copy the version number to the silk screen
- Makefile (mlztx): new target to update the version number on the silk
  screen
- atben.brd: duplicated the version number on the silk screen
2011-03-14 03:29:33 -03:00
Werner Almesberger
0e93120882 atben.brd (B1): moved component reference which overlapped with circle 2011-03-14 03:15:51 -03:00
Werner Almesberger
34d236cb38 atusb.brd (B1): moved component reference which overlapped with circle 2011-03-14 02:22:40 -03:00
Werner Almesberger
c06ed9e60f atusb.brd: specified which components to place (for SMT fab)
- atusb.brd (ANT1, P11...P16): marked as "virtual"
- atusb.brd (C16): marked as "normal" (not "normal+insert")
2011-03-14 02:18:54 -03:00
Werner Almesberger
970695c472 atben, atusb: added polarity markers
- atben.brd (B1), atusb.brd (B1): marked pin 1 location with a circle
- atusb.brd (D1): marked anode with a plus sign and moved the component
  reference
2011-03-14 02:14:11 -03:00
Werner Almesberger
57e59c0f83 atben.brd: specified which components to place (for SMT fab)
- atben.brd (P1, P2, ANT1): marked as "virtual"
- atben.brd (C12): marked as "normal" (but not "normal+insert")
2011-03-14 02:08:34 -03:00
Werner Almesberger
fffa6e9867 atben/atusb: added -pcb to PCB fab archives; added "upload" target
- atben/Makefile (fab), atusb/Makefile (fab): changed name of PCB fab
  archives from $(NAME)-$(VERSION)... to $(NAME)-pcb-$(VERSION)...
- atben/Makefile (upload), atusb/Makefile (upload): new target to
  upload PCB fab archives to
  http://downloads.qi-hardware.com/people/werner/wpan/fab/
2011-03-14 00:33:40 -03:00
Werner Almesberger
7ef1c092bf atben/Makefile (gen): corrected use of --plot (for style - not really used) 2011-03-13 04:43:50 -03:00
Werner Almesberger
cdf3825d24 atusb: added fab file generation, like in atben
- Makefile (VERSION, DIR): added board version and parent directory name
- Makefile: added generation of Gerbers and other fab files
- Makefile (gen): this never worked, changed --plot to --plot=ps
- Makefile: added section titles
- README-PCB: PCB making instructions
2011-03-12 23:43:00 -03:00
Werner Almesberger
6bbe3bfcf9 atben/Makefile: cleanup and a small bug fix
- Makefile (fab): / was missing between $(DIR) and $(NAME) of ZIP archive
- Makefile: added section titles
- Makefile: removed comment that --exclude-board-edges was missing
- Makefile (gerber): changed atben.brd to $(NAME).brd
2011-03-12 23:32:12 -03:00
Werner Almesberger
20717b20c7 atben/README-PCB: mention that the back solder mask is empty 2011-03-12 21:57:37 -03:00
Werner Almesberger
e0d8271b00 atben/Makefile: generate proper Gerbers (without edge)
- Makefile (gerber): use option --exclude-pcb-edge
- Makefile (gerbv): the now empty $(NAME)-Mask_Back.gbs upsets gerbv, so
  don't try to display it
2011-03-12 21:55:15 -03:00
Werner Almesberger
d233c04c86 atusb/fw: implemented USB bus reset (to host) and polling of reset from host
- usb/usb.h, usb/atu2.c (usb_reset): reset the USB bus by detaching and
  re-attaching the device
- boot.c (main): force a USB reset before running the payload
- usb/atu2.c (usb_poll): test for USB reset from the host (in progress)
- usb/dfu.c (my_reset, dfu_init): register user USB reset handler
2011-03-11 17:56:41 -03:00
Werner Almesberger
e5571a26c3 atusb/fw/usb/atu2.c (handle_ep): cancel RX/TX if we receive a SETUP 2011-03-11 17:56:41 -03:00
Werner Almesberger
c265151d2b atusb/fw: introduced function flash_end_write to properly finish flashing
- dfu.h (flash_end_write), flash.c (flash_end_write): write any incomplete
  buffer
- flash.c (flash_write, flash_end_write): call boot_rww_enable only at the
  very end, it won't erase our buffer in mid-page
- usb/dfu.c (my_setup): call flash_end_write at the end of a download
2011-03-11 17:56:41 -03:00
Werner Almesberger
2978afe92b atusb/fw/flash.c: simplified logic of flash_write and corrected several small bugs
- flash.c (flash_write): we don't use eeprom_busy_wait, removed it
- flash.c (flash_write): write the page only at one place
- flash.c (flash_write): corrected the address of the page write
- flash.c (flash_write): value being added to word wasn't shifted
2011-03-11 17:56:41 -03:00
Werner Almesberger
553c981551 atusb/fw/flash.c: implemented flash_can_write and flash_read (were stubs) 2011-03-11 17:56:41 -03:00
Werner Almesberger
f87bdce41f atusb/fw/Makefile: added auxiliary Flash programming target (for development)
- Makefile (prog-app): flash the application, without the boot loader
- Makefile (prog-read): retrieve the Flash content
2011-03-11 16:24:49 -03:00
Werner Almesberger
e29046d19b atusb/fw/Makefile (prog): corrected boot loader size in hfuse 2011-03-11 16:23:42 -03:00
Werner Almesberger
edfb8a94eb atusb/fw/Makefile: clean up handing of boot loader base address
- Makefile (BOOT_ADDR, boot.elf): use variable instead of hiding the
  address in a command
- Makefile (CFLAGS): pass BOOT_ADDR as a macro
- Makefile: removed commented-out application flashing code
2011-03-11 16:21:39 -03:00
Werner Almesberger
021ccdec93 atben/README-PCB: added manufacturing specification/instructions (in progress) 2011-03-11 16:16:50 -03:00
Werner Almesberger
74ed5d87f9 atben/Makefile: added generation of some fab files (in progress)
- Makefile (VERSION): version for fab files
- Makefile (DIR): name of parent directory
- Makefile (fab) generate tar and zip files with files needed for PCB
  production
- Makefile (clean): remove also $(NAME)-PCB_Edges.dxf
2011-03-11 16:05:30 -03:00
Werner Almesberger
b5fd6e3132 atusb/fw/Makefile: lock fuse refuses 0xef; set it to 0x2f to pass verification 2011-03-09 03:11:15 -03:00
Werner Almesberger
b8fc1a7f54 atusb/fw/flash.c: added basic writing support (untested) 2011-03-09 02:02:05 -03:00
Werner Almesberger
1dcc83391e atusb/fw/Makefile: put -mmcu into CFLAGS so that DEPEND uses it, too
- Makefile ($(NAME).elf, boot.elf, %.o): don't pass -mmcu explicitly
- Makefile (CFLAGS): include -mmcu, so that it's also picked up by
  $(DEPEND)
2011-03-09 01:45:35 -03:00
Werner Almesberger
6ac82fc6c9 atusb/fw/README: avr-libc 1.17.1 has been released 2011-03-09 01:36:18 -03:00
Werner Almesberger
341b348ac0 atusb/fw/Makefile (clean): also remove the boot loader 2011-03-09 00:57:01 -03:00
Werner Almesberger
e8bed1f3c1 atusb/fw/: flash a boot loader instead of the application (in progress)
- boot.c: basic boot loader that runs DFU for 2 s, then starts the payload
- board.h (DFU_USB_VENDOR, DFU_USB_PRODUCT): added USB IDs for DFU
- flash.c: stubs for board-specific Flash functions
- Makefile: build boot.hex for the boot loader
- Makefile (prog): load the boot loader at its rightful place
- Makefile (prog): also set hfuse and the lock fuse
2011-03-09 00:41:32 -03:00
Werner Almesberger
f91738c306 atusb/fw/usb/: adapted DFU engine to current stack and abstracted Flash ops
- dfu.c: updated includes
- dfu.c (device_descriptor): renamed USB IDs from USB_VENDOR/PRODUCT to
  DFU_USB_VENDOR/PRODUCT to allow differentiation
- dfu.c: changed all __bit to "int"
- dfu.c: removed all __xdata and __reentrant
- dfu.c: changed "ep0" to "eps[0]"
- dfu.c (payload, flash_erase_page, flash_write_byte, block_write,
  block_receive, block_transmit, my_setup): abstracted Flash interface
  and removed target-specific operations
- dfu.h: added prototypes for target-specific Flash operations
- dfu,c (my_setup, my_descr): removed SDCC-specific hacks
- dfu.c (my_reset): commented out - did we actually use this ?
2011-03-08 19:10:58 -03:00
Werner Almesberger
fb2204ad84 usb/: added DFU implementation from f386base/fw/boot/ (unported) 2011-03-08 19:05:26 -03:00
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