<?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: Reinvoke ISP (LPC1224)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625890#M24587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="295561" data-username="albertosavazzi" href="https://community.nxp.com/people/albertosavazzi"&gt;Alberto Savazzi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I was wondering if you can upload the demo, then I can run the demo on the board to replicate the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I'm looking forward to your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ping&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>Tue, 07 Mar 2017 01:55:04 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2017-03-07T01:55:04Z</dc:date>
    <item>
      <title>Reinvoke ISP (LPC1224)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625889#M24586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to program LPC1224 using the reinvokeisp mode from user code but I'still have no answer to a sync character '?'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void ReinvokeISP(void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;/* disable WatchDog */&lt;BR /&gt; LPC_WWDT-&amp;gt;MOD = 0;&lt;/P&gt;&lt;P&gt;__disable_irq();&lt;/P&gt;&lt;P&gt;/* make sure 32-bit Timer 1 is turned on before calling ISP */&lt;BR /&gt; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 10) | (1 &amp;lt;&amp;lt; 10);&lt;BR /&gt; /* make sure GPIO clock is turned on before calling ISP */&lt;BR /&gt; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 29) | (1 &amp;lt;&amp;lt; 30) | (1 &amp;lt;&amp;lt; 31); //0x00040;&lt;BR /&gt; /* make sure IO configuration clock is turned on before calling ISP */&lt;BR /&gt; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL |= (1 &amp;lt;&amp;lt; 16); //0x10000;&lt;/P&gt;&lt;P&gt;// AHB clock divider must 1:1&lt;BR /&gt; LPC_SYSCON-&amp;gt;SYSAHBCLKDIV = 1;&lt;/P&gt;&lt;P&gt;// disabele PLL&lt;BR /&gt; LPC_SYSCON-&amp;gt;MAINCLKSEL = 0;// enable IRQ oscillator&lt;BR /&gt; LPC_SYSCON-&amp;gt;MAINCLKUEN = 0x01;// update MLCK clock source&lt;BR /&gt; LPC_SYSCON-&amp;gt;MAINCLKUEN = 0x00;// toggle update register&lt;BR /&gt; LPC_SYSCON-&amp;gt;MAINCLKUEN = 0x01;&lt;/P&gt;&lt;P&gt;while (!(LPC_SYSCON-&amp;gt;MAINCLKUEN &amp;amp; 0x01))// wait until updated&lt;BR /&gt; ;&lt;/P&gt;&lt;P&gt;// the cortex M0 needs to synchronize the CPU cache&lt;BR /&gt; __ISB();&lt;/P&gt;&lt;P&gt;LPC_GPIO0-&amp;gt;DIR |= (1&amp;lt;&amp;lt;12); //set GPIO0_12 DIR out&lt;BR /&gt; LPC_GPIO0-&amp;gt;CLR = (1&amp;lt;&amp;lt;12);&lt;/P&gt;&lt;P&gt;command[0] = IAP_CMD_REINVOKE;&lt;/P&gt;&lt;P&gt;// reset the stack pointer to point to the top of the stack minus 32 byte for IAP&lt;BR /&gt; // for LPC11Cxx where top of RAM (8kB) is 0x1000_2000: MSP = (0x1000_20000 - 0x20 = 0x1000_1FE0)&lt;BR /&gt; /* Set stack pointer to ROM value (reset default) */&lt;BR /&gt; __set_MSP(*((uint32_t *) 0x1FFF0000));&lt;/P&gt;&lt;P&gt;iap_entry(command, output);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help, I spent many days with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625889#M24586</guid>
      <dc:creator>albertosavazzi</dc:creator>
      <dc:date>2017-03-06T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP (LPC1224)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625890#M24587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="295561" data-username="albertosavazzi" href="https://community.nxp.com/people/albertosavazzi"&gt;Alberto Savazzi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I was wondering if you can upload the demo, then I can run the demo on the board to replicate the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;I'm looking forward to your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ping&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>Tue, 07 Mar 2017 01:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625890#M24587</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-03-07T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reinvoke ISP (LPC1224)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625891#M24588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thank you for your help.&amp;nbsp;Below you can find the link to get the little demo.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/0ByvRM3vsErLQUkMwQXg5VzlYS3c/view?usp=sharing"&gt;ReinvokeISP demo&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 09:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reinvoke-ISP-LPC1224/m-p/625891#M24588</guid>
      <dc:creator>albertosavazzi</dc:creator>
      <dc:date>2017-03-10T09:58:35Z</dc:date>
    </item>
  </channel>
</rss>

