<?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: LPC845 BOD Power Up</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773467#M31094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also meet same problem on LPC845 BOD. And I send mail and repeat project to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;NVIC_EnableIRQ(BOD_IRQn);&amp;nbsp;&amp;nbsp;&amp;nbsp; After enabled this code, it will enter into BOD interrupt immediately.&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;After enable BOD reset, add this code LPC_SYSCON-&amp;gt;BODCTRL = (1 &amp;lt;&amp;lt; 0)|(3 &amp;lt;&amp;lt; 2)|(1 &amp;lt;&amp;lt; 4);&amp;nbsp;&amp;nbsp;&amp;nbsp; JLINK debug tools&amp;nbsp;could not download and debug on MDK IDE, need do erase LPC845 with Flashmagic under ISP UART mode, and then JLINK could download and debug again.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 02:13:36 GMT</pubDate>
    <dc:creator>hansonhe</dc:creator>
    <dc:date>2018-08-01T02:13:36Z</dc:date>
    <item>
      <title>LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773457#M31084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working with the latest MCUXpresso and a LPCXpresso845MAX Rev.A board.&lt;/P&gt;&lt;P&gt;I am experiencing a strange problem with my board when enabling&amp;nbsp;Brown-Out detection.&lt;/P&gt;&lt;P&gt;As soon as I power up the BOD peripheral my program stops working (not power related issue).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LPC_SYSCON-&amp;gt;PDRUNCFG &amp;amp;= ~(1 &amp;lt;&amp;lt; 3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try it in a debug session the debug terminates in the same instruction with the error:&lt;/P&gt;&lt;P&gt;16: Target error from status-poll&lt;BR /&gt; Wire ACK Fault in DAP access&lt;BR /&gt; 16: Target error from status-poll: Ee(FF). Redlink interface error 255.&lt;BR /&gt; Debugging context: lpc845 LinkServer Debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this I lose access to the chip and can only recover it by entering ISP, mass erase and flash it again.&lt;/P&gt;&lt;P&gt;I have discovered (by pure luck) that if I enable the ACMP (Analog comparator) first and then the BOD, everything works fine. I can even disable ACMP immediately after. I have also noticed that&amp;nbsp;BOD reset enable (LPC_SYSCON-&amp;gt;BODCTRL bit 4) starts enabled after reset and not disabled as the manual states. (The manual and datasheet are full of typos and errors, a shame really...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thought on this issue? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 03:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773457#M31084</guid>
      <dc:creator>hparracho</dc:creator>
      <dc:date>2018-03-20T03:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773458#M31085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm still trying to solve this issue...&lt;/P&gt;&lt;P&gt;Since I have changed heavily my startup code I was afraid I had messed something up in my code so I followed the tutorial from this post&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-334916"&gt;Working with LPCXpresso845-MAX Evaluation Board&amp;nbsp;&lt;/A&gt;,&amp;nbsp;imported the multi timer blinky example and just added the following line&amp;nbsp;to main():&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;LPC_SYSCON-&amp;gt;PDRUNCFG &amp;amp;= ~(1 &amp;lt;&amp;lt; 3);&lt;/P&gt;&lt;P&gt;...Just got the same result!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second test: With the debug paused at main() I went to the Peripherals tab, SYSCON -&amp;gt; PDRUNCFG and changed the BOD-PD bit manually from 1 to 0. The IDE just stalled and this is the error I got after 3 or 4 seconds:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12: Failed writing register SYSCON.PDRUNCFG.BOD-PD&lt;BR /&gt; Debug port inaccessible after access at location 0x40048238&lt;BR /&gt; Debugging context: Multi_Timer_Blinky LinkServer flash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can clear any other bit (enabling other peripherals) of the register without problems. Just the BOD-PD gives me this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 15:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773458#M31085</guid>
      <dc:creator>hparracho</dc:creator>
      <dc:date>2018-03-20T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773459#M31086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="283124" data-username="hparracho" href="https://community.nxp.com/people/hparracho" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Helder Parracho&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks for your information and I'd like to replicate this phenomena later.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Have a great day,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;TIC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 03:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773459#M31086</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-21T03:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773460#M31087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="283124" data-objecttype="3" href="https://community.nxp.com/people/hparracho" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 11.9994px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Helder Parracho&lt;/A&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit;"&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;Sorry for reply late.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;The phenomenon doesn't happen when I debug the PMU_Modes in IAR IDE with LPCXpresso 845 board, the BOD_PD is allowed to set 0 as the Figure1 indicates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;I was wondering if you can share a compile-able demo, then I can replicate the issue on my site directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32192iCEA3D15440AF4DC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Have a great day,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;TIC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 06:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773460#M31087</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-04-20T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773461#M31088</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/jeremyzhou" rel="nofollow noopener noreferrer" target="_blank"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Following your example I noticed that my original issue was related to not disable the BOD reset function before powering up the BOD peripheral. &lt;STRONG&gt;Blame the Manual! Page 112 states that the BODCTRL reset value is 0x0 (disabled) but it is not.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet, on your example you just powered up the BOD peripheral. You haven't re-enabled the reset function and again I am having trouble doing it so.&lt;/P&gt;&lt;PRE class="language-cpp line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// Disable BOD reset function before powering BOD peripheral&lt;/SPAN&gt;
