eaa0d63ccb
usb-epfifo: fix DATA0/DATA1 swaps for Tx
...
We were sometimes sending DATA0 instead of DATA1. Fix that.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-05 17:33:02 +08:00
cbf4958236
usb-epfifo: remove extra USB_NAK setting
...
This works around an issue, though it's still not properly working.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-05 13:21:09 +08:00
33aec0876b
sw: usb-epfifo: disable usb events before disconnect
...
If we don't disconnect the usb event system, then we will lock up
in an irq storm.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-04-02 16:39:13 +08:00
0a4c73a63a
sw: wip commit -- dfu state machine works, spi broken
...
Need to fix SPI and SB_WARMBOOT, but the DFU state machine now works.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-28 11:13:25 +08:00
a3298226e5
sw: getting dfu working about to add debug bridge
...
We're having issues getteing DFU working. It almost works, but has some
issues. Unfortunately, we're out of space for printf.
Now we will work to get the UART Wishbone bridge working, to move
forward on debugging support.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-26 09:39:55 +08:00
3d6acaf51e
sw: wip commit -- getting dfu working
...
Now that we have SPI and USB both working, we can start to close the
loop and get DFU working.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-25 17:39:06 +08:00
dd9cdfa7a3
sw: usb-epfifo: make buffer pointers static
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-20 13:14:20 +08:00
ff4774ebc3
sw: usb-epfifo: fixups to remove errors in enumeration
...
With these fixups, we can now enumerate successfully.
The code is a mess, but this is the first functionally-correct build.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-11 11:51:19 +08:00
d64f88d995
sw: usb-epfifo: mostly-working commit
...
Still has issues with large reads.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-10 22:42:14 +08:00
c180c1b1b8
sw: usb-epfifo: increase packet size to 64 bytes
...
This masks some problems we're seeing.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-10 22:41:22 +08:00
c98017cbc9
client: working on the client
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-10 15:25:33 +08:00
ffd0285613
main: more work on fixing stuff
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 11:54:48 +08:00
1c38c58a6f
Merge branch 'master' of git.xobs.io:xobs/foboot
2019-03-05 09:18:20 +08:00
84d4b40897
foboot: move software stuff to sw directory
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-03-05 08:54:51 +08:00