<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AMD64 Debian Wheezy Linux Installation Procedure in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/AMD64-Debian-Wheezy-Linux-Installation-Procedure/m-p/543736#M8389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by paul.rcom-software.com on Tue May 20 22:08:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Installation Instructions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These instructions are specific to the AMD64 Debian Wheezy Linux OS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with the LCP4088 Development Kit and the LPC-Link2 debugging module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GENERAL PREPARATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Basic multi-architecture setup. (i.e. Should be done at installation.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg add-architecture i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude update&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libncurses5:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install preload&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libc6-dev-amd64&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 32 bit compatibility libraries as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is minimal requirement in a 64 bit multi-architecture environment.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install ia32-libs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*&amp;nbsp; If they are not present, install these packages also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxml2-dev&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-1.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-0.1-4:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libudev0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libgtk2.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install gtk2-engines-murrine:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libidn11:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libglu1-mesa:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxtst6:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FTDI INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 64 bit FTDI libraries for the FT232RL chip on the LCP4088 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. I used version 1.1.12) They can be downloaded via the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.ftdichip.com%2FDrivers%2FD2XX%2FLinux%2Flibftd2xx1.1.12.tar.gz" rel="nofollow" target="_blank"&gt;http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx1.1.12.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will create a "release" directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tar xfvz libftd2xx1.1.12.tar.gz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now obtain the following tar archive from FTDI which contains&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libc version independent libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx_V125.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following two libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.so.1.2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Become superuser and perform the following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.a/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.so.1.2.5/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf /usr/local/lib/libftd2xx.so.1.2.5 /usr/local/lib/libftd2xx.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now build the examples and try the sanity checks per the ReadMe.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; file in the release directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Go to the release/build/x86_64 directory and do the following as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user. Also, if you run lsusb you should see something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Ltd FT232 USB-Serial (UART) IC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMPORTANT: Make sure your account is in the "sudo" list before beginning the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Download Xpresso version 7.1.1 via the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. The same version works for both 32 bit and 64 bit architecture.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fs3.amazonaws.com%2FLPCXpresso7%2FInstaller_LPCXpresso_7.1.1_125_Linux-x86.tar.gz" rel="nofollow" target="_blank"&gt;https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.1.1_125_Linux-x86.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following installer program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Just run it and it will guide you through the basic installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Installer_LPCXpresso_7.1.1_125_Linux-x86&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Note that section 2.2.2 of the user guide at the following URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; gives some general Linux installation guidelines. However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; they are not entirely accurate for the Debian environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Flpcxpresso%2Fdownloads%2Flinux" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/lpcxpresso/downloads/linux&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Update the path variable in your .bashrc with the following paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export PATH=$PATH:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Link libudev to the right place if it is not already done as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /lib/i386-linux-gnu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf libudev.so.1 libudev.so.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install GLIBC_2_14 (i.e. This is absolutely critical for the Redlink Server.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Download the 2.14 package into a safe directory as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is not a regular Debian package)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;wget &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsecurity.ubuntu.com%2Fubuntu%2Fpool%2Fmain%2Fe%2Feglibc%2Flibc6_2.15-0ubuntu20_i386.deb" rel="nofollow" target="_blank"&gt;http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Create the following subdirectory structure under /usr/local/lpcxpresso_7.1.1_125/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now, unpack the archive in that directory as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg -x libc*.deb /usr/local/lpcxpresso_7.1.1_125/debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Got to /usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin and rename redlinkserv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mv redlinkserv redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now create an executable script named redlinkserv--in the same directory,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; with the following contents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPCXpresso Redlink Server Execution Environment &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_ROOT_DIR=/usr/local/lpcxpresso_7.1.1_125&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_BIN_DIR="${LPCXPRESSO_ROOT_DIR}/lpcxpresso/bin"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GLIBC_DIR="${LPCXPRESSO_ROOT_DIR}/debian/glibc_import/lib/i386-linux-gnu"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export LD_LIBRARY_PATH="${LPCXPRESSO_BIN_DIR}:${GLIBC_DIR}:${LD_LIBRARY_PATH}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec "${LPCXPRESSO_BIN_DIR}"/redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install a correct udev rules file to the /etc/udev/rules.d directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This must be done as super user.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Normal user processes, such as LPCXpresso, don't have permission to access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; USB devices due of a problem with the default udev rules shipped with LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The name of the file is 85-lpcxpresso.rules and it is in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /etc/udev/rules.d directory. (i.e. It is not designed for Debian&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; systems.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem can be corrected by creating or copying a correct rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; to the /etc/udev/rules.d directory. You can fix the default rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Append the GROUP="plugdev" to each line of the file as shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IMPORTANT: Verify that your login ID is in the plugdev group in the /etc/group file,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; and execute the following command after the correct rules file has been installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;udevadm control --reload-rules&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of correct udev rules file follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** Start 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Define some simple rules for LPCXpresso supported USB Devices&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Each rules simply makes the device world writable when connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# thus avoiding the need to run the debug drivers as root&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (unbooted)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="df55", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (winusb)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0009", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (hid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP LPC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="000c", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ad08", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# RDB-Link&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe+&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0003", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Redlink&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0006", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0008", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0019", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP (Japan)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="2786", ATTRS{idProduct}=="f00b", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# KEIL CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="f001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2722", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK-ME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2723", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# FTDI adapters (i.e. USB serial ports)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Generically set to world read/write. If not, ftdi driver aborts when trying to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# scan for debug adapters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** End 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Get the LPC4088 LPCOPEN project and example code from the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpcopen_2_10_lpcxpresso_ea_devkit_4088.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_2_10_lpcxpresso_ea_devkit_4088.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Start LPCXpresso and import the .zip file you just downloaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Build all the project files and note any errors and exit Xpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Plug in both the LCP4088 dev. board and LPC-Link2 module into USB ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Kill any instances of the Redlink Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Remove conflicting modules as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This will not harm your system configuration.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod ftdi_sio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod usbserial&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Check the information on your LPC-Link2 module with lsusb. You&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; should see something like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 003 Device 003: ID 1fc9:000c NXP Semiconductors &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso SANITY CHECK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* You should be able to compile and run the "FreeRTOS Blinky" example with Debug now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:18:28 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:18:28Z</dc:date>
    <item>
      <title>AMD64 Debian Wheezy Linux Installation Procedure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/AMD64-Debian-Wheezy-Linux-Installation-Procedure/m-p/543736#M8389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by paul.rcom-software.com on Tue May 20 22:08:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Installation Instructions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These instructions are specific to the AMD64 Debian Wheezy Linux OS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with the LCP4088 Development Kit and the LPC-Link2 debugging module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GENERAL PREPARATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Basic multi-architecture setup. (i.e. Should be done at installation.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg add-architecture i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude update&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libncurses5:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install preload&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libc6-dev-amd64&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 32 bit compatibility libraries as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is minimal requirement in a 64 bit multi-architecture environment.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install ia32-libs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*&amp;nbsp; If they are not present, install these packages also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxml2-dev&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-1.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-0.1-4:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libudev0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libgtk2.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install gtk2-engines-murrine:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libidn11:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libglu1-mesa:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxtst6:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FTDI INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 64 bit FTDI libraries for the FT232RL chip on the LCP4088 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. I used version 1.1.12) They can be downloaded via the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.ftdichip.com%2FDrivers%2FD2XX%2FLinux%2Flibftd2xx1.1.12.tar.gz" rel="nofollow" target="_blank"&gt;http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx1.1.12.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will create a "release" directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tar xfvz libftd2xx1.1.12.tar.gz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now obtain the following tar archive from FTDI which contains&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libc version independent libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx_V125.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following two libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.so.1.2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Become superuser and perform the following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.a/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.so.1.2.5/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf /usr/local/lib/libftd2xx.so.1.2.5 /usr/local/lib/libftd2xx.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now build the examples and try the sanity checks per the ReadMe.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; file in the release directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Go to the release/build/x86_64 directory and do the following as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user. Also, if you run lsusb you should see something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Ltd FT232 USB-Serial (UART) IC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMPORTANT: Make sure your account is in the "sudo" list before beginning the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Download Xpresso version 7.1.1 via the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. The same version works for both 32 bit and 64 bit architecture.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fs3.amazonaws.com%2FLPCXpresso7%2FInstaller_LPCXpresso_7.1.1_125_Linux-x86.tar.gz" rel="nofollow" target="_blank"&gt;https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.1.1_125_Linux-x86.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following installer program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Just run it and it will guide you through the basic installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Installer_LPCXpresso_7.1.1_125_Linux-x86&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Note that section 2.2.2 of the user guide at the following URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; gives some general Linux installation guidelines. However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; they are not entirely accurate for the Debian environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Flpcxpresso%2Fdownloads%2Flinux" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/lpcxpresso/downloads/linux&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Update the path variable in your .bashrc with the following paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export PATH=$PATH:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Link libudev to the right place if it is not already done as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /lib/i386-linux-gnu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf libudev.so.1 libudev.so.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install GLIBC_2_14 (i.e. This is absolutely critical for the Redlink Server.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Download the 2.14 package into a safe directory as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is not a regular Debian package)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;wget &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsecurity.ubuntu.com%2Fubuntu%2Fpool%2Fmain%2Fe%2Feglibc%2Flibc6_2.15-0ubuntu20_i386.deb" rel="nofollow" target="_blank"&gt;http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Create the following subdirectory structure under /usr/local/lpcxpresso_7.1.1_125/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now, unpack the archive in that directory as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg -x libc*.deb /usr/local/lpcxpresso_7.1.1_125/debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Got to /usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin and rename redlinkserv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mv redlinkserv redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now create an executable script named redlinkserv--in the same directory,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; with the following contents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPCXpresso Redlink Server Execution Environment &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_ROOT_DIR=/usr/local/lpcxpresso_7.1.1_125&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_BIN_DIR="${LPCXPRESSO_ROOT_DIR}/lpcxpresso/bin"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GLIBC_DIR="${LPCXPRESSO_ROOT_DIR}/debian/glibc_import/lib/i386-linux-gnu"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export LD_LIBRARY_PATH="${LPCXPRESSO_BIN_DIR}:${GLIBC_DIR}:${LD_LIBRARY_PATH}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec "${LPCXPRESSO_BIN_DIR}"/redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install a correct udev rules file to the /etc/udev/rules.d directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This must be done as super user.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Normal user processes, such as LPCXpresso, don't have permission to access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; USB devices due of a problem with the default udev rules shipped with LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The name of the file is 85-lpcxpresso.rules and it is in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /etc/udev/rules.d directory. (i.e. It is not designed for Debian&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; systems.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem can be corrected by creating or copying a correct rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; to the /etc/udev/rules.d directory. You can fix the default rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Append the GROUP="plugdev" to each line of the file as shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IMPORTANT: Verify that your login ID is in the plugdev group in the /etc/group file,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; and execute the following command after the correct rules file has been installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;udevadm control --reload-rules&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of correct udev rules file follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** Start 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Define some simple rules for LPCXpresso supported USB Devices&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Each rules simply makes the device world writable when connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# thus avoiding the need to run the debug drivers as root&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (unbooted)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="df55", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (winusb)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0009", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (hid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP LPC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="000c", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ad08", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# RDB-Link&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe+&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0003", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Redlink&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0006", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0008", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0019", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP (Japan)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="2786", ATTRS{idProduct}=="f00b", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# KEIL CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="f001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2722", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK-ME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2723", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# FTDI adapters (i.e. USB serial ports)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Generically set to world read/write. If not, ftdi driver aborts when trying to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# scan for debug adapters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** End 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Get the LPC4088 LPCOPEN project and example code from the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpcopen_2_10_lpcxpresso_ea_devkit_4088.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_2_10_lpcxpresso_ea_devkit_4088.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Start LPCXpresso and import the .zip file you just downloaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Build all the project files and note any errors and exit Xpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Plug in both the LCP4088 dev. board and LPC-Link2 module into USB ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Kill any instances of the Redlink Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Remove conflicting modules as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This will not harm your system configuration.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod ftdi_sio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod usbserial&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Check the information on your LPC-Link2 module with lsusb. You&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; should see something like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 003 Device 003: ID 1fc9:000c NXP Semiconductors &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso SANITY CHECK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* You should be able to compile and run the "FreeRTOS Blinky" example with Debug now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/AMD64-Debian-Wheezy-Linux-Installation-Procedure/m-p/543736#M8389</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: AMD64 Debian Wheezy Linux Installation Procedure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/AMD64-Debian-Wheezy-Linux-Installation-Procedure/m-p/543737#M8390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by paul.rcom-software.com on Thu May 29 12:16:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Installation Instructions&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These instructions are specific to the AMD64 Debian Wheezy Linux OS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with the LCP4088 Development Kit and the LPC-Link2 debugging module.\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: Updated to include CSP and BSP support infrastructure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GENERAL PREPARATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Basic multi-architecture setup. (i.e. Should be done at installation.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg add-architecture i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude update&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libncurses5:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install preload&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libc6-dev-amd64&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 32 bit compatibility libraries as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is minimal requirement in a 64 bit multi-architecture environment.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install ia32-libs&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*&amp;nbsp; If they are not present, install these packages also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxml2-dev&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-1.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libusb-0.1-4:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libudev0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libgtk2.0-0:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install gtk2-engines-murrine:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libidn11:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libglu1-mesa:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;apt-get install libxtst6:i386&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FTDI INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install 64 bit FTDI libraries for the FT232RL chip on the LCP4088 board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. I used version 1.1.12) They can be downloaded via the following&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; URL: (i.e. A newer version may be available.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.ftdichip.com%2FDrivers%2FD2XX%2FLinux%2Flibftd2xx1.1.12.tar.gz" rel="nofollow" target="_blank"&gt;http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx1.1.12.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will create a "release" directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tar xfvz libftd2xx1.1.12.tar.gz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now obtain the following tar archive from FTDI which contains&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libc version independent libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx_V125.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following two libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;libftd2xx.so.1.2.5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Become superuser and perform the following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.a/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp libftd2xx.so.1.2.5/usr/local/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf /usr/local/lib/libftd2xx.so.1.2.5 /usr/local/lib/libftd2xx.so&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now build the examples and try the sanity checks per the ReadMe.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; file in the release directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Go to the release/build/x86_64 directory and do the following as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user. Also, if you run lsusb you should see something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Ltd FT232 USB-Serial (UART) IC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso INSTALLATION&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMPORTANT: Make sure your account is in the "sudo" list before beginning the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;procedure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Download Xpresso version 7.1.1 via the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. The same version works for both 32 bit and 64 bit architecture and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; a newer version is probably available.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fs3.amazonaws.com%2FLPCXpresso7%2FInstaller_LPCXpresso_7.1.1_125_Linux-x86.tar.gz" rel="nofollow" target="_blank"&gt;https://s3.amazonaws.com/LPCXpresso7/Installer_LPCXpresso_7.1.1_125_Linux-x86.tar.gz&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Uncompressing the tar archive will yield the following installer program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Just run it and it will guide you through the basic installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Installer_LPCXpresso_7.1.1_125_Linux-x86&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Note that section 2.2.2 of the user guide at the following URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; gives some general Linux installation guidelines. However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; they are not entirely accurate for the Debian environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Flpcxpresso%2Fdownloads%2Flinux" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/lpcxpresso/downloads/linux&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Update the path variable in your .bashrc with the following paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;export PATH=$PATH:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin:/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Link libudev to the right place if it is not already done as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; super user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /lib/i386-linux-gnu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ln -sf libudev.so.1 libudev.so.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install GLIBC_2_14 (i.e. This is absolutely critical for the Redlink Server.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Download the 2.14 package into a safe directory as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This is not a regular Debian package)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;wget &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsecurity.ubuntu.com%2Fubuntu%2Fpool%2Fmain%2Fe%2Feglibc%2Flibc6_2.15-0ubuntu20_i386.deb" rel="nofollow" target="_blank"&gt;http://security.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu20_i386.deb&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Create the following subdirectory structure under /usr/local/lpcxpresso_7.1.1_125/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now, unpack the archive in that directory as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dpkg -x libc*.deb /usr/local/lpcxpresso_7.1.1_125/debian/glibc_import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Got to /usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin and rename redlinkserv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mv redlinkserv redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Now create an executable script named redlinkserv--in the same directory,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; with the following contents:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPCXpresso Redlink Server Execution Environment &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_ROOT_DIR=/usr/local/lpcxpresso_7.1.1_125&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXPRESSO_BIN_DIR="${LPCXPRESSO_ROOT_DIR}/lpcxpresso/bin"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GLIBC_DIR="${LPCXPRESSO_ROOT_DIR}/debian/glibc_import/lib/i386-linux-gnu"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export LD_LIBRARY_PATH="${LPCXPRESSO_BIN_DIR}:${GLIBC_DIR}:${LD_LIBRARY_PATH}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec "${LPCXPRESSO_BIN_DIR}"/redlinkserv.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Install a correct udev rules file to the /etc/udev/rules.d directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This must be done as super user.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Normal user processes, such as LPCXpresso, don't have permission to access&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; USB devices due of a problem with the default udev rules shipped with LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The name of the file is 85-lpcxpresso.rules and it is in the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; /etc/udev/rules.d directory. (i.e. It is not designed for Debian&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; systems.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The problem can be corrected by creating or copying a correct rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; to the /etc/udev/rules.d directory. You can fix the default rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; in the following way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Append the GROUP="plugdev" to each line of the file as shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IMPORTANT: Verify that your login ID is in the plugdev group in the /etc/group file,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; and execute the following command after the correct rules file has been installed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;udevadm control --reload-rules&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example of correct udev rules file follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** Start 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Define some simple rules for LPCXpresso supported USB Devices&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Each rules simply makes the device world writable when connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# thus avoiding the need to run the debug drivers as root&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (unbooted)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="df55", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (winusb)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0009", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# LPC-Link (hid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP LPC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="000c", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="ad08", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# RDB-Link&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Red Probe+&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0003", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Redlink&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0006", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0007", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="21bd", ATTRS{idProduct}=="0008", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0019", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# NXP (Japan)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="2786", ATTRS{idProduct}=="f00b", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# KEIL CMSIS-DAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="f001", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2722", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ULINK-ME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KERNEL=="hidraw*", ATTRS{idVendor}=="c251", ATTRS{idProduct}=="2723", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# FTDI adapters (i.e. USB serial ports)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Generically set to world read/write. If not, ftdi driver aborts when trying to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# scan for debug adapters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", MODE="0666", GROUP="plugdev"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**************** End 85-lpcxpresso.rules *********************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Get the LPC4088 LPCOPEN project and example code from the following URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. There may be a newer version.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Flpcopen_2_10_lpcxpresso_ea_devkit_4088.zip" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/system/files/lpcopen_2_10_lpcxpresso_ea_devkit_4088.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Start LPCXpresso and import the .zip file you just downloaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Build all the project files and note any errors and exit Xpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Plug in both the LCP4088 dev. board and LPC-Link2 module into USB ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Kill any instances of the Redlink Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Remove conflicting modules as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; (i.e. This will not harm your system configuration.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod ftdi_sio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rmmod usbserial&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Check the information on your LPC-Link2 module with lsusb. You&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; should see something like this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus 003 Device 003: ID 1fc9:000c NXP Semiconductors &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso SANITY CHECK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* You should be able to compile and run the "FreeRTOS Blinky" example with Debug now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding BSP and CSP, Board and Chip, Support Packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First, I need to clarify what is in the LPCOpen project BSP and CSP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The BSP does not contain a bootloader which in the LPC4088 environment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is burned into the chip. It does contain the drivers for the basic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;peripherals on the board. Similary, the CSP contains the basic drivers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for the peripheral devices on the processor. Those drivers are provided&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in library form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are the locations of the downloaded BSP packages on Linux and Windows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;respectively. (i.e. There may be newer versions.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LINUX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/Examples/NXP/LPC4000/LPC407x_8x/LPC407x_8x_Libraries.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WINDOWS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\nxp\LPCXpresso_7.2.0_153\lpcxpresso\Examples\NXP\LPC4000\LPC407x_8x\LPC407x_8x_Libraries.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the procedure--as far as I know, for installing the BSP packages within&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Start LPCXpresso&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Select "Import projects" and navigate to the BSP package.&amp;nbsp; At that point select&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OK to open the package and just use defaults as the GUI guides you through&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; the import process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* Rebuild all projects--optimally in debug mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this point point the BSP package in LPCXpresso and configured correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is assumed one more step is needed to download the BSP package to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the board. You only need to do this once. Subsequently, if you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;build any project the correct drivers will be included in the board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;executable image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/AMD64-Debian-Wheezy-Linux-Installation-Procedure/m-p/543737#M8390</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:18:30Z</dc:date>
    </item>
  </channel>
</rss>

