<?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: lpc5516 cannot be debugged twice</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1934666#M56658</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221595"&gt;@Jesus92&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;What is the whole part number of your chip?&lt;/P&gt;
&lt;P&gt;Please choose the right MCU (includes part number and package) when using&amp;nbsp;&lt;SPAN&gt;MCUXpresso Config Tools&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 03:03:04 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-08-19T03:03:04Z</dc:date>
    <item>
      <title>lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1931483#M56630</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am using the lpc5516 on a custom board, I am using the SWDIO pins to program my lpc5516 but I am only able to program once, after that I am not able to program again but my code is still working, I create my code using MCUXpresso configuration tools to configure my lpc to 150MHz, the code is working fine even if I am not able to reprogram it again, I tried to use ISP mode but I have not been successful, I can't reprogram.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same code works well and can be reprogramed without problems in the evaluation board LPC55S16-EVK (Using LinkServer Debug), the only difference is the &lt;STRONG&gt;LPC55S16&lt;/STRONG&gt; that use the evaluation board with my &lt;STRONG&gt;LPC5516&lt;/STRONG&gt; and my programmer that is Multilink Universal FX.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MCUXpresso IDE v11.8.1_1197 (SDK_2.x_LPC55S16, Version 2.14.0)&lt;BR /&gt;Multilink Universal FX (To program the lpc)&lt;BR /&gt;&lt;/SPAN&gt;[LPC5516JDBD100&lt;BR /&gt;TR7XB205.000 01&lt;BR /&gt;sSD24140A]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you give me some direction or some idea of ​​what might be happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SWDIO.png" style="width: 966px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293214i02F7EF3F006BA3B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="SWDIO.png" alt="SWDIO.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If I change the microcontroller, it will be programmed only once or twice.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; The error that appears is:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SWDIO1.png" style="width: 334px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293216i1EE7F4A745260050/image-size/large?v=v2&amp;amp;px=999" role="button" title="SWDIO1.png" alt="SWDIO1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SWDIO2.png" style="width: 370px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293217iC859F34E292D7B10/image-size/large?v=v2&amp;amp;px=999" role="button" title="SWDIO2.png" alt="SWDIO2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 21:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1931483#M56630</guid>
      <dc:creator>Jesus92</dc:creator>
      <dc:date>2024-08-13T21:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1932681#M56639</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221595"&gt;@Jesus92&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please try the following possible reasons and solutions。&lt;/P&gt;
&lt;P&gt;1. Program a simple hello world or led SDK demo to test.&lt;/P&gt;
&lt;P&gt;2. "&lt;SPAN&gt;I tried to use ISP mode but I have not been successful, I can't reprogram.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Please describe your detail steps about using ISP mode. Still unable to program after erase by ISP mode?&lt;/P&gt;
&lt;P&gt;3. How abut using another debugger to test?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 03:40:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1932681#M56639</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-15T03:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1933711#M56653</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I programmed a simple example of an LED and I had no problems, when I programmed my code which was generated by MCUXpresso Config Tools is when I could not program again, doing tests I changed the micro and commented the FLEXCOMM0_UART_Init() function;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;after commenting it I have been able to reprogram many times, when uncommenting it and programming is when I can no longer program again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; I try to enter ISP mode by pulling pin 88 to ground to try to program again but I have not been successful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Is it possible that a bad code blocks the reprogramming with my Universal Multilink?&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I have not moved registers corresponding to the debug or the SWDIO pins.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jesus92_0-1723817154924.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293625i9BA7049C96CAD5C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jesus92_0-1723817154924.png" alt="Jesus92_0-1723817154924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jesus92_1-1723817166983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293626iE15071055A8B681C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jesus92_1-1723817166983.png" alt="Jesus92_1-1723817166983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;What I find strange is that even though I can't reprogram, the code works, that is, I can transmit at the baudrate I configured and I can receive the data in my interrupt, I used the oscilloscope to make sure that FLEXCOMM0 was working properly. I will configure everything without using MCUXpress Config tools and I will do some tests, maybe I have something wrong.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;is there any way to recover my microcontroller? Even with pin 88 (ISP Mode) grounded i can't reprogram it again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 14:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1933711#M56653</guid>
      <dc:creator>Jesus92</dc:creator>
      <dc:date>2024-08-16T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1934666#M56658</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221595"&gt;@Jesus92&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;What is the whole part number of your chip?&lt;/P&gt;
&lt;P&gt;Please choose the right MCU (includes part number and package) when using&amp;nbsp;&lt;SPAN&gt;MCUXpresso Config Tools&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 03:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1934666#M56658</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-19T03:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1936558#M56675</link>
      <description>What is the whole part number of your chip? --&amp;gt;&lt;BR /&gt;| LPC5516JDBD100 |&lt;BR /&gt;| TR7XB205.000 01 |&lt;BR /&gt;| sSD24140A |&lt;BR /&gt;&lt;BR /&gt;Please choose the right MCU (includes part number and package) when using MCUXpresso Config Tools.&lt;BR /&gt;---&amp;gt; I Select the SDK for the evaluation board, the only difference is the letter S, the code should work for both, the manual documentation handles both LPC55S1x/LPC551x&lt;BR /&gt;&lt;BR /&gt;Is there any way to recover my chip, ISP mode does not work for me to recover it (Place pin 88 to ground) using Universal Multilink?&lt;BR /&gt;&lt;BR /&gt;Today i will reprogram but configuring without MCUXpresso Config Tools.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 20 Aug 2024 16:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1936558#M56675</guid>
      <dc:creator>Jesus92</dc:creator>
      <dc:date>2024-08-20T16:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: lpc5516 cannot be debugged twice</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1938890#M56691</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221595"&gt;@Jesus92&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1&amp;gt; "&lt;SPAN&gt;Is there any way to recover my chip,&amp;nbsp;&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt;Yes, you can use ISP mode. It is no need any debugger in ISP mode. Just low the pin PIO0_5 (pin 88), then using UART or usb port to erase flash. The tool on PC you can use Flash Magic.&lt;/P&gt;
&lt;P&gt;Another method is using MCUXpesso IDE, pressing ISP pin (pio0_5) when reset. Pay attention DO NOT release ISP pin.&amp;nbsp; Then using GUI Flash Tool inside MCUXpresso to erase.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1724381993381.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294893i883940E1D8BBEA4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1724381993381.png" alt="Alice_Yang_0-1724381993381.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2&amp;gt; If you create a new project, please choose LPC5516. If you import a SDK demo for lpc55S16, you can try to change the chip to LPC5516 as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1724383858256.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294907iCA19EDA694CE5203/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1724383858256.png" alt="Alice_Yang_1-1724383858256.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_2-1724383905971.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294909i5041E795171D1DA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_2-1724383905971.png" alt="Alice_Yang_2-1724383905971.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 03:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/lpc5516-cannot-be-debugged-twice/m-p/1938890#M56691</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-23T03:32:55Z</dc:date>
    </item>
  </channel>
</rss>

