<?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: LPC5516 SRAM in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395792#M33528</link>
    <description>&lt;P&gt;1.&amp;nbsp;I have try to write 0x20000000 with my hex, same as write&amp;nbsp;0x4000000&lt;/P&gt;&lt;P&gt;2. I have compare the JLINK&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;SWD waveforms, I can't understand the&amp;nbsp;&amp;nbsp;waveforms, it‘s Weird ,before set 0xE000EDF0, it send something with ack error, and then set 0xE000EDF0 with 0xA05F0003, then read 0xE000EDF0, the value is 0x03030003。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my SWD&amp;nbsp;waveforms is read the chip IDCODE, and then init the chip, when i set 0xE000EDF0 with 0xA05F0003, read back is 0x0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please give me a Jlink script? i want to know what is send before enter debug mode.&lt;/P&gt;&lt;P&gt;before enter debug mode, What needs to be enabled for this chip? or some register need to set?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JLINK.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392431iF6C3A0437E3E5F5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JLINK.png" alt="JLINK.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JLINK.png&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="err.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392433iD56BC595813E3BAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="err.png" alt="err.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;err.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2026 07:58:11 GMT</pubDate>
    <dc:creator>1123HENRY</dc:creator>
    <dc:date>2026-07-16T07:58:11Z</dc:date>
    <item>
      <title>LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395165#M33524</link>
      <description>&lt;P&gt;我正在使用LPC5516芯片&lt;/P&gt;&lt;P&gt;想通过SWD协议将芯片程序写入SRAM，并跑起来&lt;/P&gt;&lt;P&gt;但是发现程序并未写入SRAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;我已经通过SWD读到了芯片的IDCODE，并且完成了一些初始化，例如halt住内核之类的。&lt;/P&gt;&lt;P&gt;只是将程序写入0x04000000后，回读这段地址，发现读取到的数据是0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;通过例程，我将一些AHB的SRAM clock使用SWD协议进行开启，如：&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SYSCON-&amp;gt;AHBCLKCTRLSET[0] = SYSCON_AHBCLKCTRL0_SRAM_CTRL1_MASK | SYSCON_AHBCLKCTRL0_SRAM_CTRL2_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;但是执行完上述程序后，写入到SRAM的程序回读还是0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;能否帮忙分析一下出现这个情况的原因&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="LPC551X-S1X" id="LPC551X-S1X"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 03:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395165#M33524</guid>
      <dc:creator>1123HENRY</dc:creator>
      <dc:date>2026-07-15T03:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395289#M33525</link>
      <description>&lt;P&gt;more error log to share？&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 09:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395289#M33525</guid>
      <dc:creator>db16122</dc:creator>
      <dc:date>2026-07-15T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395672#M33526</link>
      <description>&lt;P&gt;I used my own chip to send SWD instructions to debug the LPC5516 chip. I attempted to write to the 0xE000EDF0 register, trying to enable debugging, but it didn't work.&lt;/P&gt;&lt;P&gt;Then, I attempted to write to the SRAM, but found that the write operation failed. It seems that the device did not enter the debugging mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392409iBCF91933808776E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test1.png" alt="test1.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;test1.png&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="test2.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392410i4CC37A33807D3CAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test2.png" alt="test2.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;test2.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test3.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392411iAE4721B9E83F7D79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test3.png" alt="test3.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;test3.png&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="test4.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392412i5DA4FDB0D943CD71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test4.png" alt="test4.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;test4.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 03:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395672#M33526</guid>
      <dc:creator>1123HENRY</dc:creator>
      <dc:date>2026-07-16T03:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395745#M33527</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250180"&gt;@1123HENRY&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;1) Please try programming the SRAM at address 0x20000000 instead of the SRAMX region at 0x04000000.&lt;/P&gt;
&lt;P&gt;2) Please use MCUXpresso IDE or LinkFlash with an external debugger to program the SRAM, capture the SWD signals/waveforms, and compare them with the waveforms observed in your programmer.&amp;nbsp;&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;/DIV&gt;</description>
      <pubDate>Thu, 16 Jul 2026 07:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395745#M33527</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-07-16T07:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395792#M33528</link>
      <description>&lt;P&gt;1.&amp;nbsp;I have try to write 0x20000000 with my hex, same as write&amp;nbsp;0x4000000&lt;/P&gt;&lt;P&gt;2. I have compare the JLINK&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;SWD waveforms, I can't understand the&amp;nbsp;&amp;nbsp;waveforms, it‘s Weird ,before set 0xE000EDF0, it send something with ack error, and then set 0xE000EDF0 with 0xA05F0003, then read 0xE000EDF0, the value is 0x03030003。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my SWD&amp;nbsp;waveforms is read the chip IDCODE, and then init the chip, when i set 0xE000EDF0 with 0xA05F0003, read back is 0x0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could you please give me a Jlink script? i want to know what is send before enter debug mode.&lt;/P&gt;&lt;P&gt;before enter debug mode, What needs to be enabled for this chip? or some register need to set?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JLINK.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392431iF6C3A0437E3E5F5F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JLINK.png" alt="JLINK.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;JLINK.png&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="err.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392433iD56BC595813E3BAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="err.png" alt="err.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;err.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 07:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2395792#M33528</guid>
      <dc:creator>1123HENRY</dc:creator>
      <dc:date>2026-07-16T07:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SRAM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2399532#M33529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250180"&gt;@1123HENRY&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;Please have a look at the thread below, as it may be helpful.&lt;/DIV&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Restricted-SWD-access/td-p/1302434" target="_blank"&gt;Restricted SWD access - NXP Community&lt;/A&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>Tue, 28 Jul 2026 09:34:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC5516-SRAM/m-p/2399532#M33529</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-07-28T09:34:18Z</dc:date>
    </item>
  </channel>
</rss>

