<?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>LPCXpresso IDE中的主题 Re: Debian/Redlink Installation/Execution Problem</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543506#M8274</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 11:52:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK - This is the right way to fix the USB permission problem.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:21:37 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:21:37Z</dc:date>
    <item>
      <title>Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543500#M8268</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 Mon May 19 19:16:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear Staff:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I plan to purchase the commercial version of LPCXpresso and would like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;clarification on the root cause of the problems I encountered in making&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso work in my OS environment--which is Debian Wheezy 7.5 Linux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with AMD64 architecture. My notes on the installation and execution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;procedures are attached to this note. However, I haven't reviewed them&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thoroughly and they may contain some inaccuracies or unnecessary steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Your comments and criticism of these procedures would be greatly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think there may be some problem with my and/or the LPCXpresso's use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of the dfu-util program. Briefly, I need to run dfu-util manually, before&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;starting the LPCXpresso IDE, for it to work correctly. The evidence I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;consider relevant follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following command is used to execute dfu-util manually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util -d 0x1fc9:0x000c -c 0 -t 2048 -R -D LPC432x_Redlink_V4_26.bin.hdr&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It produces the following output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Opening USB Device 0x1fc9:0x000c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Claiming USB DFU Runtime Interface...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Determining device status: state = dfuIDLE, status = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WARNING: Runtime device already in DFU state ?!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found Runtime: [0x1fc9:0x000c] devnum=8, cfg=0, intf=0, alt=0, name="DFU"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Claiming USB DFU Interface...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting Alternate Setting ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Determining device status: state = dfuIDLE, status = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dfuIDLE, continuing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Transfer Size = 0x0800&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bytes_per_hash=471&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting download: [##################################################] finished!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unable to read DFU status&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice the last 2 lines of the output. The "... finished!" line implies&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the download to LPC-Link2 module succeeded. However, the "unable ... DFU status"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;line suggests it failed. Since, after running the command, the LPCXpresso IDE works&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correctly, the download must be succeeding. I think the of dfu-util output is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;confusing the LPCXpresso software infrastructure--in particular if you actuate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the "Boot Debug Probe" icon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Romero&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338150"&gt;README.install.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543500#M8268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543501#M8269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue May 20 00:47:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That output is completely normal. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'finished' indicates that the firmware has been downloaded into the device. At this point a USB reset is issued (-R) causing the device to boot and re-enumerate as an LPC-Link2. It is no longer a dfu device and so dfu-util is no longer able to read the dfu status, hence the final message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't comment on your installation instructions as I do not have access to a machine running Debian. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would point out that on a correctly installed systems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*] you should never need to run dfu-util manually. The IDE takes care of this for you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*] similarly, you should not need to press the Boot Probe icon. The IDE will take care of this for you when you start a debug session.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*] dfu-util should not be run sudo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your information, to help you track down why the IDE does not see LPC-Link2 booting, the IDE does the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
