*** tpb has joined #timvideos | 00:00 | |
*** rohitksingh has joined #timvideos | 04:04 | |
*** paradisaeidae_ has joined #timvideos | 04:43 | |
*** sb0 has quit IRC | 05:00 | |
*** nueces has quit IRC | 05:04 | |
*** paradisaeidae_ has quit IRC | 05:05 | |
*** sb0 has joined #timvideos | 05:56 | |
mithro | paddatrapper: Ping? I only just got started on stuff now... | 07:44 |
---|---|---|
paddatrapper | mithro: pong | 07:44 |
mithro | paddatrapper: How are things going? | 07:44 |
paddatrapper | mithro: snowed under with work, but I want to spend some time today on the loopback | 07:45 |
mithro | rohitksingh: Ping? I found this today -> https://github.com/tinyfpga/TinyFPGA-B-Series/tree/master/bootloader/verilog -- it seems to be a "softusb" core for the lattice ice40 boards -- I'm assuming it is probably USB1.1 however.... | 07:46 |
tpb | Title: TinyFPGA-B-Series/bootloader/verilog at master · tinyfpga/TinyFPGA-B-Series · GitHub (at github.com) | 07:46 |
mithro | rohitksingh: It is verilog however (compared to that one which is VHDL -> http://jorisvr.nl/article/usb-serial) | 07:48 |
tpb | Title: USB data transfer in VHDL (at jorisvr.nl) | 07:48 |
rohitksingh | mithro: Thanks! looks interesting...I can definitely learn something some that code | 07:49 |
rohitksingh | looks very recent code | 07:50 |
rohitksingh | mithro: fantastic idea it is! :) Thanks for sharing it! http://tinyfpga.com/ | 07:52 |
tpb | Title: TinyFPGA (at tinyfpga.com) | 07:52 |
mithro | rohitksingh: Have you seen https://github.com/freecores/usb11_sim_model/blob/master/USB%20FS%20TestBench.pdf too? | 07:55 |
tpb | Title: usb11_sim_model/USB FS TestBench.pdf at master · freecores/usb11_sim_model · GitHub (at github.com) | 07:55 |
mithro | rohitksingh: It's a USB1.1 host testbench | 07:55 |
mithro | rohitksingh: I'm also just about to start working on getting sigrok to talk to litescope again... | 07:56 |
rohitksingh | mithro: Nope, hadn't seen that freecores document before. Its new to me. It is very resourceful though. Saving that it in my PC for future reference! | 07:58 |
rohitksingh | mithro: You said litescope already has support for sigrok? | 07:58 |
rohitksingh | or just waveform export? | 07:59 |
mithro | rohitksingh: Just writing dumping to sigrok compatible files | 07:59 |
rohitksingh | mithro: oh okay | 08:00 |
mithro | rohitksingh: But I want to be able to do capture/config/etc via sigrok | 08:01 |
rohitksingh | mithro: you mean virtual device emulation via litescope right? | 08:01 |
rohitksingh | sigrok would see litescope as a device, and can trigger, capture etc from it? | 08:02 |
mithro | paddatrapper: Okay - when do you think you'll want to do that? I'm trying to make it so that it is easy to look at the FX2 signals by making some FPGA firmware which attaches litescope to the FX2 pins on the Opsis -- you can then capture the signals via ethernet | 08:04 |
mithro | rohitksingh: Yes | 08:04 |
rohitksingh | mithro: nice! :) | 08:05 |
mithro | rohitksingh: Will hopefully be :-) | 08:08 |
paddatrapper | mithro: in about 2 hours | 08:29 |
paddatrapper | mithro: that sounds very useful! | 08:29 |
*** twoolie has joined #timvideos | 09:19 | |
Ishan_Bansal | mithro : ping | 09:26 |
mithro | Ishan_Bansal: pong | 09:26 |
Ishan_Bansal | mithro : Will you be able to review the pull request by today, as I am getting my exams started from the day after tomorrow so I want to merge this pull request by tomorrow. | 09:29 |
*** twoolie has quit IRC | 09:29 | |
mithro | Ishan_Bansal: I'm just trying to get some stuff ready for paddatrapper at the moment -- I'll try and look at it ASAP | 09:29 |
Ishan_Bansal | mithro : Np. | 09:30 |
mithro | Ishan_Bansal: I would like to get it merged ASAP | 09:30 |
mithro | Ishan_Bansal: we should complain to shenki, he's off camping while we are hear actually doing something useful :-P | 09:32 |
Ishan_Bansal | mithro : Also I add the documentation in the Adding_documentation branch in the litejpeg repository on my github, still require some changes. | 09:33 |
Ishan_Bansal | mithro : He must have to give us some special treat for this one :P | 09:33 |
mithro | Ishan_Bansal: one thing which will make it faster to review is to make sure that none of my comments from previous pull requests also apply to this CL | 09:33 |
mithro | be back in ~10-15 | 09:34 |
Ishan_Bansal | mithro : Although I make sure that thing, but still may be I can see once again. | 09:35 |
*** twoolie has joined #timvideos | 09:49 | |
paddatrapper | mithro: going to start working on it now | 10:03 |
mithro | Ishan_Bansal: What I mean is that check things like documentation & indentation and stuff | 10:03 |
mithro | paddatrapper: So, I think the first thing is to figure out how you want the pins on the FX2 to toggle | 10:04 |
paddatrapper | mithro: they're LOW active mostly | 10:04 |
mithro | paddatrapper: I mean, write out "X toggles low, then data appears on pins on port A, then X toggles high, then...." | 10:06 |
paddatrapper | mithro: https://docs.google.com/document/d/1EorbduvRUTyo7F9cKXOaUv8S_PKbAmPScTQEOOjun0I/edit?usp=sharing | 10:10 |
tpb | Title: FX2 FIFO Interface - Google Docs (at docs.google.com) | 10:10 |
paddatrapper | At the bottom | 10:10 |
mithro | paddatrapper: added some comments | 10:13 |
paddatrapper | mithro: The table above explains the registers | 10:14 |
mithro | paddatrapper: Okay - so where is the fx2 code for this? | 10:16 |
paddatrapper | mithro: https://github.com/timvideos/HDMI2USB-fx2-firmware/pull/43/files/b966f040cfb8a1fd02bde7ce45b5db3b34c61b3d#diff-745218551be25d42ef27d5b3f3610717R105 | 10:16 |
tpb | Title: WIP: Loopback Device by paddatrapper · Pull Request #43 · timvideos/HDMI2USB-fx2-firmware · GitHub (at github.com) | 10:16 |
paddatrapper | busy fixing it at the moment to be more like the doc and your comment | 10:17 |
mithro | okay | 10:17 |
mithro | ping me when you have done that | 10:17 |
paddatrapper | mithro: done | 10:34 |
mithro | paddatrapper: You don't seem to be sending the SKIP signal? | 10:43 |
paddatrapper | mithro: I am: https://github.com/timvideos/HDMI2USB-fx2-firmware/pull/43/files#diff-745218551be25d42ef27d5b3f3610717R130 | 10:44 |
tpb | Title: WIP: Loopback Device by paddatrapper · Pull Request #43 · timvideos/HDMI2USB-fx2-firmware · GitHub (at github.com) | 10:44 |
mithro | paddatrapper: Can you create some defines for that? | 10:51 |
paddatrapper | mithro: sure | 10:51 |
mithro | Should be something like | 10:52 |
mithro | EP8BCL = SKIP_FIFO | 10:52 |
mithro | Where "#define SKIP_FIFO bmBIT7 | 10:52 |
mithro | (bm == bitmask) | 10:52 |
*** twoolie has quit IRC | 10:54 | |
paddatrapper | mithro: I did it as SKIP(8), but can change to bit definition if you want | 10:56 |
mithro | paddatrapper: Yeah "SKIP(8)" would mean "skip 8 buffers" to me | 10:56 |
mithro | https://github.com/mithro/fx2lib/blob/master/include/eputils.h#L130-L131 | 10:57 |
tpb | Title: fx2lib/eputils.h at master · mithro/fx2lib · GitHub (at github.com) | 10:57 |
paddatrapper | mithro: fixed | 10:58 |
mithro | paddatrapper: The interrupts are enabled/disabled like so -> https://github.com/mithro/fx2lib/blob/master/include/autovector.h#L108-L109 | 11:00 |
tpb | Title: fx2lib/autovector.h at master · mithro/fx2lib · GitHub (at github.com) | 11:00 |
paddatrapper | mithro: but we aren't using the interrupts? | 11:01 |
mithro | paddatrapper: I wondered if there should be something like "COMMIT_ARM_EP8()" and "SKIP_ARM_EP8()" | 11:01 |
paddatrapper | mithro: ah I see | 11:01 |
paddatrapper | mithro: I've got to head out now. I'll be back in about 4 hours | 11:03 |
mithro | paddatrapper: I guess usart_send_byte_hex is enough of a "sleep" | 11:03 |
paddatrapper | mithro: can through more in, but I think so | 11:03 |
mithro | paddatrapper: I may be in bed at that time | 11:03 |
mithro | paddatrapper: Next step is to capture a trace of that output... | 11:03 |
mithro | paddatrapper: Actually, you should just be able to look at the uart data... | 11:03 |
paddatrapper | mithro: yeah. I'm using sigrock to track the control signals (address, clock, etc) and uart for the actual data | 11:05 |
*** ChanServ sets mode: +v thaytan_ | 13:43 | |
*** thaytan_ is now known as thaytan | 13:43 | |
*** thaytan has quit IRC | 14:12 | |
*** twoolie has joined #timvideos | 15:01 | |
*** twoolie has quit IRC | 16:37 | |
*** nueces has joined #timvideos | 16:44 | |
*** thaytan has joined #timvideos | 17:05 | |
*** ChanServ sets mode: +v thaytan | 17:05 | |
*** rohitksingh has quit IRC | 20:05 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!