<?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: LPC5504 Smaller FLASH usable memory size in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2039212#M57638</link>
    <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I've found where the problem was, thanks to the example you mentioned. Just so that you know in the debug build I had a different linker script which reserved the section from 0x1F800 (sigh..). So, as you see it was all my mistake.&lt;/P&gt;&lt;P&gt;Thank you again and best regards&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2025 09:36:21 GMT</pubDate>
    <dc:creator>pejo</dc:creator>
    <dc:date>2025-02-06T09:36:21Z</dc:date>
    <item>
      <title>LPC5504 Smaller FLASH usable memory size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2037708#M57618</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm using an LPC5504. According to its own configuration and data from API functions the size is 128KB. While trying to store some data at the end of the memory map it turns out that I cannot write successfully in the last 2KB (in the range 1F800-1FFFF). Well, I can write on the memory without error but when I restart&amp;nbsp; the board the data are just not there.&lt;/P&gt;&lt;P&gt;Is there a reason for this? Is it because of the space needed for spare memory in case some pages are not working anymore?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2037708#M57618</guid>
      <dc:creator>pejo</dc:creator>
      <dc:date>2025-02-04T13:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5504 Smaller FLASH usable memory size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038269#M57625</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232719"&gt;@pejo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please show your project code, as well as your testing steps and results? I will help you check. Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 06:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038269#M57625</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-02-05T06:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5504 Smaller FLASH usable memory size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038317#M57627</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;unfortunately I can't share the whole code without taking the time to remove proprietary code but I can share the procedure that you can use for test it:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;General initialization:&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Disable All Interrupts&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Init Boot clocks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Init timers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Flash initialization&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPC55S0XFLASH_Init&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VERSION1_FLASH_API_TREE&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;flash_init&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Check values&amp;nbsp;on one page (512 (0x200) Bytes) at address 0x1F800&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;LPC55S0XFLASH_Read&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Flash fixed char (0x1A) on one page (512 (0x200) Bytes) at address 0x1F800&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPC55S0XFLASH_Erase&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPC55S0XFLASH_Program&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPC55S0XFLASH_VerifyProgram&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Check values on one page (512 (0x200) Bytes) at address 0x1F800 contain 0x1A:&lt;UL&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPC55S0XFLASH_Read&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Restart and check values --&amp;gt; Those values are not there anymore (it is a mix of zeros and 0xFF)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;If I do the same at address 0x1F600 it works properly&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 07:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038317#M57627</guid>
      <dc:creator>pejo</dc:creator>
      <dc:date>2025-02-05T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5504 Smaller FLASH usable memory size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038900#M57636</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232719"&gt;@pejo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please create a simple flash project by referring to the SDK demo "flashiap" for the LPC55S06. Then, check whether it can work with the address range from 0x1F800 to 0x1FFFF.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 01:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2038900#M57636</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-02-06T01:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5504 Smaller FLASH usable memory size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2039212#M57638</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;I've found where the problem was, thanks to the example you mentioned. Just so that you know in the debug build I had a different linker script which reserved the section from 0x1F800 (sigh..). So, as you see it was all my mistake.&lt;/P&gt;&lt;P&gt;Thank you again and best regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:36:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5504-Smaller-FLASH-usable-memory-size/m-p/2039212#M57638</guid>
      <dc:creator>pejo</dc:creator>
      <dc:date>2025-02-06T09:36:21Z</dc:date>
    </item>
  </channel>
</rss>