LPC_SYSCON&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;BODCTRL &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; BODRSTENA&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Power up BOD&lt;/SPAN&gt;
LPC_SYSCON&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;PDRUNCFG &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;BOD_PD&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Wait at least 10 uSec before re-enabling BOD reset function.&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// The for loop takes 7 clocks per iteration and executes&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// at a maximum of 30 MHz (33 nSec), so worst case:&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// i = (10000 nSec) / (7 * 33 nSec) = 43.3&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t i &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;44&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i&lt;SPAN class="operator token"&gt;++&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;__NOP&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Enable BOD reset at level 3 (2.63V ~ 2.76V)&lt;/SPAN&gt;
LPC_SYSCON&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;BODCTRL &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; BODRSTENA&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;I cannot enable the BOD reset function without&amp;nbsp;the wait loop after power up. Why?&lt;/STRONG&gt; Does it need some time to perform the power up? I have not seen anything mentioning this on the manual.&lt;/P&gt;&lt;P&gt;Try to comment the for loop and check what happens on your side.&lt;/P&gt;&lt;P&gt;NOTE: while debugging you can comment the for loop and successfully execute the code in step over mode but cannot run it in "resume" mode or run it in release mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting again for your comment on this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2018 16:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773461#M31088</guid>
      <dc:creator>hparracho</dc:creator>
      <dc:date>2018-04-28T16:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773462#M31089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="283124" data-objecttype="3" href="https://community.nxp.com/people/hparracho" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 11.9994px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Helder Parracho&lt;/A&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #646464; font-weight: inherit;"&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;Sorry for reply late because Labor Day holiday.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;Actually, the reset value of &lt;STRONG&gt;BODCTRL&lt;/STRONG&gt; is 0x00 just as the RM states.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;In my testing, the LPC824 will became 'brick' when enable the reset function without the wait loop, and it spend me a lot time to recover the 'brick'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50936iC85272BF43849D9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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>Thu, 03 May 2018 03:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773462#M31089</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-03T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773463#M31090</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&lt;/P&gt;&lt;P&gt;You have confused the microcontroller. I am referring to&lt;STRONG&gt; LPC845&lt;/STRONG&gt; and not &lt;STRONG&gt;LPC824&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I am sorry to disagree with you but, as you can clearly see from my print screen, immediately after reset, the LPC845 &lt;STRONG&gt;BODCTRL&lt;/STRONG&gt; register starts with the value &lt;STRONG&gt;0x13&lt;/STRONG&gt; and not &lt;STRONG&gt;0x00&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="BODCTRL.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3373iEDC246F5968E47FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="BODCTRL.png" alt="BODCTRL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I get from your answer is that the wait loop is needed (apparently not only on LPC845), still this is undocumented.&lt;/P&gt;&lt;P&gt;Also, it would be good to know the amount of time we should wait. I came up with 10us because that's what worked on my tests but it might not be the correct value (long enough) on other MCUs.&lt;/P&gt;&lt;P&gt;Recovering from the 'brick' is easy. Reset in ISP mode and do a mass erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Waiting again for your comment on this.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 10:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773463#M31090</guid>
      <dc:creator>hparracho</dc:creator>
      <dc:date>2018-05-03T10:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773464#M31091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/people/hparracho"&gt;&lt;SPAN style="font-size: 11px; color: #5e89c1; background-color: #ffffff; text-decoration: underline;"&gt;Helder Parracho&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;Thanks for your reply and I've run the deo code with LPCXpresso 845 MAX board.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;According to the testing result, the reset value of &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;BODCTRL &lt;/SPAN&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;should be 0x13 as you mentioned before.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;However I can reeable the BOD reset feautre without&amp;nbsp;the wait loop after power up.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;Hope this is clear.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17581i05AC05D2DF27B3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&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>Mon, 07 May 2018 07:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773464#M31091</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-07T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773465#M31092</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/jeremyzhou"&gt;jeremyzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks again for your reply. I'm sorry but unfortunately the situation is still not clear to me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;In the last post you told that accordingly to your tests you can&amp;nbsp;&lt;SPAN style="color: #646464;"&gt;enable the BOD reset feature without&amp;nbsp;the wait loop after power up. I cannot do that on my board! Can you share your test program so I can test it on my side? I have Keil and MCUXpresso, don't have IAR, sorry.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464;"&gt;Attached you can find 2 test programs where the issue happens on my board (blinky examples), one from Keil and another from MCUXpresso. Can you please flash these examples on a &lt;SPAN style="background-color: #ffffff;"&gt;LPCXpresso 845 MAX board&amp;nbsp;&lt;/SPAN&gt;and tell me how it went?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464;"&gt;NOTE: if you debug the program you have to "run" the program, if you go over each line step by step you don't see the problem happening because you are giving it time to rest between the powering the BOD up and enabling the reset feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464;"&gt;I am not discarding a problem with my demo board but everything else is working as expected so far...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 14:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773465#M31092</guid>
      <dc:creator>hparracho</dc:creator>
      <dc:date>2018-05-09T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773466#M31093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="283124" data-objecttype="3" href="https://community.nxp.com/people/hparracho"&gt;&lt;SPAN style="font-size: 11px; color: #5e89c1; background-color: #ffffff; text-decoration: underline;"&gt;Helder Parracho&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;Yes, I've replicated the issue, it acutally need some time to wait before reable the BOD reset feature.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;I'll contact with AE team for confirming later and I think it will add some statements to notice the issue and help the developer to keep away the risk in an updated version of RM in the future&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;Hope this is clear.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&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>Mon, 14 May 2018 07:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773466#M31093</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-05-14T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 BOD Power Up</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773467#M31094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also meet same problem on LPC845 BOD. And I send mail and repeat project to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;NVIC_EnableIRQ(BOD_IRQn);&amp;nbsp;&amp;nbsp;&amp;nbsp; After enabled this code, it will enter into BOD interrupt immediately.&lt;/LI&gt;&lt;LI style="margin: 0in 0in 0pt;"&gt;After enable BOD reset, add this code LPC_SYSCON-&amp;gt;BODCTRL = (1 &amp;lt;&amp;lt; 0)|(3 &amp;lt;&amp;lt; 2)|(1 &amp;lt;&amp;lt; 4);&amp;nbsp;&amp;nbsp;&amp;nbsp; JLINK debug tools&amp;nbsp;could not download and debug on MDK IDE, need do erase LPC845 with Flashmagic under ISP UART mode, and then JLINK could download and debug again.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 02:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-BOD-Power-Up/m-p/773467#M31094</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2018-08-01T02:13:36Z</dc:date>
    </item>
  </channel>
</rss>

