Sean Cross
d82ded61bf
deps: use latest lxsocdoc
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-19 11:51:44 +08:00
Sean Cross
af9d115d5d
hw: deps: sync with upstream to get documentation support
...
The latest upstream now has documented CSRs.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-19 09:20:52 +08:00
Sean Cross
d29f21af83
deps: use latest valentyusb
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-12 10:24:02 +08:00
Sean Cross
5401fde323
hw: deps: clean up submodules
...
There are lots of modules that we don't need. Remove them.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-11 18:41:35 +08:00
Sean Cross
6c1f63344c
litex: move to earlier version
...
This earlier version of litex should behave the same, but saves
~400 LCs and allows us to have four HW breakpoints.
Will investigate what changed later on.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-22 08:55:26 +08:00
Sean Cross
b0b87addae
hw: deps: use experimental lxsocsupport up5kspram block
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-21 13:48:26 +08:00
Sean Cross
2b9f9612d8
hw: deps: use latest litex
...
This will enable us to have spiflash working later on.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-21 12:27:03 +08:00
Sean Cross
425787484d
hw: deps: fix metastability with new valentyusb
...
The new valentyusb fixes metastability in the tx and rx path.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-21 12:26:34 +08:00
Sean Cross
eed9897cfc
litex: pull latest spi flash changes
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-07-08 14:14:14 +08:00
Sean Cross
61d912b9fc
valentyusb: update to include dummyusb fixes
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-19 12:38:47 -07:00
Sean Cross
14e46296e5
litex: use upstream version with fixed debug packet
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-22 08:41:01 +08:00
Sean Cross
47cbc614a1
hw: deps: use valentyusb v0.3.3
...
This version removes retry from the usb wishbone bridge. It was
discovered that this causes crc errors.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-20 13:01:36 +08:00
Sean Cross
7f025eac5c
valentyusb: fix debug with multiple endpoints
...
Now we properly inhibit other endpoints, and prevent the buffer from
draining when there's a debug packet.
This also prevents an early return from DEBUG READ.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-14 15:33:00 +08:00
Sean Cross
0f5267122b
valentyusb: use generic IO blocks
...
There's no need to use ICE40-specific IO blocks.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-14 10:23:49 +08:00
Sean Cross
8d6c3dc5fc
deps: valentyusb: use new usb pipeline
...
This pipeline removes the timing violations we had, and improves the
debug bridge by quite a lot.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-12 21:47:11 +08:00
Sean Cross
c5eb487951
deps: valentyusb: add fixes from usbalex
...
These fix the timing of the USB connection.
These fixes also fix issues with USB debugging.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-10 22:11:17 +08:00
Sean Cross
3a6ae4679a
deps: valentyusb: fix "STALL" error on debug packets
...
We weren't properly ACKing debug packets. This fixes that.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-05-01 14:21:54 -07:00
Sean Cross
6caffc1eb6
hw: deps: have valentyusb reset itself on error
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-28 16:43:12 +08:00
Sean Cross
bee41ec891
hw: valentyusb: better buffer draining on reset
...
Pull in improved support for draining the buffers when going into reset.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-25 13:27:55 +08:00
Sean Cross
ace0d2c22f
hw: valentyusb: sync wishbone ep1 fixes
...
This fixes EP1+ so that interleved accesses work.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-23 17:25:06 +08:00
Sean Cross
4e5c75a0df
deps: valentyusb: use debug port fix
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-21 21:50:52 +08:00
Sean Cross
698ea6c2f7
deps: litex: sync upstream for litex_server changes
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-21 21:49:31 +08:00
Sean Cross
c0690187b4
Merge branch 'wishbone-debug'
2019-04-21 21:48:33 +08:00
Sean Cross
eb6fa89452
merge debug
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-21 21:48:16 +08:00
Sean Cross
0fce77fb21
examples: add usb-cdcacm example
...
This tests that multiple endpoints work as we expect.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-21 21:44:37 +08:00
Sean Cross
aef5043db0
deps: litex: use latest upstream branch
...
This contains the usb patches, as well as vexriscv reset patch.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-20 08:55:24 +08:00
Sean Cross
7eaad24d50
deps: valentyusb: use wishbone-debug branch
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-18 21:30:45 +08:00
Sean Cross
20c0fb2b2b
valentyusb: revert shorter-pipeline patch
...
It didn't seem to fix anything, and may have made things worse.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-07 22:57:05 +08:00
Sean Cross
4c3f0f2402
valentyusb: use experimental shorter pipeline
...
This helps to improve timing.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-03 22:11:02 +08:00
Sean Cross
6595eb1ef1
valentyusb: increase incoming buffer to 128 bytes
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-28 11:12:32 +08:00
Sean Cross
c7632ae8bd
deps: litex: sync with latest version
...
This pulls in several fixes, including custom vexriscv modules.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-17 17:33:31 +01:00
Sean Cross
4aa3861c03
hw: deps: update to first feature-complete valentyusb
...
This is the first version of `valentyusb` that successfully enumerates
without any errors.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-11 11:52:03 +08:00
Sean Cross
5bcd6c44fb
deps: update valentyusb to working rev
...
This revision works, although more tuning needs to be done.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-10 22:43:28 +08:00
Sean Cross
44ee19c8b4
valentyusb: use latest fix for metastable transmissions
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-06 14:06:17 +08:00
Sean Cross
3df59a866d
metastable fix: wip
...
Trying to figure out what's causing this problem.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 20:28:54 +08:00
Sean Cross
8fe27d9371
Add 'hw/' from commit 'd812378c4d61f7c957ac4bcba15a8344fb7fb458'
...
git-subtree-dir: hw
git-subtree-mainline: e4af98b4aa
git-subtree-split: d812378c4d
2019-03-05 09:05:50 +08:00