<?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 Re: JTAG Programming from command line in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588345#M28097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsacks on Sat Mar 23 11:02:09 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;By using a tmp directory and by adding the flash driver command specification, I have been able to download the codes successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:49:56 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:49:56Z</dc:date>
    <item>
      <title>JTAG Programming from command line</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588342#M28094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsacks on Fri Mar 22 19:58:49 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the Example Virtual Serial Device project from NXPUSBLib contains a space in it's directory structure (specifically Example_VirtualSerialDevice/LPC43xx M4/...) I can not successfully download code through the GUI programming tool in LPCXpresso. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have attempted to compile a binary file, and download to my LPCXplorer4330's M4 core. This results in the error included at the end of this post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestions as to how I can get some code downloading? I'm running Ubuntu 12.10 x32, and the LPC-Link JTAG programmer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have quadruple checked file permissions, and have tried multiple combinations of AXF files or BIN files. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[FONT=Courier New]$ crt_emu_lpc18_43_nxp -wire=winusb -pLPC4330 -vendor=NXP -flash-load-exec=~/Desktop/Example_VirtualSerialDevice.bin -load-base-address=0x14000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ni: LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:15:29)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for chip XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/LPC4330.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Looked for vendor directory XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/nxp_directory.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nc: Found generic directory XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/crt_directory.xml&lt;/SPAN&gt;&lt;BR /&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: 3000 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: NXP: LPC4330&amp;nbsp; Part ID: 0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cr:v Registered license, download limit of 128K&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Et:58: Cannot open binary file 'Example_VirtualSerialDevice.bin'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588342#M28094</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Programming from command line</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588343#M28095</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 Sat Mar 23 01:25:51 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Presumabley the tools aren't lying when they say "cannot open...". Does the file actually exist? Have you tried copying to another locacation (/tmp)? Have you tried running the utility from the same directory as the file, so you don't have to provide a complete path?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also see you are using v4.3.0. Latest version is v5.1.2. Time to upgrade?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thought: [FONT=Courier New]~[/FONT] is expanded by the shell - but not when it is embedded in the middle of a string, as it is in your example. Try replacing with the full path[FONT=Courier New]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/FONT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588343#M28095</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Programming from command line</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588344#M28096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sat Mar 23 07:01:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You are also missing the flash driver specification - needed as the LPC4330 has no internal flash, thus you must be trying to program an external flash device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your command will need to be something like the following, depending upon what external flash device you are using...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;crt_emu_lpc18_43_nxp -g -2 -vendor=NXP -pLPC4330 -wire=winusb -flash-load-exec "proj.axf" -flash-driver=LPC18_43_SPIFI_4MB_64KB.cfx&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More information on LPC18/43 flash drivers for external flash devices at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/LPC18xx_43xx_ExternalFlash&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588344#M28096</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: JTAG Programming from command line</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588345#M28097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nsacks on Sat Mar 23 11:02:09 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;By using a tmp directory and by adding the flash driver command specification, I have been able to download the codes successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/JTAG-Programming-from-command-line/m-p/588345#M28097</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:56Z</dc:date>
    </item>
  </channel>
</rss>