$ dfu-util -l # list dfu-bootable devices. Make sure the VID/PID are the expected ones for an unbooted LPC-Link2
$ dfu-util -d 0x1fc9:0x000c -c 0 -t 2048 -R -D LPC432x_Redlink_V4_26.bin.hdr # boot firmware into unbooted LPC-Link2
$ lsusb # parse the output, looking for the LPC-Link2 booted VID/PID
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to check the udev rules to ensure these are setting the correct permissions for the supported USB devices on for Debian.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543501#M8269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543502#M8270</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 08:38:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The IDE must not be configured correctly because if you try to run "FreeRTOS Blinky" in automatic debug&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode,&amp;nbsp; Redlink Server initialization of the LPC-Link2 module never finishes.&amp;nbsp; Instead, it keeps timing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;out while trying to download LPC432x_Redlink_V4_26.bin.hdr.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There must be some kind of permission problem because dfu-util fails&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when you run it manually. Perhaps the problem is the udev rules file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as you mentioned. Do you have an example of a rules file with correct&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissions ? My rules file is readable and executable by everybody&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but writeable only by the owner--root. Also, a copy of the rules&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file--85-lpcxpresso.rules, is attached to this note.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the results of running the operations you specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the result of running dfu-util -l before doing anything:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util - (C) 2007-2008 by OpenMoko Inc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Found Runtime: [0x1fc9:0x000c] devnum=0, cfg=0, intf=0, alt=0, name="UNDEFINED"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the result of running the dfu-util download command as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util -d 0x1fc9:0x000c -c 0 -t 2048 -R -D LPC432x_Redlink_V4_26.bin.hdr&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util - (C) 2007-2008 by OpenMoko Inc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Found Runtime: [0x1fc9:0x000c] devnum=0, cfg=0, intf=0, alt=0, name="UNDEFINED"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;paulr@ebony:~$ dfu-util -l &amp;gt; /tmp/pre&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;paulr@ebony:~$ dfu-util -d 0x1fc9:0x000c -c 0 -t 2048 -R -D \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; LPC432x_Redlink_V4_26.bin.hdr&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util - (C) 2007-2008 by OpenMoko Inc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This program is Free Software and has ABSOLUTELY NO WARRANTY&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Opening USB Device 0x1fc9:0x000c...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Claiming USB DFU Runtime Interface...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot claim interface: could not claim interface 0: Operation not permitted&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul R.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543502#M8270</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543503#M8271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue May 20 08:59:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The IDE works perfectly on supported platforms. Debian is not a supported platform.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sorry, but I am unable to provide any further assistance&amp;nbsp; as I have already spent too long on this. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543503#M8271</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543504#M8272</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 10:00:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have solved the problem and LPCXpresso now works normally.&amp;nbsp; The problem is the permissions of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dfu-util and crt* files do not allow non-root users to access USB devices. The solution is to go to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/usr/local/lpcxpresso_7.1.1_125/lpcxpresso/bin and set the sticky bits of those files as follows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(i.e. This must be done as super user.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chmod 6755 dfu-util&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chmod 6755 crt*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect this is an install script bug and it affects most version of Linux.&amp;nbsp; I will post the corrected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;installation instructions to the group later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul R.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543504#M8272</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543505#M8273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue May 20 10:15:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No, no, no, no no. DO NOT set the sticky bits. This is WRONG and (more importantly) DANGEROUS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All you will need to do is to modify the udev rules so that the devices created by Debian when the devices are inserted are correctly set to world read+write. The udev rules supplied/installed work for Ubuntu/Fedora/Mint/OpenSuse etc. but are presumably not correct for Debian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543505#M8273</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543506#M8274</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 11:52:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK - This is the right way to fix the USB permission problem.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543506#M8274</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543507#M8275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed May 21 02:01:54 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To verify that you are in the group 'plugdev' better execute the 'groups' command, because it lists the currently active groups.&amp;nbsp; Note that after adding yourself to a group (I do it with the 'adduser' command) you will need to login again before it becomes active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MODE="666" doesn't work under Debian, because the mode is set to 664 afterwards in /lib/udev/rules.d/91-permissions.rules. Using the group 'plugdev' helps, because the middle 6 still gives read/write access rights to the group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You always need to reload udev rules and maybe replug the device before changes become active. Forgetting this can lead to quite a bit of confusion (I know).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can trace udev's actions for a USB device by &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$ udevadm test /sys/bus/usb/devices/$device&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can figure out $device by looking which one appears when you plug in the device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Stupid forum software, no way to get less-than and greater-than characters.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543507#M8275</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Debian/Redlink Installation/Execution Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543508#M8276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed May 21 02:30:19 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;MODE="666" doesn't work under Debian, because the mode is set to 664 afterwards in /lib/udev/rules.d/91-permissions.rules. Using the group 'plugdev' helps, because the middle 6 still gives read/write access rights to the group.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This probably means that just renaming 85-lpcxpresso to 95-lpcxpresso would be work, without the need to adding users to groups etc. (Not forgetting to restart udev after this, of course). [The rules are run in alphabetical order, so '85' gets run before '91', with the '91' rules overriding the ones set by '85']&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps if you could confirm this, we could persuade NXP to rename the file. Well, we can ask anyways...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Debian-Redlink-Installation-Execution-Problem/m-p/543508#M8276</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:21:38Z</dc:date>
    </item>
  </channel>
</rss>

