<?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 FAQs中的主题 Using the command line flash programming tool</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743#M128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash programming is usually invoked automatically when you launch a debug session from within the LPCXpresso IDE, but can also be accessed directly using a command line utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be useful for things like programming the flash for devices with limited production runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Some debug probes require booting before the flash programming utility can be run. For more details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If using LPC-Link, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="388960" data-objecttype="1" href="https://community.nxp.com/thread/388960"&gt;Booting LPC-Link&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;If using LPC-Link 2, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="388964" data-objecttype="1" href="https://community.nxp.com/thread/388964"&gt;Booting LPC-Link2.&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Running the flash programming utility&lt;/H2&gt;&lt;HR /&gt;&lt;P&gt;The LPCXpresso IDE flash programming stubs are located at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;TT&gt;&amp;lt;install_dir&amp;gt;/lpcxpresso/bin/&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To run a flash programming operation from the command line, the correct flash utility stub for your part should be called with appropriate options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;TT&gt;crt_emu_cm_redlink -flash-load-exec "LPC11U68_App.axf" -vendor=NXP -pLPC11U68&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; A simple way of finding the correct command and options, is to use the GUI Flash Utility, the completion dialog shows the exact command line invoked by the GUI. see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flash programming utility takes the following options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; &lt;EM&gt;wire&lt;/EM&gt; -p&lt;EM&gt;target&lt;/EM&gt; -vendor=NXP -flash-load[-exec] &lt;EM&gt;"filename&lt;/EM&gt;" [-load-base=&lt;EM&gt;base_address&lt;/EM&gt;] [-flash-driver=&lt;EM&gt;flashdriver&lt;/EM&gt;]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; when using LPCLink-2 or any CMSIS-DAP probe connected to a Cortex-M CPU is:&lt;UL&gt;&lt;LI&gt;crt_emu_cm_redlink&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Both the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Flpc-cortex-m-mcus%2Fsoftware-and-tools-for-lpc-mcus%2Flpcxpresso-boards%3ALPCXPRESSO-BOARDS" rel="nofollow" target="_blank"&gt;LPCXpresso V2/V3 boards&lt;/A&gt; and RDB4078 incorporate a built in &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Flpc-cortex-m-mcus%2Flpc-low-power-cortex-m4-mcus%2Flpc4300-cortex-m4-m0-mcus%2Flpc-link2%3AOM13054" rel="nofollow" target="_blank"&gt;LPC-Link2 &lt;/A&gt;debug probe&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; From LPCXpresso IDE v8.1 and later, LPCLink and Red Probe &lt;SPAN class="emoticon_plus emoticon-inline" style="height: 16px; width: 16px;"&gt;&lt;/SPAN&gt; should also be used with the redlink flash utility&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; when using LPCLink or Red Probe(+) with LPCXpresso IDE 8.0 and earlier:&lt;UL&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_cm_gen&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC11U6x, LPC11E6x, LPC8xx, LPC15xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_lpc11_13&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC11xx, LPC11Axx, LPC11Cxx, LPC11Dxx, LPC11xxLV, LPC11U1x/2x/3x, LPC11E1x/2x/3x, LPC12xx, LPC13xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_cm3_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC17xx, LPC407x_8x parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_lpc18_43_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC18xx and LPC43xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_a7_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC21xx/22xx/23xx/24xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_a9_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for LPC31xx/32xx and LPC29xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;wire&lt;/EM&gt; is one of:&lt;UL&gt;&lt;LI&gt;(empty) for LPC-Link2&lt;/LI&gt;&lt;LI&gt;(empty) for Red Probe+, Red Probe&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=winusb&lt;/TT&gt; for RDB1768v2&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=winusb &lt;/TT&gt;for LPC-Link on Windows XP, Windows 8, Linux and Mac OSX&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=hid&lt;/TT&gt; (or LPC-Link on Windows Vista or Windows 7&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;target&lt;/EM&gt; is the target chip name. For example LPC1343, LPC1114/301, LPC1768 etc.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;filename&lt;/EM&gt; is the file to flash program. It may be an executable (axf) or a binary (bin) file. If using a binary file, the &lt;EM&gt;base_address&lt;/EM&gt; also must be specified.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;base_address&lt;/EM&gt; is the address where the binary file will be written. It should be specified as a hex value with a leading 0x.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;flashdriver&lt;/EM&gt; for parts with external flash, a flash driver can be specified, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389079" data-objecttype="1" href="https://community.nxp.com/thread/389079"&gt;LPC18 / LPC43 External Flash Drivers&lt;/A&gt; for more information.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;-flash-load&lt;/STRONG&gt; will leave the processor in a stopped state.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;-flash-load-exec&lt;/STRONG&gt; will start execution of application as soon as download has completed.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Examples&lt;/H2&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;To load the executable file app.axf and start it executing on an LPC1768 target using LPC-Link2, use the following command line:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;TT&gt;crt_emu_cm_redlink -pLPC1768 -vendor=NXP -flash-load-exec "app.axf"&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load the binary file binary.bin to address 0x1000 to an LPC1343 target using LPC-Link on Windows 8, Linux or Mac OSX, use the following command line:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;TT&gt;crt_emu_lpc11_13_nxp -wire=hid -pLPC1343 -vendor=NXP -flash-load "binary.bin" -load-base=0x1000&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load the executable file app.axf and start executing on an LPC11U68 target, using RedProbe+ use the following command line:&lt;/P&gt;&lt;P style="background: #eee; padding: 5px 10px;"&gt;&lt;TT&gt;crt_emu_cm_gen -pLPC11U68 -vendor=NXP -flash-load-exec "app.axf&lt;/TT&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Also see....&lt;/H2&gt;&lt;HR /&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389157" data-objecttype="1" href="https://community.nxp.com/thread/389157"&gt;What is Redlink?&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389157" data-objecttype="1" href="https://community.nxp.com/thread/389157"&gt;What is Redlink?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 04:42:13 GMT</pubDate>
    <dc:creator>lpcware-support</dc:creator>
    <dc:date>2016-04-01T04:42:13Z</dc:date>
    <item>
      <title>Using the command line flash programming tool</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743#M128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flash programming is usually invoked automatically when you launch a debug session from within the LPCXpresso IDE, but can also be accessed directly using a command line utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be useful for things like programming the flash for devices with limited production runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Some debug probes require booting before the flash programming utility can be run. For more details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If using LPC-Link, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="388960" data-objecttype="1" href="https://community.nxp.com/thread/388960"&gt;Booting LPC-Link&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;If using LPC-Link 2, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="388964" data-objecttype="1" href="https://community.nxp.com/thread/388964"&gt;Booting LPC-Link2.&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Running the flash programming utility&lt;/H2&gt;&lt;HR /&gt;&lt;P&gt;The LPCXpresso IDE flash programming stubs are located at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;TT&gt;&amp;lt;install_dir&amp;gt;/lpcxpresso/bin/&lt;/TT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To run a flash programming operation from the command line, the correct flash utility stub for your part should be called with appropriate options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;TT&gt;crt_emu_cm_redlink -flash-load-exec "LPC11U68_App.axf" -vendor=NXP -pLPC11U68&lt;/TT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; A simple way of finding the correct command and options, is to use the GUI Flash Utility, the completion dialog shows the exact command line invoked by the GUI. see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flash programming utility takes the following options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; &lt;EM&gt;wire&lt;/EM&gt; -p&lt;EM&gt;target&lt;/EM&gt; -vendor=NXP -flash-load[-exec] &lt;EM&gt;"filename&lt;/EM&gt;" [-load-base=&lt;EM&gt;base_address&lt;/EM&gt;] [-flash-driver=&lt;EM&gt;flashdriver&lt;/EM&gt;]&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;where:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; when using LPCLink-2 or any CMSIS-DAP probe connected to a Cortex-M CPU is:&lt;UL&gt;&lt;LI&gt;crt_emu_cm_redlink&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Both the &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Flpc-cortex-m-mcus%2Fsoftware-and-tools-for-lpc-mcus%2Flpcxpresso-boards%3ALPCXPRESSO-BOARDS" rel="nofollow" target="_blank"&gt;LPCXpresso V2/V3 boards&lt;/A&gt; and RDB4078 incorporate a built in &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Flpc-cortex-m-mcus%2Flpc-low-power-cortex-m4-mcus%2Flpc4300-cortex-m4-m0-mcus%2Flpc-link2%3AOM13054" rel="nofollow" target="_blank"&gt;LPC-Link2 &lt;/A&gt;debug probe&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; From LPCXpresso IDE v8.1 and later, LPCLink and Red Probe &lt;SPAN class="emoticon_plus emoticon-inline" style="height: 16px; width: 16px;"&gt;&lt;/SPAN&gt; should also be used with the redlink flash utility&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;flash_utility&lt;/EM&gt; when using LPCLink or Red Probe(+) with LPCXpresso IDE 8.0 and earlier:&lt;UL&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_cm_gen&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC11U6x, LPC11E6x, LPC8xx, LPC15xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_lpc11_13&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC11xx, LPC11Axx, LPC11Cxx, LPC11Dxx, LPC11xxLV, LPC11U1x/2x/3x, LPC11E1x/2x/3x, LPC12xx, LPC13xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_cm3_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC17xx, LPC407x_8x parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_lpc18_43_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC18xx and LPC43xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_a7_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for use with LPC21xx/22xx/23xx/24xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;crt_emu_a9_nxp&lt;/TT&gt;&lt;UL&gt;&lt;LI&gt;for LPC31xx/32xx and LPC29xx parts&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;wire&lt;/EM&gt; is one of:&lt;UL&gt;&lt;LI&gt;(empty) for LPC-Link2&lt;/LI&gt;&lt;LI&gt;(empty) for Red Probe+, Red Probe&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=winusb&lt;/TT&gt; for RDB1768v2&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=winusb &lt;/TT&gt;for LPC-Link on Windows XP, Windows 8, Linux and Mac OSX&lt;/LI&gt;&lt;LI&gt;&lt;TT&gt;-wire=hid&lt;/TT&gt; (or LPC-Link on Windows Vista or Windows 7&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;target&lt;/EM&gt; is the target chip name. For example LPC1343, LPC1114/301, LPC1768 etc.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;filename&lt;/EM&gt; is the file to flash program. It may be an executable (axf) or a binary (bin) file. If using a binary file, the &lt;EM&gt;base_address&lt;/EM&gt; also must be specified.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;base_address&lt;/EM&gt; is the address where the binary file will be written. It should be specified as a hex value with a leading 0x.&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;flashdriver&lt;/EM&gt; for parts with external flash, a flash driver can be specified, see &lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389079" data-objecttype="1" href="https://community.nxp.com/thread/389079"&gt;LPC18 / LPC43 External Flash Drivers&lt;/A&gt; for more information.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;-flash-load&lt;/STRONG&gt; will leave the processor in a stopped state.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;-flash-load-exec&lt;/STRONG&gt; will start execution of application as soon as download has completed.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Lato, sans-serif; color: #e66e08; font-size: 18px; background: 0 50% #ffffff;"&gt;Examples&lt;/H2&gt;&lt;HR style="color: #646464; font-family: Arial, sans-serif; font-size: 12px;" /&gt;&lt;P&gt;To load the executable file app.axf and start it executing on an LPC1768 target using LPC-Link2, use the following command line:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;TT&gt;crt_emu_cm_redlink -pLPC1768 -vendor=NXP -flash-load-exec "app.axf"&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load the binary file binary.bin to address 0x1000 to an LPC1343 target using LPC-Link on Windows 8, Linux or Mac OSX, use the following command line:&lt;/P&gt;&lt;P style="color: #646464; font-family: Arial, sans-serif; font-size: 12px; padding: 5px 10px; background: #eeeeee;"&gt;&lt;TT&gt;crt_emu_lpc11_13_nxp -wire=hid -pLPC1343 -vendor=NXP -flash-load "binary.bin" -load-base=0x1000&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load the executable file app.axf and start executing on an LPC11U68 target, using RedProbe+ use the following command line:&lt;/P&gt;&lt;P style="background: #eee; padding: 5px 10px;"&gt;&lt;TT&gt;crt_emu_cm_gen -pLPC11U68 -vendor=NXP -flash-load-exec "app.axf&lt;/TT&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;Also see....&lt;/H2&gt;&lt;HR /&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389128" data-objecttype="1" href="https://community.nxp.com/thread/389128"&gt;Using the GUI flash programming tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389157" data-objecttype="1" href="https://community.nxp.com/thread/389157"&gt;What is Redlink?&lt;/A&gt;&lt;A _jive_internal="true" data-containerid="11529" data-containertype="14" data-objectid="389157" data-objecttype="1" href="https://community.nxp.com/thread/389157"&gt;What is Redlink?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 04:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Using-the-command-line-flash-programming-tool/m-p/474743#M128</guid>
      <dc:creator>lpcware-support</dc:creator>
      <dc:date>2016-04-01T04:42:13Z</dc:date>
    </item>
  </channel>
</rss>

