<?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: LPCXpresso845-MAX board Can't use ISP mode Reprogram in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792055#M31887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="315960" data-objecttype="3" href="https://community.nxp.com/people/xiangchangmo"&gt;xiangchang mo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce the behavior that you mentioned. I found that the problem was with the default values of the FAIM. For this I used the example&amp;nbsp; FAIM_and_Clocks from the code bundle and the user manual Table 5 and Table 6 from the chapter 4.&amp;nbsp; In these tables you can see that to use USART0 as the interface for ISP bits 30 and 31 from the word 0 of the FAIM should be 0. The value from the word 1 should be 0x1918 to use P0_24 UART_RX and P0_25 UART_TX.&amp;nbsp;&lt;/P&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/69422iABCC6AB1252701C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the example of the code bundle mentioned before I found the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69467i50F2214EBC6A36C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, as you can see the value of the word 1 from the FAIM was not correct. Once I programmed the correct value (you can do this using the same example, follow the instructions of image) I entered to ISP mode correctly. In my case the value of the word 0 was correct, however I recommend you to check also this&amp;nbsp;word and if it's incorrect you will need to program this word of the FAIM too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69545iEFCC9A69CC6C9EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.jpg" alt="pastedImage_4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/code-bundles-for-lpc800-family-devices:LPC800-CODE-BUNDLES?&amp;amp;tab=Design_Tools_Tab"&gt;Link to download the Code Bundle.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/UM11029.pdf"&gt;Link to the user manual.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2018 16:52:31 GMT</pubDate>
    <dc:creator>victorjimenez</dc:creator>
    <dc:date>2018-09-13T16:52:31Z</dc:date>
    <item>
      <title>LPCXpresso845-MAX board Can't use ISP mode Reprogram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792053#M31885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&amp;nbsp; &amp;nbsp; LPCXpresso845-MAX board boot reset and pull down ISP(PIO0_12) pin,&amp;nbsp;&lt;/SPAN&gt;always press ISP KEY,&amp;nbsp;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;MCU will into ISP mode，and then use nxp's Flash Magic tools for lpc845 MCU reprogramming.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;I read FAIM word 0 and found that there was no problem,&amp;nbsp;I also tried using CRT to send the 0x3f command to LPC845 in ISP mode, but still didn't get a reply from mcu. the mcu running is SDK's example code.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&amp;nbsp; &amp;nbsp; In the same way, I've successfully programmed on the LPC824 life development board, but &lt;SPAN&gt;LPCXpresso845-MAX board&amp;nbsp;&lt;/SPAN&gt;just can't program in ISP mode, I don't know why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68336iED2717083623E362/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.bmp" alt="pastedImage_7.bmp" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: normal;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68435i51863A2FC06C203A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.bmp" alt="pastedImage_10.bmp" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 09:47:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792053#M31885</guid>
      <dc:creator>xiangchangmo</dc:creator>
      <dc:date>2018-09-05T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso845-MAX board Can't use ISP mode Reprogram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792054#M31886</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="315960" data-username="xiangchangmo" href="https://community.nxp.com/people/xiangchangmo"&gt;xiangchang mo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm checking this thread, I will let you know when I have the results on my side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Victor.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 14:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792054#M31886</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-09-11T14:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso845-MAX board Can't use ISP mode Reprogram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792055#M31887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="315960" data-objecttype="3" href="https://community.nxp.com/people/xiangchangmo"&gt;xiangchang mo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce the behavior that you mentioned. I found that the problem was with the default values of the FAIM. For this I used the example&amp;nbsp; FAIM_and_Clocks from the code bundle and the user manual Table 5 and Table 6 from the chapter 4.&amp;nbsp; In these tables you can see that to use USART0 as the interface for ISP bits 30 and 31 from the word 0 of the FAIM should be 0. The value from the word 1 should be 0x1918 to use P0_24 UART_RX and P0_25 UART_TX.&amp;nbsp;&lt;/P&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/69422iABCC6AB1252701C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the example of the code bundle mentioned before I found the following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69467i50F2214EBC6A36C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, as you can see the value of the word 1 from the FAIM was not correct. Once I programmed the correct value (you can do this using the same example, follow the instructions of image) I entered to ISP mode correctly. In my case the value of the word 0 was correct, however I recommend you to check also this&amp;nbsp;word and if it's incorrect you will need to program this word of the FAIM too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69545iEFCC9A69CC6C9EE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.jpg" alt="pastedImage_4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/code-bundles-for-lpc800-family-devices:LPC800-CODE-BUNDLES?&amp;amp;tab=Design_Tools_Tab"&gt;Link to download the Code Bundle.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/UM11029.pdf"&gt;Link to the user manual.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 16:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792055#M31887</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-09-13T16:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPCXpresso845-MAX board Can't use ISP mode Reprogram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792056#M31888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right. I just misconnected&amp;nbsp;RX&amp;nbsp;TX.&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 06:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso845-MAX-board-Can-t-use-ISP-mode-Reprogram/m-p/792056#M31888</guid>
      <dc:creator>xiangchangmo</dc:creator>
      <dc:date>2018-10-15T06:03:57Z</dc:date>
    </item>
  </channel>
</rss>

