*** tpb has joined #timvideos | 00:00 | |
mithro | tannewt: Well, I got a character to transmit down to the device! | 02:10 |
---|---|---|
mithro | tannewt: But I'm not getting anything coming back... | 02:11 |
mithro | tannewt: It doesn't look like the driver is polling the interrupt endpoint? | 02:15 |
mithro | If I type a whole bunch I get some characters back.... | 02:16 |
tannewt | is the peripheral sending naks back at all? | 02:25 |
mithro | tannewt: Hrm? | 03:29 |
mithro | tannewt: I just pushed the latest version | 03:32 |
*** PaddyF has quit IRC | 03:40 | |
*** rohitksingh has joined #timvideos | 04:20 | |
mithro | tannewt: ep_notif doesn't seem to be used anywhere in the tinyusb code? | 04:24 |
*** rohitksingh has quit IRC | 04:49 | |
*** rohitksingh has joined #timvideos | 05:05 | |
rohitksingh | mithro: Hi and Good Morning! I just woke up and saw your mails! Thank you so much :) I was going to mail you addresses for all of them in a batch, but you seem to have got them yourselves! Thank you! \o/ | 05:22 |
CarlFK | mithro: getting errors trying to do: https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-a-Digilent-Arty-A7 | 06:49 |
tpb | Title: HowTo FuPy on a Digilent Arty A7 · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 06:49 |
CarlFK | mithro: nvm - ill log an issue | 06:50 |
mithro | Well, I think I've found an issue when sending some single byte packets... | 07:24 |
CarlFK | mithro: good time to take a break and see if this is as simple as I think it is: https://github.com/timvideos/litex-buildenv/issues/111 | 07:25 |
tpb | Title: fatal: bad sha1 reference /master · Issue #111 · timvideos/litex-buildenv · GitHub (at github.com) | 07:25 |
mithro | tannewt / tinyfpga: Sending the DATA0 with byte 0x1 and 0x2 fail, but 0xa succeeds -- I think there is something going on with bit stuffing? | 07:30 |
mithro | xobs: Do you understand the data toggle bit in usb? | 07:50 |
xobs | mithro: in what sense? I've gotten it working, yes. | 07:50 |
mithro | xobs: Is the dtb per endpoint, per endpoint+direction, or ? | 07:51 |
xobs | Think of endpoint+direction as a single thing. IN0 is completely different from OUT0. They don't share anything at all. They don't even need to be tied to the same device. | 07:52 |
xobs | Therefore, DTB is per endpoint+direction. | 07:52 |
xobs | https://github.com/xobs/grainuum/blob/master/grainuum-state.c#L119 | 07:52 |
tpb | Title: grainuum/grainuum-state.c at master · xobs/grainuum · GitHub (at github.com) | 07:52 |
xobs | In that code, `data_buffer` is a uint8_t that keeps track of DATA0 or DATA1 for each of the possible endpoints. | 07:56 |
mithro | xobs: How does this interact with SETUP tokens? | 08:00 |
xobs | now that I look at it, I wonder if it's not conflating EP0 SETUP packets with IN0 and OUT0. I do see some code hacking away something on Windows, but perhaps that was the wrong solution. | 08:04 |
mithro | In theory a control transfer should always be (seutp)SETUP, DATA0, ACK -> (data)IN, DATA1, ACK -> (status)OUT, DATA1, ACK (setup)SETUP, DATA0, ACK -> (data)OUT, DATA1, ACK -> (status)IN, DATA1, ACK | 08:09 |
mithro | which makes me think the SETUP token is reset the dtb for both the in and out endpoints... | 08:09 |
mithro | ClearFeature(ENDPOINT_HALT) request always results in the data toggle being reinitialized to DATA0. | 08:16 |
mithro | I give up for the night | 08:19 |
xobs | :( | 08:20 |
mithro | Try again tomorrow - atleast I have a test now | 08:26 |
*** thaytan has joined #timvideos | 11:56 | |
*** ChanServ sets mode: +v thaytan | 11:56 | |
*** cr1901_modern1 has joined #timvideos | 15:31 | |
*** cr1901_modern has quit IRC | 15:32 | |
*** cr1901_modern1 has quit IRC | 15:39 | |
*** cr1901_modern has joined #timvideos | 15:39 | |
*** rohitksingh has quit IRC | 16:07 | |
*** rohitksingh has joined #timvideos | 16:08 | |
CarlFK | mithro: can you comment on https://github.com/timvideos/litex-buildenv/issues/112 and I'll try to fix it | 17:30 |
tpb | Title: there is no trunk in /HDMI2USB-firmware-prebuilt · Issue #112 · timvideos/litex-buildenv · GitHub (at github.com) | 17:30 |
*** sc00bz1 has quit IRC | 17:39 | |
*** sc00bz has joined #timvideos | 17:46 | |
*** puck_ has quit IRC | 19:42 | |
*** puck_ has joined #timvideos | 19:45 | |
*** Kripton has quit IRC | 20:04 | |
*** Kripton has joined #timvideos | 20:05 | |
mithro | CarlFK: yes, it is as simple as you think it is | 21:21 |
mithro | Data toggle bit your going down! I'm going to beat you today... | 21:22 |
CarlFK | mithro: thanks. | 21:35 |
CarlFK | mithro: im hoping "simple" was for #111 that I just PRed - can you look at #112? | 21:54 |
mithro | Link? | 21:54 |
CarlFK | mithro: can you comment on https://github.com/timvideos/litex-buildenv/issues/112 and I'll try to fix it | 21:55 |
tpb | Title: there is no trunk in /HDMI2USB-firmware-prebuilt · Issue #112 · timvideos/litex-buildenv · GitHub (at github.com) | 21:55 |
mithro | CarlFK: hrm? It looks like the firmware doesn't exist at that revision? | 21:56 |
CarlFK | mithro: that too, but I don't think any rev has "trunk" in the url | 21:56 |
mithro | CarlFK: That is a subversion thing | 21:56 |
CarlFK | ah | 21:56 |
CarlFK | mithro: can you give me a valid URL so for now I'll ignore making that script work so I can get on with python on arty? | 21:59 |
mithro | CarlFK: Just place the right version number in it | 21:59 |
CarlFK | mithro: can you give me a right version? :p | 22:00 |
mithro | Currently trying to concentrate | 22:00 |
CarlFK | k | 22:00 |
mithro | CarlFK: The way I would figure out the right version is perfectly doable by you | 22:01 |
mithro | tannewt / tmmmcci / xobs: It works! | 22:25 |
mithro | the CDC-ACM is echoing stuff back! | 22:25 |
tannewt | yay! | 22:25 |
tannewt | what was the issue? | 22:25 |
mithro | tannewt: data toggle bit | 22:26 |
tannewt | ah | 22:26 |
mithro | tannewt: Going to have some time to reproduce any time soon? | 22:29 |
tannewt | no I don't think so | 22:29 |
mithro | I think I just pushed everything | 22:29 |
mithro | tannewt: :-( | 22:29 |
tannewt | get married in less than a week and leave tuesday | 22:29 |
tannewt | got lots of life stuff to do | 22:29 |
CarlFK | \o/ throws confetti | 22:30 |
mithro | Ahh | 22:30 |
tannewt | :-D | 22:30 |
tannewt | doesn't sound like you need my help anyway :-) | 22:30 |
tmmmcci | Awesome | 22:31 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!