<?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>LPC MicrocontrollersのトピックRe: UART not working after IAP</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888925#M35637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joisp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Anyway, it works now. How about other function: " enter and exit ISP mode without need for manual reset."?&lt;/P&gt;&lt;P&gt;Please tell us without any hesitate if still have question.&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>Thu, 24 Jan 2019 10:41:10 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-01-24T10:41:10Z</dc:date>
    <item>
      <title>UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888922#M35634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to successfully&amp;nbsp;reinvoke ISP with LPC11U24 using IAP 57 command. I can read the device signature and&amp;nbsp;flash new code using Flash Magic through UART interface. However, when I try to start program execution in Flash Magic (ISP &amp;gt; Execute/Go), UART doesn't seem to work. I can confirm that the program starts executing well, since the LED connected to PIO1_25 lights up (it is turned off right before calling iap_entry function). During the whole process&amp;nbsp;PIO0_1 is HIGH (ISP is reinvoked in application) and PIO0_3 is LOW (UART programming is chosen). If I manually reset the uC, the new code and UART seem to work properly. However, for my applications it is essential that I can enter and exit ISP mode without need for manual reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My test code is attached. LPC11U24 returns any character received via UART except for the character 'P'. If 'P' is received, ISP is reinvoked via IAP 57 command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 16:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888922#M35634</guid>
      <dc:creator>jloncar</dc:creator>
      <dc:date>2019-01-21T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888923#M35635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="324364" data-username="jloncar" href="https://community.nxp.com/people/jloncar"&gt;Joisp Loncar&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I have test your UART.c file , the UART can work well on my side . As for there is no LPC11u24 chip on my hand,&lt;/P&gt;&lt;P&gt;so I run the project on LPC11C24, just only re-configure UART pins. I take a video about how to control on Flash Magic&lt;/P&gt;&lt;P&gt;and Terminal , please have a look at my attachment. (I send 6 to chip, we can see it can received and send it back to terminal. sorry for I haven't English version terminal.)&lt;/P&gt;&lt;P&gt;Please make sure after click "Go", your UART terminal connect.&amp;nbsp; The first import thing is UART can work well,&lt;/P&gt;&lt;P&gt;so first not send 'p', just send another character to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 04:05:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888923#M35635</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-23T04:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888924#M35636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Alice_Yang"&gt;Alice_Yang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm still facing the same problem. I noticed a difference in Flash Magic setup though. I need to check the "Address is start of vector table" checkbox when running ISP &amp;gt; Go in Flash Magic. Otherwise, the program is not executed at all. I made sure to connect to the right COM port after flashing the hex file.&lt;/P&gt;&lt;P&gt;Smells like a problem with interrupts, but I may be wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 10:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888924#M35636</guid>
      <dc:creator>jloncar</dc:creator>
      <dc:date>2019-01-23T10:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888925#M35637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joisp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Anyway, it works now. How about other function: " enter and exit ISP mode without need for manual reset."?&lt;/P&gt;&lt;P&gt;Please tell us without any hesitate if still have question.&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>Thu, 24 Jan 2019 10:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888925#M35637</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-24T10:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888926#M35638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, it does not work properly. Even if I run ISP &amp;gt; Go in Flash Magic with&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"Address is start of vector table" checked, UART is not functional, but at least&amp;nbsp;&lt;SPAN&gt;LED connected to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PIO1_25 lights up&lt;/SPAN&gt;. This means that the program starts to execute correctly. If I don't check the checkbox, the LED &lt;SPAN&gt;does not even light up&lt;/SPAN&gt;. In both&amp;nbsp;cases&amp;nbsp;UART is not functional after IAP so the problem persists. Manual reset of the uC seems to solve the problem, but it is not an acceptable solution...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Josip&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 11:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888926#M35638</guid>
      <dc:creator>jloncar</dc:creator>
      <dc:date>2019-01-24T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888927#M35639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joisp,&lt;/P&gt;&lt;P&gt;There is no issue with your UART.c file,it can work well on my simple project.&lt;/P&gt;&lt;P&gt;I think you can only send your project , I will check it on my side.&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>Tue, 29 Jan 2019 09:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888927#M35639</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-01-29T09:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888928#M35640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Alice_Yang"&gt;Alice_Yang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure thing, the project is attached.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888928#M35640</guid>
      <dc:creator>jloncar</dc:creator>
      <dc:date>2019-01-29T10:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888929#M35641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jloncar"&gt;jloncar&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Have you tried resetting your UART peripheral?&lt;/P&gt;&lt;P&gt;I had a similar problem with my USB. Resetting USB before moving to application worked for me. In my case I used "&lt;STRONG&gt;Chip_SYSCTL_PeriphReset()&lt;/STRONG&gt;"(LPCOpen library).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Priyank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888929#M35641</guid>
      <dc:creator>priyankb</dc:creator>
      <dc:date>2019-01-29T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: UART not working after IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888930#M35642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="324364" data-username="jloncar" href="https://community.nxp.com/people/jloncar"&gt;Joisp Loncar,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I ordered the board LPCXpresso11u24, test your project on my side, the same problem with yours.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Then I create a new project for you refer to your requirement . It can work well on my side, I attached it please test it &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;on your side, please contact me if there is any question . This project is based on LPCopen demo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Please pay some points just if you have notice that:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- PIO0_1 and PIO0_3 need to be low when using pins to enter ISP UART mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- PIO0_3 need to be low when using IAP command enter ISP UART mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I also take a video about how to control on PC.&amp;nbsp; Through&amp;nbsp; reading the "Device Signature " to check whether entered &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ISP mode, if it can read , it says entered ISP mode successfully. My steps as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- Using PIO0_1 and PIO0_3 low go into ISP uart mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- Flash .hex file using Flash Magic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- ISP-&amp;gt;GO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- Open terminal for UART, send some characters check whether UART can work well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- Send 'P' to board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;- Using Flash Magic -&amp;gt; ISP -&amp;gt;Read Device Signature .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hope it helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 07:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UART-not-working-after-IAP/m-p/888930#M35642</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-02-01T07:30:19Z</dc:date>
    </item>
  </channel>
</rss>

