<?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: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634845#M25053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rolf,&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; This makes a lot of sense.&amp;nbsp; I would like to discuss a few other possibly related issues that we have seen with the LPC4350.&amp;nbsp; Could&amp;nbsp;you possibly&amp;nbsp;send me a personnel email to continue this discussion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 15:13:39 GMT</pubDate>
    <dc:creator>gregdunn</dc:creator>
    <dc:date>2016-09-22T15:13:39Z</dc:date>
    <item>
      <title>Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634841#M25049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an LPC4350 based board that came in for repair.&amp;nbsp; I have discovered that you cannot read/write internal AHB SRAM address 0x20004000 to 0x20007FFF.&amp;nbsp; The processor issues a hard fault when code tries&amp;nbsp;to access this memory area.&amp;nbsp; Using the IAR IDE memory window, you only see "--" in this memory range.&amp;nbsp; Other memory ranges seem to&amp;nbsp;work fine.&amp;nbsp; Any ideas on what may be wrong?&amp;nbsp; Just a failed part???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634841#M25049</guid>
      <dc:creator>gregdunn</dc:creator>
      <dc:date>2016-09-20T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634842#M25050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you access the SRAM at 0x20008000?&lt;/P&gt;&lt;P&gt;What values do you read from the following word addresses:&lt;/P&gt;&lt;P&gt;0x40045000 ?&lt;/P&gt;&lt;P&gt;0x40043108 ?&lt;/P&gt;&lt;P&gt;0x40043F00 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:19:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634842#M25050</guid>
      <dc:creator>rolfmeeser</dc:creator>
      <dc:date>2016-09-21T13:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634843#M25051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can access SRAM at 0x20008000.&amp;nbsp; You can see where I tested below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Memory 0x20008000.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5448iAAD07DA261C05CB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Memory 0x20008000.png" alt="Memory 0x20008000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell all SRAM that should be in the LPC4350 is accessible except for the 0x20004000 to 0x20007FFF range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the information on the register values you requested:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Register Values.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5631iA5103559A2894E48/image-size/large?v=v2&amp;amp;px=999" role="button" title="Register Values.png" alt="Register Values.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTP Regs:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OTP Regs.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5853iEBB58791E0D6FF90/image-size/large?v=v2&amp;amp;px=999" role="button" title="OTP Regs.png" alt="OTP Regs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I noticed that the part id is returned as 0xA0020830.&amp;nbsp; This is an LPC4350FET256 should it not be 0xA0000830 like shown in the manual.&amp;nbsp; Here is a picture of the part:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LPC4350.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6209i10AFEBC00D33548C/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPC4350.jpg" alt="LPC4350.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREG&lt;/P&gt;&lt;P&gt;I see that the manual shows CREG1 at 0x40043008,&amp;nbsp; In the IAR iolpc4350_m4.h file, it is addressed at 0x40043108:&lt;/P&gt;&lt;P&gt;__IO_REG32(&amp;nbsp;&amp;nbsp;&amp;nbsp; CREG_CREG1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x40043108,__READ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;Is this an error in the UM10503 Rev 2.1 manual?&lt;/P&gt;&lt;P&gt;Here is the CREG register view in IAR:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CREG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5895i0FB6E8BC2614C801/image-size/large?v=v2&amp;amp;px=999" role="button" title="CREG.png" alt="CREG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What register&amp;nbsp;is at&amp;nbsp;0x40043F00.?&amp;nbsp; I couldn't find that in the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg Dunn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 15:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634843#M25051</guid>
      <dc:creator>gregdunn</dc:creator>
      <dc:date>2016-09-21T15:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634844#M25052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CREG1 is at address 0x40043008, so the user manual has it right. Looks like a typo in IAR's register definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The registers at 0x40043108 and 0x40043F00 are both not officially documented. What they tell us here is that the device's SRAM at 0x20000000 is indeed configured for 16 KiB only!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've already noticed the apparent root cause of this issue: The part ID is different from the expected ID. The faulty device has bit 17 set, and what this bit does is tell the ROM boot code to limit the available RAM at 0x20000000 to 16 KiB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a revision C silicon sample, and it is potentially affected by the OTP.2 erratum. Certain conditions must be met by the power ramping in the application, or accidental programming of OTP bits may occur. My best guess is that this is what happened to word 0 in OTP bank 0 (part ID) of this device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With silicon revision D the OTP.2 issue should be gone. For existing boards you should compare the actual power ramping on your board with the conditions described in the errata sheet to evaluate the risk of further failures in the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 22:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634844#M25052</guid>
      <dc:creator>rolfmeeser</dc:creator>
      <dc:date>2016-09-21T22:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634845#M25053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rolf,&lt;/P&gt;&lt;P&gt;Thank you for your response.&amp;nbsp; This makes a lot of sense.&amp;nbsp; I would like to discuss a few other possibly related issues that we have seen with the LPC4350.&amp;nbsp; Could&amp;nbsp;you possibly&amp;nbsp;send me a personnel email to continue this discussion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 15:13:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634845#M25053</guid>
      <dc:creator>gregdunn</dc:creator>
      <dc:date>2016-09-22T15:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access AHB SRAM  on LPC4350 at adress 0x20004000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634846#M25054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no access to your email address, so just drop me a note at &amp;lt;firstname&amp;gt;.&amp;lt;lastname&amp;gt;(a)nxp.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 18:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-Access-AHB-SRAM-on-LPC4350-at-adress-0x20004000/m-p/634846#M25054</guid>
      <dc:creator>rolfmeeser</dc:creator>
      <dc:date>2016-09-22T18:38:45Z</dc:date>
    </item>
  </channel>
</rss>

