*** tpb has joined #timvideos | 00:00 | |
mithro | CarlFK: you want to watch the FX2 reset line while the fx2_reboot command occurs | 02:03 |
---|---|---|
mithro | CarlFK: it should go low then high | 02:03 |
mithro | CarlFK: I have test patterns at https://github.com/timvideos/test-patterns | 02:07 |
tpb | Title: GitHub - timvideos/test-patterns: Test patterns for debugging video problems. (at github.com) | 02:07 |
CarlFK | mithro: k3 2 is high. how long should it stay low when reset? | 02:22 |
mithro | CarlFK: for the entire period that it says "turning FX2 off, turning it on" | 02:22 |
CarlFK | k | 02:22 |
mithro | CarlFK: obviously it isn't doing that, because otherwise you wouldn't see the turning it on bit | 02:23 |
CarlFK | mithro: scope hooked to 2, we don't see anything on the scope when I do this: | 02:37 |
CarlFK | HDMI2USB>debug fx2_reboot usbjtag | 02:37 |
CarlFK | fx2: Turning off. | 02:37 |
CarlFK | fx2: Turning on. | 02:37 |
mithro | CarlFK: Did you keep the jumper connected? | 02:38 |
CarlFK | no | 02:38 |
mithro | CarlFK: the two pins still need to be connected | 02:38 |
CarlFK | mithro: I did see a short drop | 02:42 |
mithro | CarlFK: picture? | 02:42 |
mithro | How much did it drop? Did it drop to zero? | 02:42 |
CarlFK | "no" "but this scope is really crappy so you have to...." fiddling... | 02:45 |
CarlFK | "it gets to 2 v" | 02:47 |
CarlFK | "the reset is close to 50 us" | 02:48 |
CarlFK | (microseconds) | 02:48 |
mithro | CarlFK: It needs to get to under 1v | 02:49 |
mithro | So, I guess we aren't holding it low for long enough | 02:50 |
CarlFK | pic coming... | 02:50 |
CarlFK | "yes" | 02:50 |
CarlFK | https://plus.google.com/photos/photo/101817321389198875733/6265445684643536690?sqid=111984976401772983232&ssid=ff38058e-1d22-4e7c-95d2-f514dceaa6e3 | 02:51 |
tpb | Title: Google+ (at plus.google.com) | 02:51 |
mithro | That scope actually has pretty good support for capturing under Linux | 02:52 |
mithro | CarlFK: and you log a github issue about this with that picture attached? | 02:56 |
mithro | CarlFK: although it would be better if you had 0V and 3.3V measured | 02:57 |
CarlFK | mithro: better if I what? | 02:57 |
mithro | CarlFK: the oscilliscope picture | 02:58 |
CarlFK | mithro: this is what I get when I hit the reset button | 03:01 |
CarlFK | https://plus.google.com/photos/photo/101817321389198875733/6265448188920748098?sqid=111984976401772983232&ssid=ff38058e-1d22-4e7c-95d2-f514dceaa6e3 | 03:01 |
tpb | Title: Google+ (at plus.google.com) | 03:01 |
CarlFK | hmm, same url? | 03:01 |
CarlFK | correct pic, so pft | 03:02 |
CarlFK | where reset button is the white button on the board labeled sw1 | 03:03 |
mithro | CarlFK: that looks right? | 03:04 |
CarlFK | yes | 03:04 |
CarlFK | hitting the case button that is hooked to those headers... does not look right.. | 03:05 |
CarlFK | click, posting... | 03:06 |
mithro | CarlFK: What do you mean? | 03:06 |
CarlFK | https://plus.google.com/photos/photo/101817321389198875733/6265449685673866226?sqid=111984976401772983232&ssid=ff38058e-1d22-4e7c-95d2-f514dceaa6e3 | 03:06 |
tpb | Title: Google+ (at plus.google.com) | 03:06 |
mithro | CarlFK: where have you connected the case button too? | 03:09 |
mithro | CarlFK: and can you measure the resistance of the case button | 03:09 |
CarlFK | case switch is on 5,7 of P14 | 03:12 |
mithro | Are you with someone who can read schematics? | 03:15 |
mithro | Show them the schematic | 03:15 |
mithro | Also try shorting the pins with a screw driver rather then the switch | 03:17 |
mithro | Also see what the voltage on them is when not shorted | 03:17 |
CarlFK | case switch is .4 ohm | 03:19 |
*** panther has joined #timvideos | 03:19 | |
*** panther is now known as sab_123 | 03:20 | |
mithro | That is good, what we expected | 03:25 |
mithro | CarlFK: can you log the bug so I can link it in the fix? | 03:38 |
CarlFK | mithro: 3v across the 5,7 of P14 (what I have the case switch hooked to) | 03:39 |
CarlFK | mithro: what repo should I log the bug under? | 03:39 |
mithro | CarlFK: The HDMI2USB-misoc-firmware repo | 03:42 |
mithro | CarlFK: so.... | 03:55 |
CarlFK | mithro: entering now.. do I need a description? | 03:56 |
mithro | CarlFK: yes | 03:56 |
CarlFK | mithro: fx2: Turning on. happens so fast the signal never drops low enough. | 03:57 |
CarlFK | right ? | 03:57 |
mithro | CarlFK: FX2 doesn't reboot during the fx2_reboot command, this appears to be because the reset line doesn't appear to drop low enough | 03:57 |
mithro | or something like that | 03:57 |
CarlFK | https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/221 | 03:59 |
mithro | CarlFK: did you attach the picture? | 03:59 |
CarlFK | attached | 04:03 |
mithro | CarlFK: thanks, fix incoming | 04:04 |
CarlFK | 11pm. I need to get to the store, then home, then I can try to figure out how to flash | 04:06 |
*** CarlFK has quit IRC | 04:19 | |
*** CarlFK has joined #timvideos | 04:48 | |
*** ChanServ sets mode: +v CarlFK | 04:48 | |
CarlFK | mithro: I'm home, but need to get to bed soon. | 04:52 |
mithro | CarlFK: btw, it's a 4 day weekend here in Australia (we get both Friday and Monday as public holidays) | 04:52 |
mithro | CarlFK: so it is a good chance to get a bunch of HDMI2USB hacking done | 04:53 |
CarlFK | mithro: the only time I have been able to flash my Opsis is by accidentally getting it into the mode by doing something on power up | 04:53 |
mithro | CarlFK: oh, you can remove one of the jumpers near the FX2 to get it into "fallback mode" which is an easy way to replicate that | 04:53 |
CarlFK | k - and I get a different usb id, right ? | 04:54 |
mithro | CarlFK: or you could use the scripts I pointed out... | 04:54 |
CarlFK | I tried your script (one) | 04:54 |
mithro | CarlFK: this one -> https://github.com/mithro/HDMI2USB-mode-switch/blob/opsis-prod/opsis-flash.sh | 04:55 |
tpb | Title: HDMI2USB-mode-switch/opsis-flash.sh at opsis-prod · mithro/HDMI2USB-mode-switch · GitHub (at github.com) | 04:55 |
mithro | CarlFK: you made sure you were on the opsis-prod branch right? | 04:55 |
CarlFK | it wasn't that one. it was a 600 line .py | 04:55 |
mithro | CarlFK: no idea what you are talking about then? :P | 05:01 |
mithro | CarlFK: you probably don't want the first two lines of that script (the eeprom programming bit) | 05:01 |
mithro | CarlFK: deeprave and micolous also know how to flash an Opsis | 05:01 |
mithro | but they haven't really been around much lately.... | 05:02 |
mithro | :( | 05:02 |
CarlFK | mithro: might have been 200 lines. hdmi2usb-mode-switch.py looks familiar. | 05:02 |
sab_123 | mithro: have you seenSDCC giving worng line numbers | 05:09 |
sab_123 | mithro, I am using the triple spark | 05:09 |
sab_123 | mithro, there seems to be something funny | 05:09 |
mithro | triple spark? | 05:10 |
sab_123 | let me create github repo | 05:10 |
CarlFK | mithro: for my box of stuff in a case I need a system to stream usb->gigE. any suggestions on either pi sized things or a rack mount i7 ? | 05:14 |
mithro | CarlFK: the C3VOC guys probably have some good suggestions | 05:15 |
mithro | CarlFK: I'd recommend getting something which has USB3.0 and GigE | 05:15 |
CarlFK | usb3, good idea. | 05:16 |
mithro | I mean, it is hard not to get something which is USB 3.0 these days | 05:16 |
mithro | Unless you go embedded hardware | 05:16 |
CarlFK | mithro: I am leaning twards the higher end so that I have another box to do encoding, like for streaming | 05:16 |
mithro | CarlFK: yeah, MaZderMind had some cool little things he called "minions" | 05:17 |
CarlFK | they are not rack mount | 05:17 |
CarlFK | they are like mac minis. | 05:17 |
CarlFK | I'll do some shopping in the next week or so. | 05:20 |
mithro | CarlFK: yeah, but I was wondering if they could come in rack-mount versions | 05:20 |
mithro | CarlFK: They might be mini-itx boards inside the case? | 05:20 |
mithro | CarlFK: dunno much about them | 05:20 |
CarlFK | mithro: now I am off to bed. See ya in 8 hours | 05:23 |
mithro | CarlFK: okay | 05:23 |
*** rohitksingh has joined #timvideos | 05:42 | |
mithro | hey rohitksingh | 05:47 |
*** vikram9866 has joined #timvideos | 05:51 | |
rohitksingh | mithro: hi! :) I saw your comments on pull-request! fixing them | 06:00 |
mithro | rohitksingh: Thanks! | 06:00 |
mithro | rohitksingh: I saw that Carl had it working | 06:00 |
mithro | ? | 06:00 |
rohitksingh | mithro: yeah, yesterday | 06:00 |
mithro | Be back in an hour | 06:03 |
rohitksingh | okay! I'll be here only | 06:03 |
*** tija has joined #timvideos | 06:30 | |
*** Bertl_zZ is now known as Bertl | 06:54 | |
mithro | I'm back now, but I might have to disappear at any time | 07:03 |
mithro | hey tija and Bertl | 07:03 |
tija | mithro: Hi! | 07:03 |
mithro | Bertl: We have a 4 day weekend here for easter, so I plan to finish off the TOFE<->AXIOM adapter | 07:03 |
*** vikram9866 has quit IRC | 07:10 | |
mithro | rohitksingh: we should get your stuff merged ASAP | 07:14 |
mithro | btw - GSoC students - make sure you have submitted your PDF version before the deadline, otherwise you can't be accepted into GSoC at all | 07:15 |
*** Neuron1k has quit IRC | 07:28 | |
*** se6astian|away is now known as se6astian | 08:29 | |
*** fumblehool has joined #timvideos | 08:42 | |
*** se6astian is now known as se6astian|away | 09:14 | |
*** se6astian|away is now known as se6astian | 09:17 | |
*** kflux has joined #timvideos | 09:17 | |
*** se6astian is now known as se6astian|away | 09:20 | |
*** se6astian|away is now known as se6astian | 09:25 | |
*** ssk1328 has joined #timvideos | 09:48 | |
*** ssk1328_ has joined #timvideos | 10:09 | |
ssk1328_ | Will the selected GSoC students be provided with Opsis board after the results are announced. | 10:09 |
*** ssk1328 has quit IRC | 10:09 | |
*** madara has joined #timvideos | 10:13 | |
ssk1328_ | Also I would like to inform that i am doing some final additions in the proposal and will notify you for a review once it is complete content wise. | 10:13 |
madara | hello,I was going through the idea list of Timvideos and under that I found HDMI2USB interesting.I have a small doubt in that,should we propose hardware idea or software idea for the development ? | 10:15 |
mithro | ssk1328_: It is unclear at the moment, I think we might wait until after the mid-term evaluation | 10:17 |
mithro | madara: There should be a large coding component of your project | 10:18 |
mithro | madara: but it can include hardware development | 10:18 |
madara | okay thanks :) | 10:19 |
*** ssk1328 has joined #timvideos | 10:20 | |
*** ssk1328_ has quit IRC | 10:22 | |
ssk1328 | mithro: So before midterm I can develop on any FPGA of choice? I can get hold of Spartan3E or Virtex5, will that be Ok? Otherwise I can myself pay to get Spartan6 FPGA board. | 10:22 |
mithro | ssk1328: Depends on the project, most of the stuff can be done without hardware | 10:23 |
mithro | ssk1328: Where you the hardware mixing one? | 10:23 |
ssk1328 | Yeah | 10:23 |
ssk1328 | Ok so if the code is synthesizable and works in simulation than we can safely assume it will work with hardware as well. | 10:24 |
*** ssk1328_ has joined #timvideos | 10:25 | |
*** madara has left #timvideos | 10:28 | |
mithro | ssk1328: you can't assume that, but it is a good start | 10:29 |
ssk1328 | But the final demostration with HDMI in and out can be done only with Opsis board, as other board might not have so many HDMI interfaces. | 10:32 |
mithro | ssk1328: correct | 10:32 |
ssk1328 | Can I somehow purchase Opsis board right now? I mean is available for selling? | 10:34 |
ssk1328 | *is it | 10:34 |
mithro | ssk1328: yes, you can purchase from crowdsupply, but if you wait a couple of weeks it should be avaliable from the Numato website too | 10:39 |
mithro | ssk1328: https://crowdsupply.com/numato-lab/opsis | 10:40 |
tpb | Title: Numato Opsis: FPGA-based open video platform | Crowd Supply (at crowdsupply.com) | 10:40 |
mithro | --> Students must submit a Final PDF proposal before the deadline or your org will not be able to select them as a student. Students without Final PDF proposals cannot be accepted, and there will be no exceptions. | 10:41 |
ssk1328 | mithro: Thats great. So I will myself purchase the board, when GSoC result are declared. | 10:41 |
*** fumblehool has quit IRC | 11:28 | |
*** se6astian is now known as se6astian|away | 11:52 | |
*** vikram9866 has joined #timvideos | 12:09 | |
*** vikram9866 has left #timvideos | 12:10 | |
*** Bertl is now known as Bertl_oO | 12:52 | |
*** panther has joined #timvideos | 13:08 | |
*** sab_123 has quit IRC | 13:08 | |
CarlFK | mithro: | 13:47 |
CarlFK | mithro: print("Programming...", end="") | 13:48 |
mithro | ? | 13:48 |
CarlFK | guessing it needs py v3 | 13:48 |
mithro | Yes | 13:48 |
mithro | You probably want to use a the setup script | 13:48 |
CarlFK | bb in 10 min | 13:49 |
mithro | At least until you get it working once | 13:49 |
mithro | It is almost 1am here to | 13:49 |
CarlFK | back | 13:55 |
CarlFK | mithro: import usb.core | 13:59 |
CarlFK | ImportError: No module named 'usb' | 13:59 |
CarlFK | mithro: what do you mean: use a the setup script ? | 14:00 |
mithro | Did you close the repo? | 14:13 |
mithro | s/close/clone/ | 14:13 |
CarlFK | yes | 14:13 |
mithro | CarlFK: in the repo, is there something which might look like a setup script? | 14:15 |
CarlFK | mithro: not that I can see. | 14:18 |
*** tija has quit IRC | 14:18 | |
mithro | ls *setup* | 14:20 |
CarlFK | opsis-setup.sh | 14:21 |
CarlFK | oh, I thought that was what I was trying to run... | 14:22 |
CarlFK | opsis-flash.sh | 14:22 |
CarlFK | yeah, I am not running this.... | 14:22 |
CarlFK | # Temporary hack for Anoop's broken machine | 14:22 |
CarlFK | sudo rm -f /var/lib/apt/lists/dl.google.com_linux_* | 14:22 |
CarlFK | sudo apt-get install inkscape ?! | 14:23 |
CarlFK | 14:23 | |
CarlFK | not that I mind inkscape, but why is this installing it? | 14:23 |
mithro | CarlFK: inkscape is used to generate the barcodes | 14:26 |
mithro | CarlFK: as I mentioned that repo needs a huge clean up | 14:29 |
mithro | CarlFK: I've already extracted the EEPROM stuff mostly into https://github.com/timvideos/HDMI2USB-TOFE-eeprom-tools | 14:30 |
tpb | Title: GitHub - timvideos/HDMI2USB-TOFE-eeprom-tools: Tools for generating and parsing the EEROM found on TOFE boards. (at github.com) | 14:30 |
CarlFK | mithro: any hints on what jumper will let me flash it? | 14:35 |
mithro | CarlFK: no jumper will let you flash, there is a jumper which will prevent the HDMI2USB fx2 firmware from being loaded | 14:35 |
mithro | CarlFK: the one marked something like SDA | 14:36 |
CarlFK | mithro: I see 4 sets of jumper headers - none like SDA | 14:39 |
mithro | CarlFK: look at the schematic, its the one which connects the I2C line to the Cypress from the FPGA | 14:39 |
mithro | CarlFK: but if you want to replicate the way I've flashed and Opsis, you should go down the mode-switch route | 14:40 |
CarlFK | mithro: Numato-Opsis-v3-prod-3-g83e7bd5.pdf - ^f find i2c "Not Found" | 14:44 |
mithro | CarlFK: I2C has two signals, SDA and SCK (or something similar to that) | 14:45 |
CarlFK | your way i might run on a test box if I get desperate | 14:45 |
CarlFK | 11 SDA, 1 SCK but it is on micro_sd so I am guessing that isn't it | 14:47 |
CarlFK | mithro: I found TCK under JTAG - is that it? | 15:03 |
mithro | CarlFK: nope, are you looking at the USB sheet? | 15:03 |
CarlFK | mithro: u1-sda - mac-sda ... next to SCL | 15:08 |
CarlFK | conn_2 p18 | 15:08 |
mithro | Yeah | 15:09 |
mithro | That will disconnect the FPGA / EEPROM from the Cypress so it will come up in the fail safe mode | 15:09 |
mithro | CarlFK: https://opsis.hdmi2usb.tv/features/usb-peripheral.html | 15:09 |
CarlFK | mithro: LOL - Location of JFX2-RST / PXX Jumper XXXXXX | 15:11 |
CarlFK | apparently it is a secret. | 15:12 |
mithro | CarlFK: I didn't have the production board when that was written | 15:12 |
*** kflux has quit IRC | 15:14 | |
*** sb0 has quit IRC | 15:14 | |
mithro | I need to head to bed | 15:15 |
CarlFK | mithro: JFX2-RST lable is between two sets of pins | 15:15 |
CarlFK | mithro: 3 pins that I had the scope hooked to, and 5 pins "usb or jtag" | 15:16 |
CarlFK | mithro: oh wait.. is this it? "JFX2-SDA1 / P18 is labelled on the board with both JFX2-SDA1 and P18. JFX2-SDA1 / P18 is a 2 pin header. It can be found just north-east from the Cypress FX2 IC. " | 15:18 |
CarlFK | I see that | 15:18 |
*** kflux has joined #timvideos | 15:26 | |
*** sb0 has joined #timvideos | 15:26 | |
*** Bertl_oO is now known as Bertl | 15:27 | |
*** thaytan has quit IRC | 16:10 | |
*** thaytan has joined #timvideos | 16:13 | |
*** ChanServ sets mode: +v thaytan | 16:13 | |
*** rohitksingh has quit IRC | 16:27 | |
*** ssk1328_ has quit IRC | 16:29 | |
*** ssk1328 has quit IRC | 16:29 | |
*** panther has quit IRC | 16:31 | |
*** rohitksingh has joined #timvideos | 16:42 | |
*** rohitksingh has quit IRC | 17:18 | |
*** rohitksingh has joined #timvideos | 17:34 | |
*** Neuron1k has joined #timvideos | 18:25 | |
*** rohitksingh has quit IRC | 19:25 | |
*** rohitksingh has joined #timvideos | 19:25 | |
*** rohitksingh has quit IRC | 20:35 | |
*** kflux has quit IRC | 21:06 | |
*** Sewar has quit IRC | 21:34 | |
*** Niharika has quit IRC | 21:35 | |
*** hyades_zombie has quit IRC | 21:35 | |
*** Niharika has joined #timvideos | 21:38 | |
*** Sewar has joined #timvideos | 21:42 | |
*** hyades_zombie has joined #timvideos | 21:42 | |
*** Bertl is now known as Bertl_zZ | 23:08 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!