Commit Graph

297 Commits

Author SHA1 Message Date
Sylvain Munaut 7b228843ae gateware: Minor syntax fixes
Theses syntax error are ignored by yosys but trying synopsys, it is more
strict, so fix them. Right thing to do anyway ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-22 20:00:13 +02:00
Sylvain Munaut 5e86047024 fw/icE1usb: Update to support production hardware
Also default build to it since very few people would want to build
firmware targetted to the prototypes ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-15 22:20:21 +02:00
Sylvain Munaut bd83e53ff6 gateware/icE1usb: Initial import of production hardware gateware
Current version has second E1 channel disabled to allow the
build to works. Works is in progress to optimize the gateware and
the fpga toolchain to allow full featured build.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-15 22:11:29 +02:00
Sylvain Munaut 035e247bf0 fw/ice40-riscv: Fix reboot to bootloader
Address was from previous gateware ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-15 22:09:53 +02:00
Sylvain Munaut 1ac458f5fa fw/icE1usb: Reorganize fields in misc peripheral
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-15 22:09:10 +02:00
Sylvain Munaut c1d117b6de gateware/firmware: Match rx/tx tick order in register with doc
The documentation always had the rRX tick in the LSB which
is consistent with having the RX units before TX.

They can be read as 16 bit value anyway so there isn't any
performance impact.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-15 21:57:52 +02:00
Sylvain Munaut f5d7bf2480 fw/e1-tracer: Import firmware for the E1 tracer board
Some more code could probably be unified with the "normal" usb E1 adapter
to both reduce code duplication but also offer 'sniff' function to the
E1 adapter.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut bc9f5c4219 fw/icE1usb: Import firmware for the icE1usb and icE1usb-proto boards
Currently only the icE1usb-proto is supported. Adaptation for the
final production hardware is yet to be done.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 26bc4659af firmware/ice40-riscv: Import common parts to all iCE40/RISC-V firmwares
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 546493e606 gateware/e1-tracer: Initial import
This is the project specific to the e1-tracer board that was
initially based on the iCEpick with a couple dev boards attached
but eventually consolidated to a proper board, which still retaining
100% electrical compatibility (and thus same gateware and firmware)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut da65157363 gateware/icE1usb-proto: Initial import
This is the project specific to the PMOD based early prototype.
It was used either with the icebreaker or the icebreaker-bitsy
board as host. Set BOARD variable appropriately during build.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 21b03baf47 gateware: Initial import of all common parts
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 1599a58344 hardware/icE1usb: Initial import of the production hardware design files
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 744b441909 hardware/icE1usb-proto: Import the early prototype eagle files
For archival purposes only, shouldn't really be used to produce anything.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-14 10:56:49 +02:00
Sylvain Munaut 4f5f64d856 mechanical: Import all design files for the icE1usb case
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-13 21:24:07 +02:00
Sylvain Munaut ff64012b21 doc: Import the official specification documents for E1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-09-13 21:22:55 +02:00
Harald Welte a3750db8a3 Change name of repository in README
Change-Id: I8a4cfb55386ea7eb1dbf90587a2ceb7995dc363f
2020-09-04 13:14:40 +00:00
Harald Welte 2aa6d028a8 software/obsloete: Add sockbuf_test.c from my local tree 2020-09-04 14:57:52 +02:00
Harald Welte a5c8ba48b8 delete sam4s related files as this approach was discontinued 2020-09-04 14:57:10 +02:00
Harald Welte 6719ac2019 move old software snippets and hacks to software/obsolete 2020-09-04 14:56:45 +02:00
Harald Welte cf3eec249b e1-xcvr: Add missing gerber output (was uncommitted in my tree) 2020-09-04 14:54:34 +02:00
Harald Welte 0df93a33fe big hardware directory re-organization in preparation of ice40 merge 2020-09-04 14:54:34 +02:00
Martin Schramm 55d9d07d27 e1-tracer: repair Excellon drill file (and its desc) 2020-08-30 19:14:59 +02:00
Harald Welte 6d4f68d3d0 export e1-tracer eBOM also as csv 2020-08-30 17:48:10 +02:00
Harald Welte 802f095e47 export e1-tracer gerber files 2020-08-30 17:47:04 +02:00
Harald Welte c652b7cd7c README: update to reflect we have 3 separate hardware designs here 2020-08-30 17:45:09 +02:00
Harald Welte 1a459b0cbf e1-tracer: Add PDF renderings of schematics and board 2020-08-30 17:38:48 +02:00
Martin Schramm 471653546e e1-tracer: denote CC-BY-SA 4.0 in schema (adds to SYS#5052) 2020-08-30 17:12:29 +02:00
Joachim Steiger 3c40deac2d add flash scripts to flash e1_tracer via https://github.com/dword1511/stm32-vserprog.git and dfu-util 2020-08-27 00:45:20 +02:00
Martin Schramm 8858e127a2 e1-tracer: more eBOM atrributes + commit eBOM 2020-08-15 19:04:39 +02:00
Martin Schramm 49188b5867 e1-tracer: collect more BOM atrributes 2020-08-15 18:11:34 +02:00
Harald Welte fd79cfa8a3 e1-tracer: Add various BOM attributes 2020-08-15 15:19:35 +02:00
Martin Schramm ea80688044 e1-tracer: further shrink the GND and 3V3 copper inwards left and right
... and run a local DRC
2020-08-14 19:10:02 +02:00
Martin Schramm c56283aeee e1-tracer: update again from ice40 lib
Another pin was found with 'wrong' direction state. Severity of this
is low as is shows only warnings in ERC, removing it anyways during
verification.
2020-08-14 13:38:33 +02:00
Martin Schramm 0e973a2f1e e1-tracer: update from ICE40 lib after minor Eagle pin dir change 2020-08-14 13:23:53 +02:00
Martin Schramm c21ca237df e1-tracer: start a last renumber (after inserting 4x 0R) 2020-08-14 12:41:57 +02:00
Martin Schramm a0c864cc30 e1-tracer: annotate jumper JP1 signals in silk screen 2020-08-14 12:23:22 +02:00
Martin Schramm cad013f3c4 e1-tracer: minor silk screen cosmetics 2020-08-14 12:14:47 +02:00
Martin Schramm c630d167be e1-tracer: 4x 0R on R and B LED color selection wires 2020-08-14 12:07:08 +02:00
Martin Schramm 84d93f2518 Merge branch 'master' of ssh://git.osmocom.org/osmo-e1-xcvr 2020-08-14 11:10:27 +02:00
Martin Schramm 51efbb261a e1-tracer: have more clearance of VBUS trace on PCB edge 2020-08-14 11:09:39 +02:00
Harald Welte 95478a23ef Makefile: libraries should be in LIBS, not LDFLAGS 2020-08-14 00:07:19 +02:00
Martin Schramm 32a4aa0faf e1-tracer: add a generic 0603 blue LED type w/ Vf=2.8V
designating LTST-C193TBKT-5A for now
2020-08-12 17:25:12 +02:00
Martin Schramm 488520323b e1-tracer: improve power bypassing on LIU's VDDT and VDDA
...by placing 2x 22u per LIU (instead of 68u DNP), shrinking packages
from 1206 to 0805
2020-08-12 17:12:51 +02:00
Martin Schramm d6c12735b1 e1-tracer: add 2x 33R series resistors in USB wires
and
* update improved HC73 package
* move upper third of PCB (LIUs and XOs) left
2020-08-12 16:07:06 +02:00
Martin Schramm a5fd600135 e1-tracer: reapir missing VDD_3V3 on serial debug out's TVS 2020-08-11 23:36:55 +02:00
Martin Schramm 1460628d81 e1-tracer: 'update' our generic rc lib again to purge '..@1' packages 2020-08-11 22:00:52 +02:00
Martin Schramm f75f35966a e1-tracer: finish PCB 2020-08-11 14:35:05 +02:00
Martin Schramm e4d7fbbe84 e1-tracer: state copyright in sch and brd 2020-08-06 16:24:00 +02:00
Martin Schramm 8c9a55db6e e1-tracer: PCB almost ready
... with some room for improvement: LEDs might go to the right of the
2x RJ45
2020-08-06 16:10:16 +02:00