<?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 LPC55S16 - Error @0x38000 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-Error-0x38000/m-p/2150137#M58634</link>
    <description>&lt;P&gt;Using an LPCS55S16.&amp;nbsp; PCBA based to a large extent on the reference design.&amp;nbsp; NOT using the secure features.&lt;BR /&gt;&lt;BR /&gt;Use MCUXpresso to do pin configuration, BSP generation, etc... but use IAR to perform application development debugging.&lt;/P&gt;&lt;P&gt;Working with integrating a 3rd party bootloader from Embedded Systems Academy.&lt;BR /&gt;Following their instructions for establishing memory map, where application FLASH should essentially run from 0x4400 - 0x3CFFB.&amp;nbsp; I am aware of the PFR located at 0x3D000.&lt;BR /&gt;&lt;BR /&gt;Using the default flash loader from IAR, but when I try to push out the modified application from the debug environment, I get the error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JK_265_0-1754920132821.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351813i47962855AFF55FF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JK_265_0-1754920132821.png" alt="JK_265_0-1754920132821.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I lower the upper limit for the application flash to less than 0x38000 there is no issue.&lt;BR /&gt;Any idea what is going on?&amp;nbsp; I realize that the flash is broken up into 32KB regions to allow a mixture of secure and non-secure access, and 0x38000 alligns with the start of the last region.&amp;nbsp; However, as I already stated we are not using scure mode, and I looked at the relevant registers and see no reason why that last region would be for secured use.&lt;BR /&gt;&lt;BR /&gt;Why can't I access the flash between 0x38000 and the start of the PFR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 13:54:36 GMT</pubDate>
    <dc:creator>JK_265</dc:creator>
    <dc:date>2025-08-11T13:54:36Z</dc:date>
    <item>
      <title>LPC55S16 - Error @0x38000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-Error-0x38000/m-p/2150137#M58634</link>
      <description>&lt;P&gt;Using an LPCS55S16.&amp;nbsp; PCBA based to a large extent on the reference design.&amp;nbsp; NOT using the secure features.&lt;BR /&gt;&lt;BR /&gt;Use MCUXpresso to do pin configuration, BSP generation, etc... but use IAR to perform application development debugging.&lt;/P&gt;&lt;P&gt;Working with integrating a 3rd party bootloader from Embedded Systems Academy.&lt;BR /&gt;Following their instructions for establishing memory map, where application FLASH should essentially run from 0x4400 - 0x3CFFB.&amp;nbsp; I am aware of the PFR located at 0x3D000.&lt;BR /&gt;&lt;BR /&gt;Using the default flash loader from IAR, but when I try to push out the modified application from the debug environment, I get the error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JK_265_0-1754920132821.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351813i47962855AFF55FF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JK_265_0-1754920132821.png" alt="JK_265_0-1754920132821.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I lower the upper limit for the application flash to less than 0x38000 there is no issue.&lt;BR /&gt;Any idea what is going on?&amp;nbsp; I realize that the flash is broken up into 32KB regions to allow a mixture of secure and non-secure access, and 0x38000 alligns with the start of the last region.&amp;nbsp; However, as I already stated we are not using scure mode, and I looked at the relevant registers and see no reason why that last region would be for secured use.&lt;BR /&gt;&lt;BR /&gt;Why can't I access the flash between 0x38000 and the start of the PFR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 13:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-Error-0x38000/m-p/2150137#M58634</guid>
      <dc:creator>JK_265</dc:creator>
      <dc:date>2025-08-11T13:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 - Error @0x38000</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-Error-0x38000/m-p/2153018#M58669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196991"&gt;@JK_265&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the specific part number that you are using? As you can see in "Figure 1. LPC5500 series flash memory layout" of the following App note:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12949.pdf" target="_blank"&gt;Flash Programming Tips for LPC5500 Series&lt;/A&gt;, there are two variants of LPC55s1x, where one can be programmed until 0x3_CFFF and another cannot.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 21:04:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-Error-0x38000/m-p/2153018#M58669</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-08-15T21:04:24Z</dc:date>
    </item>
  </channel>
</rss>

