<?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のトピックUnable to flash LPCXpresso LPC1769 from command line in Linux</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553587#M12840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mohan on Sat Mar 28 23:50:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Ubuntu 14.04.3 x86_64 development platform and installed LPCXpresso v7.6.2. I tried to flash new programs to LPCXpresso LPC1769 target from the IDE, which progressed in the download for long time and didn't complete. So I planned to use the command line utils to flash the target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$ cd /usr/local/lpcxpresso_7.6.2_326/lpcxpresso&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$ bin/dfu-util -d 0x0471:0xdf55 -c 0 -t 2048 -R -D bin/LPCXpressoWIN.enc&lt;/STRONG&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 0x0471:0xdf55...&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: [0x0471:0xdf55] devnum=22, cfg=0, intf=0, alt=0, name="UNDEFINED"&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=583&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting download: [##################################################] finished!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can't detach: error sending control message: Broken pipe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resetting USB to switch back to runtime mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$ /usr/local/lpcxpresso_7.6.2_326/lpcxpresso/bin/crt_emu_cm3_nxp -flash-load-exec "/home/mohan/LPCXpresso/workspace/LPCX176x_cmsis2_systick_twinkle/Debug/LPCX176x_cmsis2_systick_twinkle.axf" -g -2 -vendor=NXP -pLPC1768 -wire=winUSB -s250 -flash-driver=LPC175x_6x_512.cfx&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCX176x_cmsis2_systick_twinkle/Debug/LPCX176x_cmsis2_systick_twinkle.axf" -g -2 -vendor=NXP -pLPC1768 -wire=winUSB -s250 -flash-driver=LPC175x_6x_512.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v7.6 (Jan 28 2015 22:25:00 - crt_emu_cm3_nxp build 50)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 0) Reading remote configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 5) Remote configuration complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 30) Emulator Connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 40) Debug Halt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 50) CPU ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: LPCLINK_1_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Packet delay: 0&amp;nbsp; Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: loaded v.2 On-chip Flash Memory LPC175x_6x_512.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: image 'LPC175x_6x (512K) Jan 22 2015 07:52:11'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: NXP: LPC1768&amp;nbsp; Part ID: 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 65) Chip Setup Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cr:v LPCXpresso Free License - Download limit is 256K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 70) License Check Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Loading ELF file 'LPCX176x_cmsis2_systick_twinkle.axf' at location 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Writing 1528 bytes to address 0x00000000 in Flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: 1 of 1 (&amp;nbsp; 0) Writing pages 0-0 at 0x00000000 with 1528 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;^C&lt;BR /&gt;$ &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the program was waiting at the writing step for a long time w/o any progress. Am I missing any step here to successfuly flash the target image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:44:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:44:58Z</dc:date>
    <item>
      <title>Unable to flash LPCXpresso LPC1769 from command line in Linux</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553587#M12840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mohan on Sat Mar 28 23:50:45 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Ubuntu 14.04.3 x86_64 development platform and installed LPCXpresso v7.6.2. I tried to flash new programs to LPCXpresso LPC1769 target from the IDE, which progressed in the download for long time and didn't complete. So I planned to use the command line utils to flash the target.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$ cd /usr/local/lpcxpresso_7.6.2_326/lpcxpresso&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;$ bin/dfu-util -d 0x0471:0xdf55 -c 0 -t 2048 -R -D bin/LPCXpressoWIN.enc&lt;/STRONG&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 0x0471:0xdf55...&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: [0x0471:0xdf55] devnum=22, cfg=0, intf=0, alt=0, name="UNDEFINED"&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=583&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting download: [##################################################] finished!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Done!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can't detach: error sending control message: Broken pipe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resetting USB to switch back to runtime mode&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;$ /usr/local/lpcxpresso_7.6.2_326/lpcxpresso/bin/crt_emu_cm3_nxp -flash-load-exec "/home/mohan/LPCXpresso/workspace/LPCX176x_cmsis2_systick_twinkle/Debug/LPCX176x_cmsis2_systick_twinkle.axf" -g -2 -vendor=NXP -pLPC1768 -wire=winUSB -s250 -flash-driver=LPC175x_6x_512.cfx&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCX176x_cmsis2_systick_twinkle/Debug/LPCX176x_cmsis2_systick_twinkle.axf" -g -2 -vendor=NXP -pLPC1768 -wire=winUSB -s250 -flash-driver=LPC175x_6x_512.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v7.6 (Jan 28 2015 22:25:00 - crt_emu_cm3_nxp build 50)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 0) Reading remote configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: (&amp;nbsp; 5) Remote configuration complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 30) Emulator Connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 40) Debug Halt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 50) CPU ID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Emu(0): Conn&amp;amp;Reset. DpID: 2BA01477. Info: LPCLINK_1_1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Packet delay: 0&amp;nbsp; Poll delay: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: loaded v.2 On-chip Flash Memory LPC175x_6x_512.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: image 'LPC175x_6x (512K) Jan 22 2015 07:52:11'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: NXP: LPC1768&amp;nbsp; Part ID: 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 65) Chip Setup Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cr:v LPCXpresso Free License - Download limit is 256K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pc: ( 70) License Check Complete&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Loading ELF file 'LPCX176x_cmsis2_systick_twinkle.axf' at location 00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nt: Writing 1528 bytes to address 0x00000000 in Flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pb: 1 of 1 (&amp;nbsp; 0) Writing pages 0-0 at 0x00000000 with 1528 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;^C&lt;BR /&gt;$ &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the program was waiting at the writing step for a long time w/o any progress. Am I missing any step here to successfuly flash the target image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553587#M12840</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to flash LPCXpresso LPC1769 from command line in Linux</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553588#M12841</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 Sun Mar 29 04:23:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens if you debug the application? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553588#M12841</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to flash LPCXpresso LPC1769 from command line in Linux</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553589#M12842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mohan on Wed Apr 01 11:44:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The program got downloaded successfully and debug session started when I 'Debug the application'!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm planning to run eLua on the LPCXpresso LPC1769 target, so expecting to download the binaries with few simple commands. So 'Debug' is a way to download the application to target flash usually?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553589#M12842</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to flash LPCXpresso LPC1769 from command line in Linux</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553590#M12843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Apr 01 11:54:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mohan&lt;/STRONG&gt;&lt;BR /&gt;So 'Debug' is a way to download the application to target flash usually?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Debug' is used to Debug&amp;nbsp; :D &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to flash, use 'Program Flash':&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%2Fcontent%2Ffaq%2Flpcxpresso%2Fgui-flash-programming-tool" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/gui-flash-programming-tool&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or command line flash programming tool:&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%2Fcontent%2Ffaq%2Flpcxpresso%2Fcommand-line-flash-programming" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/command-line-flash-programming&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553590#M12843</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to flash LPCXpresso LPC1769 from command line in Linux</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553591#M12844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mohan on Wed Apr 01 12:04:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The command line flash link helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the dfu-util command once for the first time when the target is USB plugged-in and then ran &lt;/SPAN&gt;&lt;I&gt;flash_utility&lt;/I&gt;&lt;SPAN&gt; as many times to download different applications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks R2D2 :exmark: &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:45:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Unable-to-flash-LPCXpresso-LPC1769-from-command-line-in-Linux/m-p/553591#M12844</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:45:01Z</dc:date>
    </item>
  </channel>
</rss>

