*** tpb has joined #tomu | 00:00 | |
*** Guest88031 has quit IRC | 00:21 | |
*** craigo has quit IRC | 00:22 | |
*** CarlFK has quit IRC | 00:27 | |
*** craigo has joined #tomu | 01:30 | |
*** awe00 has quit IRC | 02:33 | |
*** craigo has quit IRC | 02:41 | |
*** CarlFK has joined #tomu | 03:14 | |
*** CarlFK has quit IRC | 07:03 | |
*** ssb has quit IRC | 07:36 | |
MadHacker | hinzundcode: Run VGA a little slower than spec at 24MHz, divide by 2 to produce a 12MHz for the USB core? | 07:41 |
---|---|---|
xobs | hinzundcode: cool! nice job :) | 07:54 |
xobs | You could try flopping a 48 MHz signal to produce the 12 MHz domain for USB. It's not great, but it could work. | 07:54 |
MadHacker | Sadly I think he's gone, I posted before I realised. | 07:54 |
MadHacker | Still cool, though. :) | 07:55 |
*** ssb has joined #tomu | 07:58 | |
*** hinzundcode has joined #tomu | 08:07 | |
xobs | hinzundcode: cool! nice job :) | 08:08 |
xobs | You could try flopping a 48 MHz signal to produce the 12 MHz domain for USB. It's not great, but it could work. | 08:08 |
MadHacker | hinzundcode: Run VGA a little slower than spec at 24MHz, divide by 2 to produce a 12MHz for the USB core? | 08:08 |
MadHacker | (as another option) | 08:08 |
MadHacker | VGA's tolerance should be plenty to allow that. | 08:08 |
hinzundcode | MadHacker: I tried running it at 24MHz and 12MHz, but i always had visual glitches | 08:08 |
MadHacker | That's surprising. I know on a CRT that works rock-solid, but I'd have expected it to be OK on an LCD as long as your front/back porch times are reasonable. | 08:09 |
xobs | An earlier version of foboot didn't use a PLL, and instead flopped the outputs for the 12 MHz domain. It's the whole reason Fomu uses a 48 MHz crystal. You tend to get synchronization issues when the FPGA becomes 99% loaded, though. | 08:09 |
xobs | Perhaps it'll work better with the more efficient CDC that Valentyusb has now, too. | 08:10 |
hinzundcode | xobs: thank you :) I changed the clock resource generator used in litex and replaced the pll with a simple clock divider. and usb still works :D | 08:10 |
hinzundcode | my goal is to write to the framebuffer using wishbone-tool | 08:11 |
hinzundcode | makes it a really simple usb graphics card ^^ | 08:11 |
xobs | Cool! | 08:11 |
MadHacker | :) | 08:11 |
*** ssb has quit IRC | 08:20 | |
*** ssb has joined #tomu | 08:37 | |
*** awe00 has joined #tomu | 08:44 | |
*** ssb has quit IRC | 09:00 | |
*** nurelin has quit IRC | 09:00 | |
*** ssb has joined #tomu | 09:00 | |
*** hinzundcode has quit IRC | 09:05 | |
*** st-gourichon-fid has quit IRC | 09:51 | |
*** johnhmay has quit IRC | 10:14 | |
*** thepatr1ck has quit IRC | 10:14 | |
*** lathiat has quit IRC | 10:15 | |
*** englishm has quit IRC | 10:15 | |
*** thepatr1ck has joined #tomu | 10:15 | |
*** johnhmay has joined #tomu | 10:15 | |
*** lathiat has joined #tomu | 10:15 | |
*** englishm has joined #tomu | 10:16 | |
*** CarlFK has joined #tomu | 10:17 | |
*** awe00_ has joined #tomu | 10:19 | |
*** awe00 has quit IRC | 10:21 | |
*** tannewt has quit IRC | 10:48 | |
*** y2kbugger has quit IRC | 10:48 | |
*** ovf has quit IRC | 10:49 | |
*** eddyb[legacy] has quit IRC | 10:51 | |
*** elms has quit IRC | 10:51 | |
*** esden has quit IRC | 10:51 | |
*** eddyb[legacy] has joined #tomu | 10:59 | |
*** esden has joined #tomu | 11:00 | |
*** y2kbugger has joined #tomu | 11:00 | |
*** elms has joined #tomu | 11:01 | |
*** tannewt has joined #tomu | 11:01 | |
*** ovf has joined #tomu | 11:02 | |
*** st-gourichon-fid has joined #tomu | 11:40 | |
*** acathla has quit IRC | 12:33 | |
*** hinzundcode has joined #tomu | 12:43 | |
*** acathla has joined #tomu | 12:49 | |
hinzundcode | is it possible to access the wishbone bus over usb from within python? spawning wishbone-tool as a child process works but writing every single byte using a new process takes a looong time | 12:55 |
xobs | Yes, but as I'm not so familiar with Python I can only point you in the right direction. | 12:56 |
*** alexhw has quit IRC | 12:58 | |
xobs | Probably the easiest way to do it would be to run `wishbone-tool` in "wishbone server mode" (`wishbone-tool -s wishbone`), then connect to it using `litex_client`. | 12:58 |
*** acathla has quit IRC | 12:58 | |
*** acathla has joined #tomu | 12:58 | |
xobs | That's located in `litex.tools.litex_client` in https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_client.py | 12:58 |
tpb | Title: litex/litex_client.py at master · enjoy-digital/litex · GitHub (at github.com) | 12:58 |
xobs | (You also can run a wishbone server entirely in Python, if you prefer) | 12:59 |
hinzundcode | thank you :) | 13:01 |
*** alexhw has joined #tomu | 13:02 | |
hinzundcode | I ended up using CommUSB from litex.tools directly. works like charm :) | 14:07 |
*** im-tomu has left #tomu | 14:08 | |
*** im-tomu has joined #tomu | 14:08 | |
*** hinzundcode has quit IRC | 16:55 | |
*** CarlFK1 has joined #tomu | 20:22 | |
*** CarlFK has quit IRC | 20:25 | |
*** awe00 has joined #tomu | 20:30 | |
*** ssb has quit IRC | 20:31 | |
*** awe00_ has quit IRC | 20:32 | |
*** ssb has joined #tomu | 20:43 | |
*** ssb has quit IRC | 20:53 | |
*** ssb has joined #tomu | 21:20 | |
*** ssb has quit IRC | 22:41 | |
*** awe00 has quit IRC | 22:45 | |
*** awe00 has joined #tomu | 22:56 | |
*** awe00 has quit IRC | 23:26 | |
*** ssb has joined #tomu | 23:43 | |
*** ssb has quit IRC | 23:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!