#timvideos

/

      • felix[m]1
        Hej y'all, I'm super-sorry to bother but I'm stuck again, flashing the firmware (to a Nexys Video) -- I'm seeing the device as /dev/ttyUSB, but flterm doesn't seem to be able to establish a connection (it seems to get stuck at 'Starting'). I've tried various baud rates, connecting without flashing (which liteX should allow me to do, right?), to no avail -- is there a trick? What am I missing? As before, any pointers are
      • much appreciated. Thanks!
      • mithro
        felix[m]1: So you have done a "make gateware-load" ?
      • felix[m]1
        I think I did the equivalent (the make target is undefined for the nexys) -- I successfully loaded the gateware with openocd, and I can see the status led activating in response.
      • mithro
        felix[m]1: And then you did a "make firmware-load" and then hit enter?
      • felix[m]1
        (I hope that counts as a replacement :-) )
      • mithro
        felix[m]1: It should (assuming you did it correctly :-)
      • felix[m]1
        Again -- that didn't work directly, I ran "make firmware" and then tried to connect using "flterm --port=/dev/ttyUSB2 --kernel=build/nexys_video_lm32/software/firmware/firmware.bin --speed=115200"
      • mithro
        felix[m]1: Okay
      • felix[m]1: And you hit enter after running flterm?
      • It should come up with a "BIOS>" prompt
      • felix[m]1
        Yes I started flterm -- it outputs "[FLTERM] Starting...", and then nothing (I waited a while for the prompt)
      • mithro
        felix[m]1: Hit enter?
      • felix[m]1
        That doesn't do anything (it seems)
      • mithro
        We really should make flterm send a character after it starts...
      • felix[m]1
        (it won't take input)
      • mithro
        felix[m]1: Can you find the button connected to the CPU reset?
      • ("cpu_reset", 0, Pins("G4"), IOStandard("LVCMOS15")),
      • I wonder what is connected to G4
      • felix[m]1
        Yes, I know where it is. I take it I'm supposed to press that?
      • Should be that button (it's labelled G4), but I'll check the board spec.
      • mithro
        felix[m]1: Yeah -- looks like it is
      • felix[m]1: Hit that button while flterm is connected and see if you get any output
      • felix[m]1
      • tpb
        Title: digilent-xdc/Nexys-Video-Master.xdc at master · Digilent/digilent-xdc · GitHub (at github.com)
      • felix[m]1
        Wow, it works!
      • Yes, I get the prompt now. Awesome!
      • mithro
        felix[m]1: I was looking at this -> https://reference.digilentinc.com/reference/pro...
      • tpb
        Title: Nexys Video Reference Manual [Reference.Digilentinc] (at reference.digilentinc.com)
      • mithro
        felix[m]1: you get the BIOS prompt?
      • felix[m]1
        I think so (it's labelled "H2U 00:00:00>")
      • mithro
        felix[m]1: Nope - that means you have loaded the HDMI2USB firmware successfully
      • felix[m]1
        Ok, that sounds even better, right? ;-)
      • mithro
        felix[m]1: Yeah
      • felix[m]1: I would now try getting tftp loading the firmware going
      • felix[m]1: You should be able to adapt the tftp instructions from this tutorial -> j.mp/pre-fpga-lca2018
      • felix[m]1: You should be able to adapt the tftp instructions from this tutorial -> j.mp/pre-fpga-lca2018
      • felix[m]1: Are you "FelixVi" who sent this pull request -> https://github.com/timvideos/HDMI2USB-litex-fir... ?
      • tpb
        Title: saturn: adding platform and base target by FelixVi · Pull Request #381 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)
      • felix[m]1
        Ok, I'll see if I can figure that out. Thank you so much!
      • No, I'm afraid that's not me, though I might send you a PR sometime for the getting started guide.
      • mithro
      • tpb
        Title: Gerrit Code Review (at openocd.zylin.com)
      • mithro
        felix[m]1: Too many people named Felix
      • felix[m]1: We also have a Felix Held (who is felix_)
      • felix[m]1: That is openocd support for Nexys Video by rohit who is in this channel a lot of the time too
      • felix[m]1
        Jep, that looks awesome!
      • mithro
        felix[m]1: Looks like we have it in our openocd package here -> https://github.com/timvideos/conda-hdmi2usb-pac...
      • tpb
        Title: conda-hdmi2usb-packages/openocd at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com)
      • felix[m]1
        Yep, that worked a charm -- I think the only missing piece is putting the commands in the Makefile https://github.com/timvideos/HDMI2USB-litex-fir... -- would it make sense if I put the commands I used in there sometime?
      • tpb
        Title: HDMI2USB-litex-firmware/Makefile.mk at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)
      • mithro
        felix[m]1: Want to send me a pull request for that?
      • felix[m]1: You should be able to copy the arty of https://github.com/timvideos/HDMI2USB-litex-fir... example
      • tpb
        Title: WIP: Add support for more boards by rohitk-singh · Pull Request #398 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)
      • mithro
        felix[m]1: were in the world are you located?
      • be back in 15 minutes -- getting a drink
      • felix[m]1
        Sure! I'm in Mannheim, Germany
      • mithro
        Ahh, so it's Sunday morning hacking?
      • felix[m]1: on mobile now :-)
      • felix[m]1: I'm in the US currently
      • felix[m]1: actually it's like 2am for you!?
      • felix[m]1
        Yes, nearing on 3am. Still, Sunday morning hacking!
      • mithro
        Still Sunday morning I guess just a bit different ensno fit :-)
      • Jinx!
      • felix[m]1: btw, what is your goal?
      • Are you a potential GSoC student?
      • felix[m]1
        I wish! I'm finishing my PhD this summer, so I'm afraid I probably won't be able to do GSoC. (also: I'm really a noob around electronics). My goal is to understand FPGAs (better), and liteX/Migen looked like a cool toolchain. Mid-term, I'd like to figure out how the HDMI decoding works and hook into that for some signal processing stuff.
      • I'd be glad to help with smaller things though, and contribute back anything I figure out, but I can't realistically commit large amounts of time until my defense is through. I'm hoping to visit 35c3 this year, and would love to help with voc or anything related.
      • I just saw that GitHub user andrewreds corrected all the stuff in the getting-started guide already. Dear me, I have been sitting on that browser tab for waaaay to long :-)
      • hozer joined the channel
      • mithro
        CarlFK[m]: We need a post like this -> https://fossi-foundation.org/2018/02/12/gsoc
      • tpb
        Title: Become a GSoC student 2018! (at fossi-foundation.org)
      • mithro
      • tpb
        Title: GitHub - mithro/tmds_encoding: TMDS encoding tools (at github.com)
      • felix[m]1
        Wow, that looks absolutely fantastic, thank you so much! (also for the workshop materials, I'm going to work through both)
      • Ok, I'm calling it a day for now. I'll play with the capture software tomorrow, will test my changes to the makefiles again and then put together a tiny PR. I have to say, it's been a long time since I've been this excited about a piece of hardware -- looking forward to understanding how it works, and taking the board to a few meetups! Thanks a lot for your help, this has been fun!
      • futarisIRCcloud has quit
      • CarlFK joined the channel
      • fumblehool joined the channel
      • futarisIRCcloud joined the channel
      • rohitksingh joined the channel
      • rohitksingh1 joined the channel
      • rohitksingh has quit
      • rohitksingh1 has quit
      • rohitksingh joined the channel
      • rohitksingh1 joined the channel
      • shorne_ joined the channel
      • shorne has quit
      • andrewreds joined the channel
      • andrewreds has quit
      • cr1901_modern
        Looks like FelixVi has vanished :(... I feel bad I wasn't able to fix his issues
      • akhil_singh joined the channel
      • akhil_singh
        mithro : ping
      • paawan joined the channel
      • paawan has quit
      • mithro : This is @akhil-123, can u increase the discription on from where should the python script need to read and write the data from as per the comment on the issue "https://github.com/timvideos/HDMI2USB-litex-firmware/issues/297"
      • mithro : edit :- above link is not working, try this one : https://github.com/timvideos/HDMI2USB-litex-fir...
      • tpb
        Title: Figure out what the contents of `gateware/encoder/vhdl/header.hex` is · Issue #297 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)
      • rohitksingh1 has quit
      • rohitksingh joined the channel
      • Kripton has quit
      • Kripton joined the channel
      • akhil_singh has quit
      • rohitksingh1 joined the channel
      • rohitksingh has quit
      • andrewreds joined the channel
      • Kripton has quit
      • Kripton joined the channel
      • rohitksingh joined the channel
      • rohitksingh has quit
      • rohitksingh joined the channel
      • rohitksingh has quit
      • andrewreds has quit
      • sb0 has quit
      • sb0 joined the channel
      • sb0 has quit
      • sb0 joined the channel
      • felix_
        mithro: fyi: in the next round of the prototype fund, someone gets funding to work on voctomix: https://prototypefund.de/project/voctomix/
      • tpb
        Title: Voctomix Prototypefund - Prototypefund (at prototypefund.de)
      • mithro
        felix_: Yeah - they told me at 34C3
      • felix_
        ok, just wanted to make sure that you are aware of that
      • rohitksingh joined the channel
      • rohitksingh1 has quit
      • rohitksingh has quit
      • sb0 has quit
      • akhil_singh joined the channel
      • akhil_singh has quit
      • techman83 has quit
      • techman83 joined the channel