<?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のトピックMethods of flash program</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Methods-of-flash-program/m-p/571953#M20819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Albert on Mon Feb 21 06:10:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[IMG]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fknowledgebase.nxp.com%2Fimages%2Ficons%2Ficon1.gif%5B%2FIMG%5D" rel="nofollow" target="_blank"&gt;http://knowledgebase.nxp.com/images/icons/icon1.gif[/IMG]&lt;/A&gt;&lt;SPAN&gt; [B]JTAG, SWD e IAP - Program memory[/B] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My doubts can be obvious for someone. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a little of doubts about the flash programing methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I debug my code with JTAG or SWD these methods program the code in&amp;nbsp; the flash automatically, but how? They call the IAP command for do the&amp;nbsp; program?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IAP comand can just write and erase data in the flash, or it can program the code in the flash as ISP? What the function of IAP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read on a docment that if you put 0 on P0.22 after reset the ISP mode&amp;nbsp; is called and know as "first boot", but in the same condition the&amp;nbsp; processor can enter on IAP mode, which is know of "Second boot" . How&amp;nbsp; can I enter on the "second boot"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:23:48 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:23:48Z</dc:date>
    <item>
      <title>Methods of flash program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Methods-of-flash-program/m-p/571953#M20819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Albert on Mon Feb 21 06:10:28 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[IMG]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fknowledgebase.nxp.com%2Fimages%2Ficons%2Ficon1.gif%5B%2FIMG%5D" rel="nofollow" target="_blank"&gt;http://knowledgebase.nxp.com/images/icons/icon1.gif[/IMG]&lt;/A&gt;&lt;SPAN&gt; [B]JTAG, SWD e IAP - Program memory[/B] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My doubts can be obvious for someone. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a little of doubts about the flash programing methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I debug my code with JTAG or SWD these methods program the code in&amp;nbsp; the flash automatically, but how? They call the IAP command for do the&amp;nbsp; program?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IAP comand can just write and erase data in the flash, or it can program the code in the flash as ISP? What the function of IAP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read on a docment that if you put 0 on P0.22 after reset the ISP mode&amp;nbsp; is called and know as "first boot", but in the same condition the&amp;nbsp; processor can enter on IAP mode, which is know of "Second boot" . How&amp;nbsp; can I enter on the "second boot"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Methods-of-flash-program/m-p/571953#M20819</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Methods of flash program</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Methods-of-flash-program/m-p/571954#M20820</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 Mon Feb 21 06:53:30 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;IAP is "In Application Programming" and is a set of functions in ROM for your application to call, to read/write Flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ISP is "In System Programming" and is a boot mode that does not execute the code (your code) in Flash, but instead loads a program over one of the supported interfaces (UART, USB, etc depending on your chip) and programs the Flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Debugger uses its own mechanisms for programming the flash via the processors debug connection (JTAG/SWD).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the processor comes out of reset, it always runs from code in ROM. This is the First Boot. The First Boot performas various configuration/setp operations, and then (depending on your pin configuration) either calls the ISP, or the code in Flash (providing the Flash checksum is correct).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a debugger connected, the First Boot runs, and then the debugger takes over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Methods-of-flash-program/m-p/571954#M20820</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:23:49Z</dc:date>
    </item>
  </channel>
</rss>

