<?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: LPC536: Can not enter background mode after changing a register in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC536-Can-not-enter-background-mode-after-changing-a-register/m-p/1475518#M49213</link>
    <description>&lt;P&gt;Found a solution on how to unbrick the board. You can use the flashmagic tool and select a processor with a similar enough flash and RAM memory to flash a new program on the board. There is no individual support for the LPC5536.I used the LPC55S66 processor over UART setting. To set the board in ISP mode go to page 909 on the reference manual. To find the UART pins go to page 910 on the reference manual(both in Boot Rom chapter). I am still curious as to why changing the register bricks the SWD programming.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 19:27:21 GMT</pubDate>
    <dc:creator>jsoccerd</dc:creator>
    <dc:date>2022-06-16T19:27:21Z</dc:date>
    <item>
      <title>LPC536: Can not enter background mode after changing a register</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC536-Can-not-enter-background-mode-after-changing-a-register/m-p/1475457#M49212</link>
      <description>&lt;P&gt;I'm programming with a custom board that has the LPC536JBD64 processor. The first board I changed the&amp;nbsp;&lt;SPAN&gt;MAINCLKSELA register in the SYSCON peripheral to use the FRO1mhz clock. Then I got a programming error stating that it "C&lt;/SPAN&gt;&lt;FONT face="inherit"&gt;an not enter background mode" with a pemicro multilink. With the pemicro Cyclone programmer I get the error 0007. I then &lt;/FONT&gt;tested&lt;FONT face="inherit"&gt;&amp;nbsp;a second board with different programs and the programming for that board worked fine. I then tried to recreate the issue by changing the value in the&amp;nbsp;MAINCLKSELA register again and now the same problem has &lt;/FONT&gt;occurred&lt;FONT face="inherit"&gt;&amp;nbsp;with that board. I'm assuming because I didn't enable bits for that&amp;nbsp;&lt;SPAN&gt;FRO1mhz clock that the board doesn't work. But why would that cause an issue with programming the board over SWD? And is there anyway to unbrick these boards?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 16:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC536-Can-not-enter-background-mode-after-changing-a-register/m-p/1475457#M49212</guid>
      <dc:creator>jsoccerd</dc:creator>
      <dc:date>2022-06-16T16:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC536: Can not enter background mode after changing a register</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC536-Can-not-enter-background-mode-after-changing-a-register/m-p/1475518#M49213</link>
      <description>&lt;P&gt;Found a solution on how to unbrick the board. You can use the flashmagic tool and select a processor with a similar enough flash and RAM memory to flash a new program on the board. There is no individual support for the LPC5536.I used the LPC55S66 processor over UART setting. To set the board in ISP mode go to page 909 on the reference manual. To find the UART pins go to page 910 on the reference manual(both in Boot Rom chapter). I am still curious as to why changing the register bricks the SWD programming.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 19:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC536-Can-not-enter-background-mode-after-changing-a-register/m-p/1475518#M49213</guid>
      <dc:creator>jsoccerd</dc:creator>
      <dc:date>2022-06-16T19:27:21Z</dc:date>
    </item>
  </channel>
</rss>

