<?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 Re: IAP_ReinvokeISP in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871411#M34746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using the same IAP_ReinvokeISP but I want to use the USB = 2. but it cannot recognize the usb device. I was using the lpcxpresso51u68_iap_flash example.&lt;/P&gt;&lt;P&gt;I just added&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"\r\nIAP_ReinvokeISP\r\n"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IAP_ReinvokeISP(2, &amp;amp;status);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (status != &lt;/SPAN&gt;&lt;EM style=": ; color: #0000c0; font-size: small; "&gt;kStatus_IAP_Success&lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small; "&gt;"\r\nReinvoke ISP failed\r\n"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I would like to use the drag and drop method&amp;nbsp;just like when I press the &amp;nbsp;ISP0 button on the LPCXpresso board but using the IAP_ReinvokeISP with param = 2&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2019 08:03:51 GMT</pubDate>
    <dc:creator>seowwoo_quek</dc:creator>
    <dc:date>2019-04-05T08:03:51Z</dc:date>
    <item>
      <title>IAP_ReinvokeISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871408#M34743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am invoking iap_entry to force it into ISP mode using UART 0, regardless of the ISP0/1/2 pin state. &amp;nbsp;I use ISP_ReinvokeISP provided in fsl_iap.h with these arguments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint32_t status = 0;&lt;/P&gt;&lt;P&gt;IAP_Reinvoke(1, &amp;amp;status); &amp;nbsp;// Argument 1 as 1 forces booting into ISP UART mode according to documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this always fails with status = ERR_ISP_REINVOKE_ISP_CONFIG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is on a LPC51U68 using the LPCXpresso demo board. &amp;nbsp;I do have UART clocks enabled at this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this processor support iap_entry to boot into ISP mode? &amp;nbsp;Or are there other conditions I need in place before calling ISP_ReinvokeISP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 16:37:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871408#M34743</guid>
      <dc:creator>jholiday75</dc:creator>
      <dc:date>2019-01-29T16:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: IAP_ReinvokeISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871409#M34744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334923" data-username="jholiday75@gmail.com" href="https://community.nxp.com/people/jholiday75@gmail.com"&gt;Joe Holiday&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;From the user manual of lpc51u68, it support "Reinvoke ISP " command,&lt;/P&gt;&lt;P&gt;could you please send your project to me , then I can reproduce the problem on my side,&lt;/P&gt;&lt;P&gt;and check it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 09:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871409#M34744</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-30T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: IAP_ReinvokeISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871410#M34745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334923" data-username="jholiday75@gmail.com" href="https://community.nxp.com/people/jholiday75@gmail.com"&gt;Joe Holiday&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; checked your code, please change your IAP_ReinvokeISP function as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;BR /&gt;void IAP_ReinvokeISP(uint8_t ispType, uint32_t *status)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t command[5], result[5];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t ispParameterArray[8];&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; command[0] = kIapCmd_FLASHIAP_ReinvokeISP;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; memset(ispParameterArray, 0, sizeof(uint8_t) * 8);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ispParameterArray[1] = ispType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ispParameterArray[7] = ispParameterArray[0] ^ ispParameterArray[1] ^ ispParameterArray[2] ^ ispParameterArray[3] ^&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ispParameterArray[4] ^ ispParameterArray[5] ^ ispParameterArray[6];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; command[1] =ispType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iap_entry(command, result);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *status = translate_iap_status(result[0]);&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871410#M34745</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-03-12T15:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: IAP_ReinvokeISP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871411#M34746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using the same IAP_ReinvokeISP but I want to use the USB = 2. but it cannot recognize the usb device. I was using the lpcxpresso51u68_iap_flash example.&lt;/P&gt;&lt;P&gt;I just added&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small;"&gt;"\r\nIAP_ReinvokeISP\r\n"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IAP_ReinvokeISP(2, &amp;amp;status);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: small; "&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; (status != &lt;/SPAN&gt;&lt;EM style=": ; color: #0000c0; font-size: small; "&gt;kStatus_IAP_Success&lt;/EM&gt;&lt;SPAN style="font-size: small;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: small; "&gt;"\r\nReinvoke ISP failed\r\n"&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I would like to use the drag and drop method&amp;nbsp;just like when I press the &amp;nbsp;ISP0 button on the LPCXpresso board but using the IAP_ReinvokeISP with param = 2&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2019 08:03:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-ReinvokeISP/m-p/871411#M34746</guid>
      <dc:creator>seowwoo_quek</dc:creator>
      <dc:date>2019-04-05T08:03:51Z</dc:date>
    </item>
  </channel>
</rss>

