Thursday, 2017-06-08

*** tpb has joined #timvideos00:00
*** rohitksingh_work has joined #timvideos02:55
mithropaddatrapper: Good to hear you got it working!03:26
mithropaddatrapper: ping?06:29
paddatrappermithro: pong06:29
mithropaddatrapper: I'm feeling a bit unwell, so we might need to skip the VC meeting today06:30
paddatrappermithro: ok no problem. Hope you feel better soon06:31
mithroWe should go through how things are going and where you are at though, you okay with doing it on IRC?06:31
mithroExamples of other student blogs are06:32
mithro * https://shashankgangrade.wordpress.com06:32
mithro *
tpbTitle: 2014 | Dreams eXtrinsic (at
mithropaddatrapper: Sounds like you got the serial port working and wireshark?06:35
*** sb0 has joined #timvideos06:35
paddatrappermithro: Yup all working. The only thing I didn't get to was flashing the FX2 as a Saleae logic analyser06:36
paddatrappermithro: Shall I add the serial info to the docs?06:38
mithropaddatrapper: You should add an example serial test firmware to the fx2 firmware I think? With info on how to reproduce it06:39
paddatrappermithro: I don't follow? My serial test firmware was the standard firmware in the master branch06:39
mithropaddatrapper: It would be good to have a simple test firmware that other people can test with when getting started06:40
mithropaddatrapper: IE It would have been easier for you to get it working if things were simpler, right?06:41
mithropaddatrapper: And had some docs with the wiring needed06:41
paddatrapperI found the problem I had was 1) never used USART before 2) lack of pinout descriptions. The firmware side was pretty simple (make fx2-load), but firmware with constant known serial output would be helpful06:42
mithropaddatrapper: Yeah06:42
mithropaddatrapper: So, lets take the time to fix thoses so the next time someone needs to do this it is easier06:43
paddatrappermithro: Ok will do then. Shall I do it as a branch or a Makefile option? (make fx2-serial or something)06:44
mithroI think it should probably just be a new firmware directory in the repo?06:44
tpbTitle: GitHub - timvideos/HDMI2USB-fx2-firmware: HDMI2USB firmware for the Cypress FX2 found on the Digilent Atlys and Numato Opsis boards. (at
paddatrappercool, that would work well06:45
mithropaddatrapper: Did we end up with a simple firmware which flashes LEDs?06:47
paddatrappermithro: I think there's one in the example directory of the fx2lib, haven't tried loading it though06:47
mithropaddatrapper: That would probably be good to have in that repo as well06:48
paddatrappermithro: yeah makes testing that you can load firmware, etc easier06:48
paddatrappermithro: I'll be back in an hour. Got a lecture now06:50
mithropaddatrapper: Okay06:50
*** Ishan_Bansal has joined #timvideos06:54
mithroMorning Ishan_Bansal06:54
mithroIshan_Bansal: Did you want to try IRCCloud rather than the crappy Freenode web gateware?06:55
Ishan_Bansalmithro: Hi06:55
Ishan_Bansalmithro : Till now I think I don't found any problem with freenode web gateware06:57
mithroIshan_Bansal: It's okay for limited usage, but you get disconnected if you accidently reload the page and stuff like that06:57
Ishan_Bansalya, for that I use this :
mithroIshan_Bansal: We also have logs at
mithroIshan_Bansal: IRCCloud also has a nice mobile client - but if you are happy to continue using the web gateware, that is fine06:59
Ishan_Bansalhm , I think for now I am fine with the gateware:)07:01
mithroIshan_Bansal: You might want to look at the floating point stuff that a previous student did ->
tpbTitle: litevideo/litevideo/float_arithmetic at master · enjoy-digital/litevideo · GitHub (at
mithroIshan_Bansal: and
tpbTitle: Design Document on 16bit Floating Point - Google Docs (at
Ishan_Bansalmithro : surely I will go through them by tonight07:12
mithroIshan_Bansal: No hurry, I'm not 100% sure they will be super useful for you07:12
Ishan_Bansalmithro : Also mithro their is a line in the '' line 52.07:16
Ishan_BansalIt doesn't stop like something going in an infinite loop.07:16
Ishan_BansalI stuck with it for the last two days but not able to figue out the reason, on closing the code in between and running the dct.vcd so formed all the things seems fine to me07:18
mithroDid you find and ?07:18
tpbTitle: migen/simulation.rst at master · m-labs/migen · GitHub (at
Ishan_BansalYa , I go through them before, but not able to find the answer07:20
mithroIshan_Bansal: There is also which can be used as an example...07:20
tpbTitle: litevideo/ at master · enjoy-digital/litevideo · GitHub (at
mithroIshan_Bansal: Does work for you?07:22
tpbTitle: litevideo/ at master · enjoy-digital/litevideo · GitHub (at
Ishan_BansalYes this works for me.07:23
Ishan_BansalI also compare the code and .vcd of both of them, but still not able to figure out what is the problem.07:24
mithroIshan_Bansal: So your test gets stuck in an infinite loop?07:24
paddatrappermithro: I'm back. Joys of group work and no group...07:25
Ishan_BansalIf you see the dct.vcd if seems that all the outputs come in the logger and get their final value in steady position but their is something that needs to stop after that07:26
mithroIshan_Bansal: Does the zigzag module take a ("data", 24) ?07:27
Ishan_Bansalmithro : Does we have any function that is able to kill the stimulations after a certain number of clock cycles ? I think that solves the problem.07:28
mithroIshan_Bansal: So, your zigzag module takes 12bit data it seems?07:29
mithroIshan_Bansal: I'm not sure what happens when the data sizes don't match....07:30
Ishan_BansalIt is not a major problem, it will just add extra zeros at the remainig bits07:31
mithroIshan_Bansal: Can you also try moving the packet=Packet(xxxx) inside the for i in range(4) loop?07:32
mithroIshan_Bansal: Which branch should I be looking at?07:34
Ishan_BansalIt still give the same result07:35
mithroIshan_Bansal: Why is everything inside a litejpeg directory?07:36
Ishan_Bansalmithro : As I want to use the same format what enjoydigital used for the RGB2YCbCr so thats why I use to work with the repository07:39
mithroIshan_Bansal: Enjoy-Digital's litejpeg is at the top level...
tpbTitle: GitHub - enjoy-digital/litejpeg: Small footprint and configurable JPEG encoder and decoder (WIP) (at
tpbTitle: Snippet | IRCCloud (at
mithroIshan_Bansal: I'm on 3062ffd667aad1b80ed4f2fcf75b89c074e9ffb407:41
Ishan_Bansalmithro : The output which you show is of zigzag, I am talking about dct for the problem of infinite loop07:44
mithroWhich test should I be running?07:44 : ''07:45
tpbTitle: Snippet | IRCCloud (at
mithroIshan_Bansal: That is what happens for you?07:46
mithroOkay, at least I can reproduce it :-)07:47
mithroIshan_Bansal: sb0 and others in #m-labs channel might be able to help (sb0 wrote the migen simulator) - it's probably something really simple that we are both missing :-)07:49
Ishan_Bansalok, that sounds good. I will try to talk to them.07:53
mithroIshan_Bansal: I've hit similar things before - the simulator isn't great and giving you good feedback when you do something silly07:57
*** f15h has joined #timvideos08:05
Ishan_Bansalmithro :I have made a message to #m-labs hoping for a quick response08:07
Ishan_Bansalmithro : going for lunch back in an hour.08:07
mithroIshan_Bansal: Okay, enjoy your lunch08:08
*** f15h has quit IRC08:09
mithropaddatrapper: It sounds like you got wireshark working with usb capture?08:21
mithroIt would be good to write up a short doc about how you did it and how it works08:23
mithroDoes the Logitech camera you got have inbuilt audio?08:24
*** rohitksingh_wor1 has joined #timvideos10:24
*** rohitksingh_work has quit IRC10:27
*** Ishan_Bansal has quit IRC11:14
*** Ishan_Bansal has joined #timvideos11:32
*** rohitksingh_wor1 has quit IRC11:51
*** Ishan_Bansal has quit IRC12:14
*** rohitksingh has joined #timvideos12:38
*** Signotheque has quit IRC14:06
*** rk[ghost] has joined #timvideos15:15
paddatrappermithro: ok will do. Yes it does and in fact it arrived today. Haven't been home to look at it yet15:54
*** tsglove has quit IRC17:05
*** tsglove has joined #timvideos17:10
*** rohitksingh has quit IRC17:39
*** Ishan_Bansal has joined #timvideos18:02
*** tpb has joined #timvideos20:01
*** Ishan_Bansal has quit IRC20:01
*** tumbleweed has quit IRC20:33
*** tumbleweed has joined #timvideos20:33
*** tumbleweed has quit IRC20:33
*** tumbleweed has joined #timvideos20:33
*** puck`` has quit IRC21:25
*** puck`` has joined #timvideos21:26

Generated by 2.13.1 by Marius Gedminas - find it at!