<?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: Locked out from LPC5536?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710650#M53915</link>
    <description>Fortunately, I was able to solder a wire to the pin and pull it low to enter an different boot mode that does not execute from flash and re-connect.&lt;BR /&gt;The question remains is if it is possible to connect to the SWJ-DP/ITM with the reset held low all the time. This would also inhibit the execution from flash (or somewhere else)</description>
    <pubDate>Thu, 24 Aug 2023 10:51:53 GMT</pubDate>
    <dc:creator>orange_chris</dc:creator>
    <dc:date>2023-08-24T10:51:53Z</dc:date>
    <item>
      <title>Locked out from LPC5536?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710396#M53909</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;due to a silly typo, I have accidentally configured PIO0_0 as a GPIO and thus disabled SDW on that pin and can't connect to the MCU any more.&lt;/P&gt;&lt;P&gt;My question is:&lt;BR /&gt;From what I am used to from other MCUs, the pin configuration should be reset when the RESET pin is pulled low and that I get the SWD running again if I select "Connect during reset" in IAR Embedded Workbench. Is this different with LPC55xx MCUs? Is there a known way to get back in and erase the MCU?&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 07:02:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710396#M53909</guid>
      <dc:creator>orange_chris</dc:creator>
      <dc:date>2023-08-24T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Locked out from LPC5536?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710517#M53911</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Your application code has configured the PIO0_0 as GPIO, which should have been SWCLK pin, so you can not download/debug again with tools.&lt;/P&gt;
&lt;P&gt;I do not know if your PCB board supports ISP mode?&lt;/P&gt;
&lt;P&gt;If your PCB board supports ISP mode, you can enter ISP mode, then erase all flash, it is okay.&lt;/P&gt;
&lt;P&gt;After you enter ISP mode and use uart0 as communication port.&lt;/P&gt;
&lt;P&gt;1)blhost -p comX get-property 1&lt;/P&gt;
&lt;P&gt;check if you can communicate with the LPC5536&lt;/P&gt;
&lt;P&gt;2)blhost -p comX flash-erase-all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you can use SWD to download with tools&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 09:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710517#M53911</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-24T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Locked out from LPC5536?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710650#M53915</link>
      <description>Fortunately, I was able to solder a wire to the pin and pull it low to enter an different boot mode that does not execute from flash and re-connect.&lt;BR /&gt;The question remains is if it is possible to connect to the SWJ-DP/ITM with the reset held low all the time. This would also inhibit the execution from flash (or somewhere else)</description>
      <pubDate>Thu, 24 Aug 2023 10:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1710650#M53915</guid>
      <dc:creator>orange_chris</dc:creator>
      <dc:date>2023-08-24T10:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Locked out from LPC5536?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1711124#M53924</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the LPC5536, in order to enter ISP mode, you have to connect PIO0_7 to a pull-down resistor, connect PIO0_5 to a pull-up resistor, so the PIO0_7 will be low, PIO0_5 will be high after Reset, the LPC5536 will enter ISP mode, you can use blhost instruction to erase all flash.&lt;/P&gt;
&lt;P&gt;Pls refer to section 26.2 Functional description&amp;nbsp; in LPC553xRM.pdf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1692932045260.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237991iAC5CC2812A5FEC24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1692932045260.png" alt="xiangjun_rong_0-1692932045260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BTW, there is not SWJ-DP/ITM pin for LPC5536, I suppose you refer to the other ARM family.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorxiangjun_rong_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 02:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Locked-out-from-LPC5536/m-p/1711124#M53924</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-08-25T02:59:35Z</dc:date>
    </item>
  </channel>
</rss>

