Saturday, 2018-12-15

*** tpb has joined #timvideos00:00
mithrotannewt: Well, I got a character to transmit down to the device!02:10
mithrotannewt: But I'm not getting anything coming back...02:11
mithrotannewt: It doesn't look like the driver is polling the interrupt endpoint?02:15
mithroIf I type a whole bunch I get some characters back....02:16
tannewtis the peripheral sending naks back at all?02:25
mithrotannewt: Hrm?03:29
mithrotannewt: I just pushed the latest version03:32
*** PaddyF has quit IRC03:40
*** rohitksingh has joined #timvideos04:20
mithrotannewt: ep_notif doesn't seem to be used anywhere in the tinyusb code?04:24
*** rohitksingh has quit IRC04:49
*** rohitksingh has joined #timvideos05:05
rohitksinghmithro: 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
CarlFKmithro: getting errors trying to do:  https://github.com/timvideos/litex-buildenv/wiki/HowTo-FuPy-on-a-Digilent-Arty-A706:49
tpbTitle: HowTo FuPy on a Digilent Arty A7 · timvideos/litex-buildenv Wiki · GitHub (at github.com)06:49
CarlFKmithro: nvm - ill log an issue06:50
mithroWell, I think I've found an issue when sending some single byte packets...07:24
CarlFKmithro: 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/11107:25
tpbTitle: fatal: bad sha1 reference /master · Issue #111 · timvideos/litex-buildenv · GitHub (at github.com)07:25
mithrotannewt / 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
mithroxobs: Do you understand the data toggle bit in usb?07:50
xobsmithro: in what sense? I've gotten it working, yes.07:50
mithroxobs: Is the dtb per endpoint, per endpoint+direction, or ?07:51
xobsThink 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
xobsTherefore, DTB is per endpoint+direction.07:52
xobshttps://github.com/xobs/grainuum/blob/master/grainuum-state.c#L11907:52
tpbTitle: grainuum/grainuum-state.c at master · xobs/grainuum · GitHub (at github.com)07:52
xobsIn that code, `data_buffer` is a uint8_t that keeps track of DATA0 or DATA1 for each of the possible endpoints.07:56
mithroxobs: How does this interact with SETUP tokens?08:00
xobsnow 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
mithroIn 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, ACK08:09
mithrowhich makes me think the SETUP token is reset the dtb for both the in and out endpoints...08:09
mithroClearFeature(ENDPOINT_HALT) request always results in the data toggle being reinitialized to DATA0.08:16
mithroI give up for the night08:19
xobs:(08:20
mithroTry again tomorrow - atleast I have a test now08:26
*** thaytan has joined #timvideos11:56
*** ChanServ sets mode: +v thaytan11:56
*** cr1901_modern1 has joined #timvideos15:31
*** cr1901_modern has quit IRC15:32
*** cr1901_modern1 has quit IRC15:39
*** cr1901_modern has joined #timvideos15:39
*** rohitksingh has quit IRC16:07
*** rohitksingh has joined #timvideos16:08
CarlFKmithro: can you comment on https://github.com/timvideos/litex-buildenv/issues/112  and I'll try to fix it17:30
tpbTitle: there is no trunk in /HDMI2USB-firmware-prebuilt · Issue #112 · timvideos/litex-buildenv · GitHub (at github.com)17:30
*** sc00bz1 has quit IRC17:39
*** sc00bz has joined #timvideos17:46
*** puck_ has quit IRC19:42
*** puck_ has joined #timvideos19:45
*** Kripton has quit IRC20:04
*** Kripton has joined #timvideos20:05
mithroCarlFK: yes, it is as simple as you think it is21:21
mithroData toggle bit your going down! I'm going to beat you today...21:22
CarlFKmithro: thanks.21:35
CarlFKmithro: im hoping "simple" was for #111 that I just PRed - can you look at #112?21:54
mithroLink?21:54
CarlFKmithro: can you comment on https://github.com/timvideos/litex-buildenv/issues/112  and I'll try to fix it21:55
tpbTitle: there is no trunk in /HDMI2USB-firmware-prebuilt · Issue #112 · timvideos/litex-buildenv · GitHub (at github.com)21:55
mithroCarlFK: hrm? It looks like the firmware doesn't exist at that revision?21:56
CarlFKmithro: that too, but I don't think any rev has "trunk" in the url21:56
mithroCarlFK: That is a subversion thing21:56
CarlFKah21:56
CarlFKmithro: 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
mithroCarlFK: Just place the right version number in it21:59
CarlFKmithro: can you give me a right version? :p22:00
mithroCurrently trying to concentrate22:00
CarlFKk22:00
mithroCarlFK: The way I would figure out the right version is perfectly doable by you22:01
mithrotannewt / tmmmcci / xobs: It works!22:25
mithrothe CDC-ACM is echoing stuff back!22:25
tannewtyay!22:25
tannewtwhat was the issue?22:25
mithrotannewt: data toggle bit22:26
tannewtah22:26
mithrotannewt: Going to have some time to reproduce any time soon?22:29
tannewtno I don't think so22:29
mithroI think I just pushed everything22:29
mithrotannewt: :-(22:29
tannewtget married in less than a week and leave tuesday22:29
tannewtgot lots of life stuff to do22:29
CarlFK\o/ throws confetti22:30
mithroAhh22:30
tannewt:-D22:30
tannewtdoesn't sound like you need my help anyway :-)22:30
tmmmcciAwesome22:31

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!