GithubHelp home page GithubHelp logo

trenz's Introduction

Setup instructions

On your laptop (MacOS)

  • Install sshpass
  • Go to Networks pane in MacOS settings
    • Add a new interface and manually configure (Apple USB Ethernet Adapter), name = Trenz
    • Configure manually, IP Address = 192.168.42.51, Subnet Mask = 255.255.255.0
    • Check connection with ping
      ❯ ping 192.168.42.50
      PING 192.168.42.50 (192.168.42.50): 56 data bytes
      64 bytes from 192.168.42.50: icmp_seq=0 ttl=64 time=2.940 ms
      64 bytes from 192.168.42.50: icmp_seq=1 ttl=64 time=0.577 ms
      
    • Check with ssh [email protected], password = 1234

On derp

  • Clone this repository
  • Copy an existing xilinx.lic file into your home directory, e.g. with cp /home/lenny/.Xilinx/xilinx.lic ~/.Xilinx/
  • Add . /opt/Xilinx/14.7/ISE_DS/settings64.sh to your .profile and source it
  • In Trenz/derp, try make

On MacOs

  • In Trenz/Mac, update the makefile variables DERP_USER and DERP_PASS and TRENZ_PATH
  • Type make, you should get dropped into an interactive prompt, in Trenz/Mac you should see system.bit and zynq copied from derp
  • Try write w 0 ffff to change the screen color to tealish.
    ~/repos/Trenz/Mac master*
    ❯ make
    STARTING STREAM
    Entering Interactive mode!
    Commands:
            Pipe reg read:  r <regNum>
            Pipe reg write: w <regNum> <value>
            Cam reg read:   cr <camid> <addr>
            Cam reg write:  cw <camid> <addr> <value>
            Save to disk:   s
            Help:           h
            Stop cmd:       <Anything else>
    >w 0 ffff
    WROTE 0xffff to pipe reg 0x00
    >
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.