<?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: Reinvoke ISP issue on a LPC802? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1663592#M52866</link>
    <description>&lt;P&gt;I just thought I'd mention that I was experiencing the same problem, but we found a solution.&amp;nbsp; The thread is here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-Reinvoke-ISP-not-working-with-LPCXpresso802-OM40000-Rev-A/m-p/1657934" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-Reinvoke-ISP-not-working-with-LPCXpresso802-OM40000-Rev-A/m-p/1657934&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;Remove calls to &lt;STRONG&gt;__disable_irq();&lt;/STRONG&gt; from my code before I call the library's &lt;STRONG&gt;IAP_ReinvokeISP()&lt;/STRONG&gt; function.&amp;nbsp; Additionally, modify the library's &lt;STRONG&gt;iap_entry()&lt;/STRONG&gt; function to remove the call to&amp;nbsp;&lt;STRONG&gt;__disable_irq();&lt;/STRONG&gt; from there also!&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 15:32:27 GMT</pubDate>
    <dc:creator>jrevans</dc:creator>
    <dc:date>2023-06-05T15:32:27Z</dc:date>
    <item>
      <title>Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048338#M40629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an example of implementing the reinvoke_isp on a LPC802? &lt;BR /&gt;Also what is meant by this line in the manual "If using USART ISP mode, enable the clocks to the default before calling this command."? Are the clocks in default after a power reset?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; command[0] = (uint32_t) 57;&lt;BR /&gt; command[1] = 1;&lt;BR /&gt; iap_entry(command, result);&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I know the hardware is correct because when I reset without any code loaded or reset and pull the ISP pin low I enter the Autobaud detection routine. &lt;BR /&gt;However, when I try to enter through software it goes to address 0x0F0003B6 and hangs. If I change the Type to anything other than one the iap_entry returns with an error.&lt;/P&gt;&lt;P&gt;I have tried setting the clocks in all sorts of ways without any luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 03:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048338#M40629</guid>
      <dc:creator>t123456</dc:creator>
      <dc:date>2020-07-01T03:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048339#M40630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="361326" data-username="t123456" href="https://community.nxp.com/people/t123456" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;Tad Masek&lt;/A&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;You can refer to the code about&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit;"&gt;Chip_IAP_ReinvokeISP() &lt;SPAN style="color: #000000;"&gt;in below thread:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/461991"&gt;How to reinvoke bootloader in LPC824 with iap command?&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 05:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048339#M40630</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-02T05:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048340#M40631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply. I actually tried that code early on in my testing. Here is the output:&lt;/P&gt;&lt;P&gt;Part ID is: 00008023&lt;BR /&gt;Unique Part ID is:0x20480C028055AE63012614110A14F5000D03&lt;BR /&gt;Enter UART ISP mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code stops at the same location in memory as mine did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC = 0F00025A, CycleCnt = 00000000&lt;BR /&gt;R0 = 00000000, R1 = 00000001, R2 = 000000FF, R3 = 00000000&lt;BR /&gt;R4 = 00000001, R5 = 00000000, R6 = 00000001, R7 = 10000738&lt;BR /&gt;R8 = FFFFFFFF, R9 = FFFFFFFF, R10= 0FFF07E0, R11= 00000000&lt;BR /&gt;R12= 00000015&lt;BR /&gt;SP(R13)= 10000338, MSP= 100006C8, PSP= 10000338, R14(LR) = 0F0003BD&lt;BR /&gt;XPSR = 61000000: APSR = nZCvq, EPSR = 01000000, IPSR = 000 (NoException)&lt;BR /&gt;CFBP = 02000001, CONTROL = 02, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 01&lt;BR /&gt;FPU regs: FPU not enabled / not implemented on connected CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So calling Reinvoke ISP seems to be working. If I give it any other type than 1 (serial) it will exit. However it just hangs. This only happen when entering ISP through software. It would fine if I enter using the ISP pin. This makes me wonder if its a clock setup issue or something but i cant find any details on how to setup to call reinvoke isp other than "If using USART ISP mode, enable the clocks to the default before calling this command."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 17:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048340#M40631</guid>
      <dc:creator>t123456</dc:creator>
      <dc:date>2020-07-02T17:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048341#M40632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tad,&lt;/P&gt;&lt;P&gt;You can use Flash Magic test whether enter ISP mode, refer to this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/1104337"&gt;https://community.nxp.com/message/1104337&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 10:50:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048341#M40632</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-06T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048342#M40633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this link but testing if I entered it has not been a issue? ISP works find when I enter through hardware. The micro controller just hangs when I enter ISP through software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well I am making the assumption that when entering ISP through software it will enter at the autobaud routine so I need to send the ? until I get the "Synchronize" in return. Is this correct? I have tried initializing the UART before calling reinvoke isp but that didnt make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048342#M40633</guid>
      <dc:creator>t123456</dc:creator>
      <dc:date>2020-07-08T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048343#M40634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tad,&lt;/P&gt;&lt;P&gt;After enter ISP mode use software API, You can also refer to my video in that thread to check whether&lt;/P&gt;&lt;P&gt;successfully entered ISP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open flash magic, "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;- Using Flash Magic -&amp;gt; ISP -&amp;gt;Read Device Signature .".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 04:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1048343#M40634</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-10T04:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1565301#M50950</link>
      <description>&lt;P&gt;Hi Tad,&lt;/P&gt;&lt;P&gt;I'm facing the same issue. Did you ever found the solution?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1565301#M50950</guid>
      <dc:creator>koenvda</dc:creator>
      <dc:date>2022-12-06T15:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP issue on a LPC802?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1663592#M52866</link>
      <description>&lt;P&gt;I just thought I'd mention that I was experiencing the same problem, but we found a solution.&amp;nbsp; The thread is here:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-Reinvoke-ISP-not-working-with-LPCXpresso802-OM40000-Rev-A/m-p/1657934" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC802-Reinvoke-ISP-not-working-with-LPCXpresso802-OM40000-Rev-A/m-p/1657934&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary:&lt;/P&gt;&lt;P&gt;Remove calls to &lt;STRONG&gt;__disable_irq();&lt;/STRONG&gt; from my code before I call the library's &lt;STRONG&gt;IAP_ReinvokeISP()&lt;/STRONG&gt; function.&amp;nbsp; Additionally, modify the library's &lt;STRONG&gt;iap_entry()&lt;/STRONG&gt; function to remove the call to&amp;nbsp;&lt;STRONG&gt;__disable_irq();&lt;/STRONG&gt; from there also!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 15:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-issue-on-a-LPC802/m-p/1663592#M52866</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2023-06-05T15:32:27Z</dc:date>
    </item>
  </channel>
</rss>

