Friday, 2019-04-26

*** tpb has joined #tomu00:00
xobs'tis a silly place.01:05
xobsI haven't even done anything past USB FS.  HS seems weird enough, even though it's standard by now.  And I don't even know if I have any SS devices.01:06
* xobs yells at cloud01:06
xobsAlso, I moved to a newer version of vexriscv, and strangely USB has stopped working.  I'll have to look into that today once I have the USB LA back.01:46
*** emeb has left #tomu02:23
xobsStrange.  Now it works.04:20
xobsSuper suspicious.04:20
xobsCan someone please try the v1.3 tag I just pushed?  To make sure I'm not going crazy here.04:21
*** rohitksingh_work has joined #tomu05:00
*** stv0g has joined #tomu05:02
*** stv0g has quit IRC05:06
futarisIRCcloudxobs: v1.3? Ok, let me test. Can I run it on a unit without flashing it?05:15
xobsfutarisIRCcloud: I suppose you could.  Load `top.bin` as a program, and "lsusb" ought to indicate that it's v1.3.05:15
xobsThe joys of having the program in the bitstream.05:16
futarisIRCcloud[24881.064119] usb 1-1.1: Product: Fomu Bootloader (0) v1.305:30
xobsLooks good to me!05:30
xobsThanks for checking on that.05:31
futarisIRCcloudNo problems. I guess if it's running as a program, and we try to upload, it'll overwrite itself...05:32
xobsThat's true, but since it's running from a virtual ROM in the bitstream, that's actually not so much an issue.05:33
futarisIRCcloudSeems to be enumerating fine.05:34
xobsThat's using a newer vexriscv which has, among other things, illegal instruction trapping.05:35
xobsLuxurious.05:35
futarisIRCcloudI re-enumerated them all the way round...05:41
futarisIRCcloud[25533.674198] usb 1-1: new high-speed USB device number 127 using xhci_hcd05:41
futarisIRCcloud[25533.830329] usb 1-1: New USB device found, idVendor=0409, idProduct=005a, bcdDevice= 1.0005:41
xobsThat looks like a hub?05:42
tntbtw, I found a "stress test" for my core was to run `lsusb -v -d 0409:005a`   100x in a loop as fast as possible. Found a couple of lockups that way ;)05:46
xobsFoboot seems to be able to handle it!05:52
xobsThough the USB Beagle locks up.05:52
tntlol06:00
tntxobs: you ran it as root (or with appropriate perms) ?  (else it doesn't re-do the controls xfer, it just used cached info)06:00
xobsYeah, ran it under "sudo".  I see the traffic now.  The Micropython instance had some trouble, though...06:01
futarisIRCcloudxobs: Yep. I was replugging the hub (with 4 FOMUs) all the way round... fomu enumerates about 80-90% of the time, but most times eventually comes up.06:03
xobsfutarisIRCcloud: I wonder why it doesn't enumerate...06:03
futarisIRCcloudxobs: Probably something in the hub.06:04
tntdo you properly stop responding to addr 0 when you get assigned one ?06:06
xobsGood thinking. I'll leave it doing "while true; do fomu-flash -r; sleep 0.6; if ! lsusb -d 1209:70b1; then echo "Didn't enumerate!"; break; fi; done" and see what happens.06:06
tntxobs: you need -v in there so it queries all attributes.06:07
tntoh wait nm, you're forcing re-enum with flash,06:07
xobstnt: I'm just making sure it enumerates at all.  The question I have is: does it successfully enumerate every time after it's reset.06:08
xobsIt ought to be deterministic.06:08
xobsBut you know how communication protocols are...06:08
tntyeah. If you have a hub you should throw one in there. I find that "root hubs" on the PC directly are much better behaved than what you get on a external hub with other stuff attached.06:09
futarisIRCcloudI've found that too.06:09
tnt(it's still valid USB, so it should work but it can highlight stuff)06:10
xobswtb cheap hub06:10
xobsBelkin will have to do.06:13
*** stv0g has joined #tomu07:43
*** stv0g has quit IRC07:48
*** stv0g has joined #tomu08:08
xobsMy network connection reset before the test failed.  So huzzah!09:17
*** stv0g1 has joined #tomu09:49
*** stv0g has quit IRC09:52
*** stv0g has joined #tomu10:19
*** stv0g1 has quit IRC10:22
*** stv0g1 has joined #tomu10:50
*** stv0g has quit IRC10:52
*** stv0g has joined #tomu11:20
*** stv0g1 has quit IRC11:22
*** rohitksingh_work has quit IRC11:45
*** stv0g1 has joined #tomu11:50
*** stv0g has quit IRC11:53
*** johnhmay has quit IRC12:09
*** _florent_ has quit IRC12:09
*** cangaroo has joined #tomu12:11
*** _florent_ has joined #tomu12:11
*** johnhmay has joined #tomu12:13
*** AmosSam has left #tomu12:14
*** AmosSam has joined #tomu12:15
*** stv0g has joined #tomu12:20
*** stv0g1 has quit IRC12:22
*** rohitksingh_work has joined #tomu12:31
*** stv0g1 has joined #tomu12:50
*** stv0g has quit IRC12:52
*** _florent_ has quit IRC13:22
*** _florent__ has joined #tomu13:22
*** rohitksingh_work has quit IRC13:24
*** AmosSam has left #tomu13:33
*** AmosSam has joined #tomu13:41
*** futarisIRCcloud has quit IRC14:09
*** rohitksingh has joined #tomu14:12
*** cangaroo has quit IRC14:20
*** AmosSam has left #tomu14:46
*** AmosSam has joined #tomu14:47
*** johnhmay has quit IRC17:39
*** johnhmay has joined #tomu17:39
*** stv0g1 has quit IRC18:22
*** rohitksingh has quit IRC18:47
*** stv0g has joined #tomu21:19
*** eddyb has quit IRC21:50
*** eddyb has joined #tomu21:50
*** eddyb has joined #tomu21:51
*** futarisIRCcloud has joined #tomu22:45

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