*** tpb has joined #timvideos | 00:00 | |
*** mauz555 has joined #timvideos | 01:50 | |
*** CarlFK has joined #timvideos | 02:48 | |
*** ChanServ sets mode: +v CarlFK | 02:48 | |
*** mauz555 has quit IRC | 02:50 | |
*** futarisIRCcloud has joined #timvideos | 03:06 | |
*** mauz555 has joined #timvideos | 03:52 | |
*** mauz555 has quit IRC | 04:43 | |
*** mauz555 has joined #timvideos | 05:22 | |
*** mauz555 has quit IRC | 05:34 | |
CarlFK | mithro: do you know if bunny is coming to LCA? and / or hackfest? | 05:45 |
---|---|---|
xobs | CarlFK: bunnie's not going to LCA this year. | 05:46 |
CarlFK | xobs: aww. | 05:47 |
CarlFK | xobs: someone here might come that wants to mess with pcb layout of something like Pink Zybo board to take off most of the stuff and make a little camera thingy | 05:49 |
CarlFK | you or anyone want to play with that ? | 05:50 |
xobs | CarlFK: if I have time, perhaps. | 05:51 |
CarlFK | neat - I wonder if there is room at the hackfest | 05:51 |
futarisIRCcloud | CarlFK: Are you talking about the pynq.io boards? | 05:52 |
*** mauz555 has joined #timvideos | 05:53 | |
CarlFK | futarisIRCcloud: synaption[m] (standing here but not looged in)_ says "yes, well, pynq.io but the Zybo is the one with the camera) | 05:59 |
futarisIRCcloud | Oh. Zybo Z7, I guess... | 06:03 |
CarlFK | could be - he left for the night | 06:59 |
*** rohitksingh has joined #timvideos | 07:17 | |
*** mauz555 has quit IRC | 07:31 | |
*** CarlFK has quit IRC | 07:56 | |
*** rohitksingh has quit IRC | 08:03 | |
*** CarlFK has joined #timvideos | 08:22 | |
*** ChanServ sets mode: +v CarlFK | 08:22 | |
*** rohitksingh_work has joined #timvideos | 08:29 | |
xobs | mithro: The good news is that I can verify that the USB shift register works, mostly. The CPU can read packets, and can send packets, and both the CPU and my logic analyzer are correctly decoding things! | 09:15 |
xobs | The bad news is that the CPU isn't fast enough to do the MAC in software. | 09:15 |
cr1901_modern | Is it running from flash? | 09:16 |
xobs | No, BRAM | 09:16 |
xobs | BROM? | 09:16 |
cr1901_modern | uh oh... | 09:16 |
xobs | I suspect the vexriscv interrupt latency is too long. | 09:16 |
xobs | But that's okay! mithro is working on a USB state machine, so this is a solvable problem. | 09:17 |
*** futarisIRCcloud has quit IRC | 09:26 | |
mithro | xobs: It would be good to understand the actual latency of VexRISCV interrupts | 09:52 |
mithro | xobs: The SYNC byte doesn't end up in the input FIFO | 09:52 |
mithro | xobs: But you do need the SYNC byte in the output FIFO | 09:53 |
xobs | mithro: It would. There are 18 instructions in the trap handler that execute before isr(), so that's certainly one source of latency. | 09:53 |
mithro | xobs: 18!? | 09:53 |
xobs | And I noticed that w.r.t. sync bytes. I added them in, and now I can NAK, though it's much too late for the host. | 09:54 |
xobs | https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/libbase/crt0-vexriscv.S#L16 | 09:54 |
tpb | Title: litex/crt0-vexriscv.S at master · enjoy-digital/litex · GitHub (at github.com) | 09:54 |
mithro | xobs: Yeah - but if you are successfully sending a NAK (even if too late), that is another good piece of the puzzle) | 09:56 |
xobs | Oh, sometimes I even send ACK packets. Eventually. :) | 09:56 |
* xobs uploaded an image: image.png (56KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/lbuEDRAgNEmeCeRYmyXIWjDL > | 09:57 | |
daveshah | I think at CCC we discussed that doubling the CPU clock frequency from 12 to 24MHz with some Yosys/nextpnr tweaks might be possible. I don't know if that would help | 10:00 |
xobs | daveshah: it wouldn't hurt! but I think the real solution is to do a state machine in verilog. | 10:02 |
mithro | xobs: I have SOF packets... | 10:06 |
mithro | s/have/hate/ | 10:06 |
mithro | xobs: https://github.com/mithro/valentyusb/issues | 10:06 |
tpb | Title: Issues · mithro/valentyusb · GitHub (at github.com) | 10:06 |
xobs | mithro: they're so very plentiful, though! the nice thing is you can probably ignore them completely, unless we decide to do something with them later. | 10:08 |
mithro | xobs: Yeah, it makes hard debugging when you want to trigger on a packet | 10:10 |
mithro | Interesting -> https://lwn.net/Articles/771621/ | 11:28 |
tpb | Title: Device-tree schemas [LWN.net] (at lwn.net) | 11:28 |
*** rohitksingh_work has quit IRC | 13:17 | |
*** rohitksingh has joined #timvideos | 14:48 | |
*** rohitksingh has quit IRC | 15:56 | |
*** rohitksingh has joined #timvideos | 15:58 | |
mithro | xobs: You still up, or did you go to bed already like a sensible person? | 16:51 |
mithro | xobs: Did you get anywhere with the USB? I might start working on it again in ~2-3 hours | 16:54 |
*** rohitksingh has quit IRC | 17:10 | |
*** rohitksingh has joined #timvideos | 17:25 | |
*** CarlFK has quit IRC | 17:29 | |
*** rohitksingh has quit IRC | 19:22 | |
*** puck_ has quit IRC | 20:12 | |
*** puck_ has joined #timvideos | 20:13 | |
shorne | mithro: I am going to reply to the guy about nuttx | 21:22 |
shorne | I have heard of it, I think its great, but really the OS support we listed is based on user/developer contributions | 21:23 |
shorne | So far the real support it Linux (expiramental) and the litex firmware | 21:24 |
shorne | Is that right? have we really done zephyr support? | 21:24 |
*** CarlFK has joined #timvideos | 23:29 | |
*** ChanServ sets mode: +v CarlFK | 23:29 | |
*** CarlFK has quit IRC | 23:34 | |
*** CarlFK has joined #timvideos | 23:38 | |
*** ChanServ sets mode: +v CarlFK | 23:38 | |
*** futarisIRCcloud has joined #timvideos | 23:43 | |
futarisIRCcloud | https://www.crowdsupply.com/1bitsquared/icebreaker-fpga/updates/35c3 | 23:49 |
tpb | Title: iCEBreaker FPGA - 35c3 | Crowd Supply (at www.crowdsupply.com) | 23:49 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!