<?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>Kinetis MicrocontrollersのトピックRe: IAR generated scripts to flash load not working from Command line ? (CSPY, P&amp;E micro, infinite loop to select device, cli)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IAR-generated-scripts-to-flash-load-not-working-from-Command/m-p/924490#M53863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Clement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry for now answering your question, this case was in a different community until now, so we couldn't see it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you still having problem with this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2019 00:22:51 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-08-22T00:22:51Z</dc:date>
    <item>
      <title>IAR generated scripts to flash load not working from Command line ? (CSPY, P&amp;E micro, infinite loop to select device, cli)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IAR-generated-scripts-to-flash-load-not-working-from-Command/m-p/924489#M53862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 0px 0px 1.5em;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;I'm new using IAR, and although I'm ok with it, I'm not finding a way to get a flash loading script.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;When I do Download active application from IAR &amp;gt; it's working asking me to pass by P&amp;amp;E connection manager to select interface port + device.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;The second time asking the same &amp;gt; it's working without asking me anything else (because he saved device + port in a dnx file in the settings folder it seems)&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;NOW THE PROBLEM:&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;In the same settings folder, it generated some cspy scripts &amp;gt; apparently to start a debug session.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;In the comments, it says I can use the --download_only parameter to (obviously) download only the application.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;The problem is when I use one of those scripts, it asks me to select a device + interface port (which should be in the dnx file), and once I selected it, it asks me again, and again, and again, and again, etc, etc&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;Is this normal (I hope not ^^) ?&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;Also I'm really stuck here, I downloaded read partially all the apparent documentation from IAR, CSpy, PE micro, EWARM, and never found how to feed this dnx file to cspy or do something else.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;How should I do to flash this application from command line ? or generate a script from IAR that corresponds to Download active application (I tried with the log all message but not giving anything)&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;So I'm hopelessly stuck now.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;If someone can tell me how to flash a micro using this configuration :&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;Micro : NXP_KL0x_KL03Z32M4&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;Interface P&amp;amp;E debug probe multilink universal&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;IAR : ARM 8.20.2&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;&amp;nbsp;I do not necessarly WANT to use IAR to generate the script, it's just that I don't know yet the envronment and so I don't know how to do anything for this particular script I want, I take any suggestion.&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px;"&gt;Also I'm pretty sure MCUXpresso would be better for that, it's an existing project end of development cycle, changing IDE when I don't even know for sure everything IAR is doing for the project is not a good idea in my opinion. Because changing toolchain would imply redoing a LOT of tests &amp;gt; so not an option for this project, still need to be able to flash it from script&lt;/P&gt;&lt;P style="color: #111111; background-color: #ffffff; margin: 1.5em 0px 0px;"&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 09:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IAR-generated-scripts-to-flash-load-not-working-from-Command/m-p/924489#M53862</guid>
      <dc:creator>clement_dourval</dc:creator>
      <dc:date>2019-07-16T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: IAR generated scripts to flash load not working from Command line ? (CSPY, P&amp;E micro, infinite loop to select device, cli)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/IAR-generated-scripts-to-flash-load-not-working-from-Command/m-p/924490#M53863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Clement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry for now answering your question, this case was in a different community until now, so we couldn't see it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you still having problem with this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 00:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/IAR-generated-scripts-to-flash-load-not-working-from-Command/m-p/924490#M53863</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-08-22T00:22:51Z</dc:date>
    </item>
  </channel>
</rss>

