#timvideos

/

      • rohitksingh_work joined the channel
      • mithro
        paddatrapper: Good to hear you got it working!
      • paddatrapper: ping?
      • paddatrapper
        mithro: pong
      • mithro
        paddatrapper: I'm feeling a bit unwell, so we might need to skip the VC meeting today
      • paddatrapper
        mithro: ok no problem. Hope you feel better soon
      • mithro
        We should go through how things are going and where you are at though, you okay with doing it on IRC?
      • Examples of other student blogs are
      • tpb
        Title: 2014 | Dreams eXtrinsic (at dreamsxtrinsic.blogspot.com.au)
      • mithro
        paddatrapper: Sounds like you got the serial port working and wireshark?
      • sb0 joined the channel
      • paddatrapper
        mithro: Yup all working. The only thing I didn't get to was flashing the FX2 as a Saleae logic analyser
      • mithro: Shall I add the serial info to the docs?
      • mithro
        paddatrapper: You should add an example serial test firmware to the fx2 firmware I think? With info on how to reproduce it
      • paddatrapper
        mithro: I don't follow? My serial test firmware was the standard firmware in the master branch
      • mithro
        paddatrapper: It would be good to have a simple test firmware that other people can test with when getting started
      • paddatrapper: IE It would have been easier for you to get it working if things were simpler, right?
      • paddatrapper: And had some docs with the wiring needed
      • paddatrapper
        I 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 helpful
      • mithro
        paddatrapper: Yeah
      • paddatrapper: So, lets take the time to fix thoses so the next time someone needs to do this it is easier
      • paddatrapper
        mithro: Ok will do then. Shall I do it as a branch or a Makefile option? (make fx2-serial or something)
      • mithro
        I think it should probably just be a new firmware directory in the https://github.com/timvideos/HDMI2USB-fx2-firmware repo?
      • tpb
        Title: GitHub - timvideos/HDMI2USB-fx2-firmware: HDMI2USB firmware for the Cypress FX2 found on the Digilent Atlys and Numato Opsis boards. (at github.com)
      • paddatrapper
        cool, that would work well
      • mithro
        paddatrapper: Did we end up with a simple firmware which flashes LEDs?
      • paddatrapper
        mithro: I think there's one in the example directory of the fx2lib, haven't tried loading it though
      • mithro
        paddatrapper: That would probably be good to have in that repo as well
      • paddatrapper
        mithro: yeah makes testing that you can load firmware, etc easier
      • mithro: I'll be back in an hour. Got a lecture now
      • mithro
        paddatrapper: Okay
      • Ishan_Bansal joined the channel
      • Morning Ishan_Bansal
      • Ishan_Bansal: Did you want to try IRCCloud rather than the crappy Freenode web gateware?
      • Ishan_Bansal
        mithro: Hi
      • mithro : Till now I think I don't found any problem with freenode web gateware
      • mithro
        Ishan_Bansal: It's okay for limited usage, but you get disconnected if you accidently reload the page and stuff like that
      • Ishan_Bansal
        ya, for that I use this : https://botbot.me/freenode/timvideos/
      • mithro
        Ishan_Bansal: We also have logs at https://logs.timvideos.us/%23timvideos/
      • Ishan_Bansal: IRCCloud also has a nice mobile client - but if you are happy to continue using the web gateware, that is fine
      • Ishan_Bansal
        hm , I think for now I am fine with the gateware:)
      • mithro
        Ishan_Bansal: You might want to look at the floating point stuff that a previous student did -> https://github.com/enjoy-digital/litevideo/tree...
      • tpb
        Title: litevideo/litevideo/float_arithmetic at master · enjoy-digital/litevideo · GitHub (at github.com)
      • mithro
      • tpb
        Title: Design Document on 16bit Floating Point - Google Docs (at docs.google.com)
      • Ishan_Bansal
        mithro : surely I will go through them by tonight
      • mithro
        Ishan_Bansal: No hurry, I'm not 100% sure they will be super useful for you
      • Ishan_Bansal
        mithro : Also mithro their is a line in the new_dct_tb.py 'https://github.com/ishan98/litejpeg/blob/master/litejpeg/test/new_dct_tb.py' line 52.
      • It doesn't stop like something going in an infinite loop.
      • I 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 me
      • mithro
      • tpb
        Title: migen/simulation.rst at master · m-labs/migen · GitHub (at github.com)
      • Ishan_Bansal
        Ya , I go through them before, but not able to find the answer
      • mithro
        Ishan_Bansal: There is also https://github.com/enjoy-digital/litevideo/blob... which can be used as an example...
      • tpb
        Title: litevideo/core_tb.py at master · enjoy-digital/litevideo · GitHub (at github.com)
      • mithro
      • tpb
        Title: litevideo/rgb2ycbcr_tb.py at master · enjoy-digital/litevideo · GitHub (at github.com)
      • Ishan_Bansal
        Yes this works for me.
      • I also compare the code and .vcd of both of them, but still not able to figure out what is the problem.
      • mithro
        Ishan_Bansal: So your test gets stuck in an infinite loop?
      • paddatrapper
        mithro: I'm back. Joys of group work and no group...
      • Ishan_Bansal
        If 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 that
      • mithro
        Ishan_Bansal: Does the zigzag module take a ("data", 24) ?
      • Ishan_Bansal
        mithro : 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.
      • mithro
        Ishan_Bansal: So, your zigzag module takes 12bit data it seems?
      • Ishan_Bansal: I'm not sure what happens when the data sizes don't match....
      • Ishan_Bansal
        It is not a major problem, it will just add extra zeros at the remainig bits
      • mithro
        Ishan_Bansal: Can you also try moving the packet=Packet(xxxx) inside the for i in range(4) loop?
      • Ishan_Bansal: Which branch should I be looking at?
      • Ishan_Bansal
        master
      • It still give the same result
      • mithro
        Ishan_Bansal: Why is everything inside a litejpeg directory?
      • Ishan_Bansal
        mithro : As I want to use the same format what enjoydigital used for the RGB2YCbCr so thats why I use to work with the repository
      • mithro
        Ishan_Bansal: Enjoy-Digital's litejpeg is at the top level... https://github.com/enjoy-digital/litejpeg
      • tpb
        Title: GitHub - enjoy-digital/litejpeg: Small footprint and configurable JPEG encoder and decoder (WIP) (at github.com)
      • mithro
      • tpb
        Title: Snippet | IRCCloud (at www.irccloud.com)
      • mithro
        Ishan_Bansal: I'm on 3062ffd667aad1b80ed4f2fcf75b89c074e9ffb4
      • Ishan_Bansal
        mithro : The output which you show is of zigzag, I am talking about dct for the problem of infinite loop
      • mithro
        Which test should I be running?
      • Ishan_Bansal
        new_dct_tb.py : 'https://github.com/ishan98/litejpeg/blob/master/litejpeg/litejpeg/test/new_dct_tb.py'
      • mithro
      • tpb
        Title: Snippet | IRCCloud (at www.irccloud.com)
      • mithro
        Ishan_Bansal: That is what happens for you?
      • Ishan_Bansal
        yes
      • mithro
        Okay, at least I can reproduce it :-)
      • Ishan_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 :-)
      • Ishan_Bansal
        ok, that sounds good. I will try to talk to them.
      • mithro
        Ishan_Bansal: I've hit similar things before - the simulator isn't great and giving you good feedback when you do something silly
      • f15h joined the channel
      • Ishan_Bansal
        mithro :I have made a message to #m-labs hoping for a quick response
      • mithro : going for lunch back in an hour.
      • mithro
        Ishan_Bansal: Okay, enjoy your lunch
      • f15h has quit
      • paddatrapper: It sounds like you got wireshark working with usb capture?
      • It would be good to write up a short doc about how you did it and how it works
      • Does the Logitech camera you got have inbuilt audio?
      • rohitksingh_wor1 joined the channel
      • rohitksingh_work has quit
      • Ishan_Bansal has quit
      • Ishan_Bansal joined the channel
      • rohitksingh_wor1 has quit
      • Ishan_Bansal has quit
      • rohitksingh joined the channel
      • rk[ghost] joined the channel
      • paddatrapper
        mithro: ok will do. Yes it does and in fact it arrived today. Haven't been home to look at it yet
      • tsglove joined the channel
      • rohitksingh has quit
      • Ishan_Bansal joined the channel
      • tpb has quit
      • tpb joined the channel
      • Ishan_Bansal has quit
      • tumbleweed joined the channel
      • tumbleweed joined the channel
      • puck`` has quit
      • puck`` joined the channel
      • tpb has quit
      • tpb joined the channel