<?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 LPC-Link2 firmware update script cannot handle spaces in %temp% path. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-firmware-update-script-cannot-handle-spaces-in-temp/m-p/1404647#M47749</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;(I'm reposting this, as I think something went wrong with the last one.)&lt;/P&gt;&lt;P&gt;I just tried running the script C:\nxp\LPCScrypt_2.1.2_57\scripts\program_CMSIS.cmd and it generated the following error, although it seems to have programmed the LPC-Link2 anyway:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt - CMSIS-DAP firmware programming script v2.1.2 Nov 2020.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect an LPC-Link2 or LPCXpresso V2/V3 Board via USB then press Space.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Booting LPCScrypt target with "LPCScrypt_240.bin.hdr"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt target booted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;..&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error: &amp;lt;Command line&amp;gt;:1: Unknown memory 'Shipman\AppData\Local\Temp\Scrypt.log'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Script cmd: program C:\nxp\LPCScrypt_2.1.2_57\probe_firmware\LPCLink2\LPC432x_CMSIS_DAP_V5_361.bin.hdr SPIFI Shipman\AppData\Local\Temp\Scrypt.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Last target cmd: =queryFlash&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminated with errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The system cannot find the path specified.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ECHO is off.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Retrying ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error: &amp;lt;Command line&amp;gt;:1: Unknown memory 'Shipman\AppData\Local\Temp\Scrypt.log'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Script cmd: program C:\nxp\LPCScrypt_2.1.2_57\probe_firmware\LPCLink2\LPC432x_CMSIS_DAP_V5_361.bin.hdr SPIFI Shipman\AppData\Local\Temp\Scrypt.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Last target cmd: =queryFlash&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminated with errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The system cannot find the path specified.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ECHO is off.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Retrying ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Slowing clock ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programmed 30736 bytes to 0x14000000 in 0.185s (162.132KB/sec)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: NYBSL2KS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminate batch job (Y/N)?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;My %temp% variable is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;echo %temp%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie Shipman\AppData\Local\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The space char in the temp path is the problem. When I change %temp% the script worked:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;mkdir c:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;set temp=C:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;echo %temp%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;scripts\program_CMSIS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt - CMSIS-DAP firmware programming script v2.1.2 Nov 2020.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect an LPC-Link2 or LPCXpresso V2/V3 Board via USB then press Space.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: NYBSL2KS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Booting LPCScrypt target with "LPCScrypt_240.bin.hdr"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt target booted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: KZBQGWCV&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminate batch job (Y/N)? y&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Ronnie&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jan 2022 15:19:07 GMT</pubDate>
    <dc:creator>rshipman</dc:creator>
    <dc:date>2022-01-25T15:19:07Z</dc:date>
    <item>
      <title>LPC-Link2 firmware update script cannot handle spaces in %temp% path.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-firmware-update-script-cannot-handle-spaces-in-temp/m-p/1404647#M47749</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;(I'm reposting this, as I think something went wrong with the last one.)&lt;/P&gt;&lt;P&gt;I just tried running the script C:\nxp\LPCScrypt_2.1.2_57\scripts\program_CMSIS.cmd and it generated the following error, although it seems to have programmed the LPC-Link2 anyway:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt - CMSIS-DAP firmware programming script v2.1.2 Nov 2020.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect an LPC-Link2 or LPCXpresso V2/V3 Board via USB then press Space.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Booting LPCScrypt target with "LPCScrypt_240.bin.hdr"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt target booted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;..&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error: &amp;lt;Command line&amp;gt;:1: Unknown memory 'Shipman\AppData\Local\Temp\Scrypt.log'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Script cmd: program C:\nxp\LPCScrypt_2.1.2_57\probe_firmware\LPCLink2\LPC432x_CMSIS_DAP_V5_361.bin.hdr SPIFI Shipman\AppData\Local\Temp\Scrypt.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Last target cmd: =queryFlash&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminated with errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The system cannot find the path specified.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ECHO is off.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Retrying ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Error: &amp;lt;Command line&amp;gt;:1: Unknown memory 'Shipman\AppData\Local\Temp\Scrypt.log'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Script cmd: program C:\nxp\LPCScrypt_2.1.2_57\probe_firmware\LPCLink2\LPC432x_CMSIS_DAP_V5_361.bin.hdr SPIFI Shipman\AppData\Local\Temp\Scrypt.log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Last target cmd: =queryFlash&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminated with errors&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;The system cannot find the path specified.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ECHO is off.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Retrying ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Slowing clock ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programmed 30736 bytes to 0x14000000 in 0.185s (162.132KB/sec)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: NYBSL2KS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminate batch job (Y/N)?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;My %temp% variable is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;echo %temp%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Users\Ronnie Shipman\AppData\Local\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The space char in the temp path is the problem. When I change %temp% the script worked:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;mkdir c:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;set temp=C:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;echo %temp%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;C:\Temp&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;scripts\program_CMSIS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt - CMSIS-DAP firmware programming script v2.1.2 Nov 2020.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect an LPC-Link2 or LPCXpresso V2/V3 Board via USB then press Space.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: NYBSL2KS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Booting LPCScrypt target with "LPCScrypt_240.bin.hdr"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LPCScrypt target booted&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_361.bin.hdr"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;- LPC-Link2 programmed successfully and has the unique ID: KZBQGWCV&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Connect Next Board then press Space (or CTRL-C to Quit)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Press any key to continue . . .&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Terminate batch job (Y/N)? y&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;C:\nxp\LPCScrypt_2.1.2_57&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Ronnie&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 15:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-firmware-update-script-cannot-handle-spaces-in-temp/m-p/1404647#M47749</guid>
      <dc:creator>rshipman</dc:creator>
      <dc:date>2022-01-25T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 firmware update script cannot handle spaces in %temp% path.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-firmware-update-script-cannot-handle-spaces-in-temp/m-p/1405014#M47750</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/71022" target="_self" aria-label="View Profile of rshipman"&gt;&lt;SPAN class=""&gt;rshipman&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for your sharing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 08:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-firmware-update-script-cannot-handle-spaces-in-temp/m-p/1405014#M47750</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-01-26T08:37:50Z</dc:date>
    </item>
  </channel>
</rss>

