<?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 LPC540xx - FLASH definition in linker script in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC540xx-FLASH-definition-in-linker-script/m-p/1596866#M51588</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to create the linker script for my LPC540xx and so I took a look in the datasheet.&lt;/P&gt;&lt;P&gt;(&lt;A href="https://www.nxp.com/docs/en/data-sheet/LPC540xx.pdf#page=59" target="_blank"&gt;https://www.nxp.com/docs/en/data-sheet/LPC540xx.pdf#page=59&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;After I took a look at the memory map, I could't find the FLASH block, but instead at position 0x0 a SRAMX block(which I dont know anything about). So my question is now, where should I put the .text section and where the .data?&lt;/P&gt;&lt;P&gt;How should I use the&amp;nbsp;'Boot ROM' block in the memory?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 22:14:15 GMT</pubDate>
    <dc:creator>sbox</dc:creator>
    <dc:date>2023-02-09T22:14:15Z</dc:date>
    <item>
      <title>LPC540xx - FLASH definition in linker script</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC540xx-FLASH-definition-in-linker-script/m-p/1596866#M51588</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to create the linker script for my LPC540xx and so I took a look in the datasheet.&lt;/P&gt;&lt;P&gt;(&lt;A href="https://www.nxp.com/docs/en/data-sheet/LPC540xx.pdf#page=59" target="_blank"&gt;https://www.nxp.com/docs/en/data-sheet/LPC540xx.pdf#page=59&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;After I took a look at the memory map, I could't find the FLASH block, but instead at position 0x0 a SRAMX block(which I dont know anything about). So my question is now, where should I put the .text section and where the .data?&lt;/P&gt;&lt;P&gt;How should I use the&amp;nbsp;'Boot ROM' block in the memory?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 22:14:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC540xx-FLASH-definition-in-linker-script/m-p/1596866#M51588</guid>
      <dc:creator>sbox</dc:creator>
      <dc:date>2023-02-09T22:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC540xx - FLASH definition in linker script</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC540xx-FLASH-definition-in-linker-script/m-p/1596931#M51590</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You are right, the LPC540xx does not have on-chip parallel flash, So we recommend you use external spifi flash, whose address is located at the 0x1000 0000 - 0x17FF FFFF. On LPC540xx-EVK&amp;nbsp; board, the W25Q128JVFIM flash with spifi interface is populated, which is used to save/run application code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1675992948841.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210377i2796E278EB54A571/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1675992948841.png" alt="xiangjun_rong_0-1675992948841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I copy it from UM11060.pdf.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is exception, the LPC54018J&lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;M have 2MB on-chip spifi flash, the LPC54018J&lt;FONT color="#FF0000"&gt;4&lt;/FONT&gt;M has 4MB on-chip spifi flash, which are located at:0x1000 0000 - 0x17FF FFFF.&lt;/P&gt;
&lt;P&gt;Pls download UM11060.pdf for the memory and spifi flash.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 01:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC540xx-FLASH-definition-in-linker-script/m-p/1596931#M51590</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-02-10T01:49:07Z</dc:date>
    </item>
  </channel>
</rss>

