Sunday, 2019-06-30

*** tpb has joined #tomu00:00
*** xkapastel has quit IRC01:54
*** AmosSam has left #tomu05:01
*** AmosSam has joined #tomu05:08
*** rohitksingh has joined #tomu06:33
*** rohitksingh has quit IRC06:49
*** rohitksingh has joined #tomu06:49
*** xkapastel has joined #tomu09:49
*** rohitksingh has quit IRC10:42
*** AmosSam has left #tomu12:48
*** AmosSam has joined #tomu12:53
*** rohitksingh has joined #tomu13:59
*** rohitksingh has quit IRC14:24
*** rohitksingh has joined #tomu15:07
*** AmosSam_ has joined #tomu15:20
*** rohitksingh has quit IRC15:24
*** emeb has joined #tomu15:26
*** TomKeddie has joined #tomu15:34
TomKeddieHey Guys, the 0xc3/0x43 usb debug commands mentioned at teardown2019 look cool.  I'm looking for their implementation, was expecting to see them in usb-dev.c but couldn15:36
TomKeddie't find them in micropython or foboot15:36
*** rohitksingh has joined #tomu15:39
xobsTomKeddie: They're never seen by the CPU.  That's why we can rebuild it with the CPU removed.15:43
TomKeddieAh so I should be looking in valentyusb, thanks!15:44
xobshttps://github.com/im-tomu/valentyusb/blob/master/valentyusb/usbcore/cpu/usbwishbonebridge.py15:45
tpbTitle: valentyusb/usbwishbonebridge.py at master · im-tomu/valentyusb · GitHub (at github.com)15:45
*** rohitksingh has quit IRC15:49
TomKeddieOk so the code is there in my arty port (debug=True) but it looks like I'm getting no response, will have to dig deeper.  I have etherbone too, will these conflict?15:56
TomKeddie./wishbone-tool --pid 0x70b1  0xe000c80015:57
TomKeddieOpening device 001 on bus 01415:57
TomKeddieNo device available, pausing15:57
xobsIs that your Product ID?  What does "lsusb" show you?15:57
xobsOr dmesg, for that matter.15:57
xobsYou might try just implementing DummyUSB, which has no CPU.  That'll let you validate the hardware works.  Then you can add in the CPU.15:58
xobsFor DummyUSB, the current PID is 0x5bf0.15:59
TomKeddieYep it's the right pid/vid, can't recall if I overwrote the foboot default or not.16:01
TomKeddie[946428.936185] usb 1-4.1: New USB device found, idVendor=1209, idProduct=70b1, bcdDevice= 1.0116:01
TomKeddie[946428.936188] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=016:01
TomKeddie[946428.936190] usb 1-4.1: Product: Fomu DFU Bootloader16:01
TomKeddie[946428.936192] usb 1-4.1: Manufacturer: Foosn16:01
TomKeddieBus 001 Device 014: ID 1209:70b1 Generic Sutajio Ko-Usagi (Kosagi) Tomu16:01
xobsHuh.  The product name there doesn't list the version information on it at all.  Are you using an older version of valentyusb that used 0xc0/0x40 as the magic byte?16:03
xobsThat was the original value, but then I discovered Microsoft makes 0xc0 requests normally during enumeration.16:03
TomKeddieI need to update to 1.8.1 of foboot anyway, I'll do this later today and see how I go, thanks for the advice.16:22
*** rohitksingh has joined #tomu16:33
*** rohitksingh has quit IRC16:58
*** rohitksingh has joined #tomu17:11
*** AmosSam has left #tomu17:49
*** rohitksingh has quit IRC17:49
*** AmosSam has joined #tomu17:58
*** cdmatter has quit IRC18:56
*** rohitksingh has joined #tomu18:59
*** rohitksingh has quit IRC20:06
*** cdmatter has joined #tomu20:28
*** xkapastel has quit IRC21:18
*** AmosSam has left #tomu21:30
*** AmosSam has joined #tomu21:38
*** techman83 has quit IRC22:09
*** techman83 has joined #tomu22:10
*** emeb has left #tomu23:24
*** AmosSam has left #tomu23:44
*** AmosSam has joined #tomu23:44

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