<?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: Hard reset target when flashing.</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593355#M30416</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 Thu Oct 01 11:28:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A problem has been identified with flash operation using the Flash Dialog generated command-line. You'll notice two command-line changes when the 'Reset target on completion' check box is selected. First the '-flash-load' option changes to 'flash-load-exec'. Second is the addition of the '-reset=vectreset' option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll investigate a fix. In the meantime, you can get the behavior you want by using the the stub from the command-line, minus the '-reset=vectreset' option. Note that the reset type defaults to VECTRESET for this part in either case, so there's no reason to specify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an example command-line without the '-reset' option:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;crt_emu_cm_redlink.exe -flash-load-exec "C:\Users\matys4877\Documents\lpcopen_2_14_1_lpcxpresso_lpcxpresso_54102\multicore_m4master_blinky\Debug\multicore_m4master_blinky.axf" -g -2 -vendor=NXP -pLPC54102J512 -flash-driver=LPC5410x_512K.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:54:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:54:39Z</dc:date>
    <item>
      <title>Hard reset target when flashing.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593354#M30415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by matys4877 on Tue Sep 29 07:21:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm writing program for the LPC54102. It uses both cores.&amp;nbsp; I noticed that after using "Flash Program" button uc is not booting. I must then click on reset button on LPCXPresso evaluation board. Problem occurs also in LPCOpen multicore blink example.&amp;nbsp; I also noticed that I can restart uc using crt_emu_cm_redlink program with "--reset hard" command. This command not working when RedLink Server is active so i must close it through LPCXpresso. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So to program i must:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use "Program Flash" button to load firmware to uc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use "Kill server" button to close RedLink Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use "crt_emu_cm_redlink --reset hard" command in terminal &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then program boots properly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to cause hard reset after flashing new firmware automatically? I tried adding "--reset hard" to Additional Options in "Program Flash" window but it's not working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My system is Ubuntu 14.04&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso 7.9&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use only 1 master core there is no problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mateusz&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593354#M30415</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hard reset target when flashing.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593355#M30416</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 Thu Oct 01 11:28:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A problem has been identified with flash operation using the Flash Dialog generated command-line. You'll notice two command-line changes when the 'Reset target on completion' check box is selected. First the '-flash-load' option changes to 'flash-load-exec'. Second is the addition of the '-reset=vectreset' option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll investigate a fix. In the meantime, you can get the behavior you want by using the the stub from the command-line, minus the '-reset=vectreset' option. Note that the reset type defaults to VECTRESET for this part in either case, so there's no reason to specify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's an example command-line without the '-reset' option:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;crt_emu_cm_redlink.exe -flash-load-exec "C:\Users\matys4877\Documents\lpcopen_2_14_1_lpcxpresso_lpcxpresso_54102\multicore_m4master_blinky\Debug\multicore_m4master_blinky.axf" -g -2 -vendor=NXP -pLPC54102J512 -flash-driver=LPC5410x_512K.cfx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593355#M30416</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hard reset target when flashing.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593356#M30417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by matys4877 on Thu Oct 01 12:03:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Nice solution. I didn't notice change in 'flash-load-exec'. Now it's working well. In meantime i found another better way to restart uc. You must paste &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WireHoldReset 1 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WireHoldReset 1 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; to redlink server console in eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mateusz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593356#M30417</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hard reset target when flashing.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593357#M30418</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 Thu Oct 01 13:23:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That can work too. Most people prefer to avoid the Redlink Server console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Hard-reset-target-when-flashing/m-p/593357#M30418</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:54:40Z</dc:date>
    </item>
  </channel>
</rss>

