element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Files Installing and Running XXICC rev 0.0q
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Next
  • Previous
  • Share
  • More
  • Cancel
Related
Recommended

Installing and Running XXICC rev 0.0q

This document describes how to install and run XXICC on your computer, either by compiling XXICC source code or installing binaries.

 

This is revision 0.0q, which adds the -rpio2 option for Raspberry Pi 2 and makes minor changes to Section 6.

 

For more information on XXICC and GalaxC, see the ’blog post XXICC (21st Century Co-design) release 0.0q and XXICC's home page: xxicc.org


install00q.pdf has instructions for installing XXICC for all versions (GNU/Linux and Windows) and for all purposes.  This means finding all the steps you need for a particular platform can be a little involved.  Here are the specific steps for installing XXICC and Flavia on a 32-bit GNU/Linux machine that uses an FTDI FT2232H or FT232H USB serial IC as a JTAG controller.

 

  1. Create a directory for XXICC.  You can call it anything you want, but the instructions assume you have called it XXICC and it’s in your home directory.

    cd ~
    mkdir XXICC

  2. Change to your XXICC directory:  cd ~/XXICC

  3. Download the XXICC source code code00q.zip into your XXICC directory and unzip it:

    unzip code00q.zip

  4. Before compiling XXICC, you need to install the libxft developer’s libraries:

    sudo apt-get update
    sudo apt-get install libxft-dev

  5. Make a subdirectory for XXICC object code:  mkdir xxicc.od

  6. Compile XXICC’s C files:  make T=XGL

    This should create the XXICC executable xxicc.

  7. Install libftdi.so, which XXICC needs to talk to an FTDI FT2232D/H or FT232H USB serial IC:

    sudo apt-get install libftdi1

    This installs libftdi.so.1.  However, XXICC needs it to be named libftdi.so, so you must add a symbolic link in /usr/lib/arm-linux-gnueabihf (or similar /usr/lib subdirectory):

    cd /usr/lib/arm-linux-gnueabihf
    sudo ln -s libftdi.so.1 libftdi.so
    cd ~/XXICC

  8. Compile XXICC’s GalaxC source code, including the files needed for Flavia:

    ./xxicc fla

    XXICC will compile the GalaxC files and link in libftdi.so.  If the library is not present, you will get an error message.  Review Step 7 and/or install00q.pdf to see how to deal with this.

    When XXICC finishes compiling, it should bring up a file selection dialog.  For now, close the dialog and
    xxicc terminates.  The next time you run xxicc it will load object code and come up in less than a second.

  9. Before you use JTAG, download 85-ftdi.rules (udev rules file for FTDI FT2232D/H, FT232H, and Papilio DUO) and copy it (using sudo) to /etc/udev/rules.d.  85-ftdi.rules sets permissions so that XXICC can talk to FTDI serial devices without having to run as superuser.  85-ftdi.rules takes effect when you reboot or you can reload udev rules with the command:

    sudo udevadm control --reload

    85-ftdi.rules requires that you are a member of the dialout group.  See if you’re in dialout by giving the groups command.  If you’re not in dialout, give the command:

    sudo adduser <userid> dialout

    You will need to log out and log back in again for the change to take effect.

 

That should do it!  Please comment if you have any questions or helpful suggestions.

  • flavia
  • xxicc
johnbeetem
johnbeetem
  • 28 Jun 2015
  • 5 Downloads
  • Share
  • More
  • Cancel
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube