LOGI - Apps - Project

From ValentFx Wiki
Revision as of 22:33, 5 May 2014 by Valentfx (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

LOGI-Apps Project Overview

Sometimes you just want to run a coded project or application and have it work - Period.  Sometimes projects can become complex when working with FPGAs especially when using them with a Linux system, as is the case when using the LOGI boards in conjunction with the Raspberry Pi or BeagleBone.  There are a few more details that the user needs to pay attention to when talking to the FPGA from the Linux host or vice versa.  Not to worry too much as the LOGI drivers are here for to drop into your project and get it running.  But, in the case of wanting to simply run a demo or application that the LOGI-Team has developed you want and need to be able to simply download the project and make it run.  Typically the users would have a source code project for the Linux host in C and or Python that needs to be verified and built.  Likewise there is associated RTL code that needs to be synthesized down to a bitfile that is loaded on the FPGA.  Then there are any dependencies that may need to be setup in the linux hardware or libraries that need to be updated.  When all is said and done there is a bit of work involved in getting everything to run properly between the CPU/LInux/FPGA.

We have come up with a solution that is nearly as direct as running a packaged executable that is all ready to run.  The LOGI Apps (Store) is way for users to get starting using the LOGI projects without having to build any code, do any setup, just plug in any needed modules and run the "App". The LOGI-Apps are installed on our pre-configured LOGI images for the the Raspberry Pi and the BeagleBone.  The users just needs to navigate to within the LOGI-Apps directory, plug in the hardware and run the make_demo.sh shell script.  Now it’s time to sit back and and watch the fireworks.

The LOGI-Team will be creating key demos and applications that will be run as LOGI-Apps.  This will allow users to easily demo the functionality or run the application for utility.  We will also create an article that shows how you can create your App that other users can access to run on their boards in the same manner.  So, let's get to shopping Apps!

Apps Available in the LOGI-Apps Store (Github and Free)

Blink LED  - "hello world"

The LED Blink - is based off of the LOGI - LED Blink - Project.  For details about the project implementation see the project page.

Bitcoin Mining Algorithm Demonstration

The Bitcoin Mining Algorithm demo is based off of the LOGI - Bitcoin Mining Algorithm - Project.  For details about the project implementation see the project page.

Cheapscope Logic Analyser App

The Cheapscope Logic Analyzer is based off of the LOGI - Cheapscope Logic Analyzer - Project.  For details about the project implementation see the project page.

Image processing using the LOGI-Cam

The Image processing App is based off of the LOGI image processing project.  For details about the project implementation see the project page. 

Wishbone interfacing basics

The wishbone intefacing App is based off of the LOGI - Wishbone - Project.  For details about the project implementation see the project page.

Virtual Components Demo App

The Virtual Components demo is based off of the LOGI - Virtual Components demo - Project.  For details about the project implementation see the project page.

LOGI-EDU board demo project

The LOGI-EDU demo based off of the LOGI - EDU Demo - Project.  For details about the project implementation see the project page.

Running the Logi-Apps on the Raspberry Pi and LOGI-Pi

The LOGI-Apps requires using the Raspberry Pi command line.  See this LOGI-Pi Quick Start Guide section for information on how to Access the Raspberry Pi terminal command line.

Manually installing the Logi-apps code to run the pre-configured LOGi applications

If you are creating your own image with the logi-tools, you will need to first pull the Logi-apps code into your home directory.  You can use git or transfer the files using SSH.  

To get the lastest Logi-apps from the LOGi github repository into your home directory use the following commands:

cd
git clone -b logipi https://github.com/fpga-logi/logi-apps.git

Note that the git clone command checks out the remote branch "logipi" of Logi-apps which contains all of the specific Pi code and drivers needed to run the Logi applications.

Using a prebuilt LOGI image or you already have the LOGI-Apps installed

From the command line you will need to navigate into the Logi-apps director and into the specific app directory that you want to run.  Each app is contained in a separate folder with a make_demo.sh shell script. To run the demo just run the make_demo script as sudo and follow the instructions that are displayed on the terminal output.

sudo ./make_demo.sh

Running the Logi-Apps on the BeagleBone and LOGI-Bone

The LOGI-Apps requires using the BeagleBone command line.  See this LOGI-Bone Quick Start Guide section for information on how to Access the Raspberry Pi terminal command line.

Manually installing the Logi-apps code to run the pre-configured LOGi applications

If you are creating your own image with the logi-tools, you will need to first pull the Logi-apps code into your home directory.  You can use git or transfer the files using SSH.  

To get the lastest Logi-apps from the LOGi github repository into your home directory use the following commands:

cd
git clone -b logibone https://github.com/fpga-logi/logi-apps.git

Note that the git clone command checks out the remote branch "logibone" of Logi-apps which contains all of the specific Beaglebone code and drivers needed to run the Logi applications.

You will need to have followed the previous steps of connecting to your Beaglebone using SSH.  Once you have done this you will need go to the /home/Logi-apps directory where he logi-files are located to load and run the fpga applications.  You can use the “cd Logi-apps” command on the command line to go this location.   You will be able to run any of the pre-built Logi-apps that are available.

Each app is contained in a separate folder with make_demo.sh script. To run the demo just run the make_demo script as sudo and follow the instructions.

sudo ./make_demo.sh

Where to go from this point

  • See the specific project pages that will give you full details about the apps that are run in this project.  

  • Have a look at the documentation for other projects and or our drivers and software to kickstart your own projects.

  • LOGI Github Repository

  • LOGI Videos

  • LOGI Blog

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox