<?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: LPC1857 locate part of code in FlashB in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163583#M42482</link>
    <description>&lt;P&gt;Hello &lt;A id="link_10" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/77378" target="_self"&gt;luciano_mortari&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This document provides some sample codes and steps for relocating Code and Data into RAM/FLASH. Although the examples are for the Kinetis K64 you may use this as reference:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUXpresso-IDE/ta-p/1103719" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUXpresso-IDE/ta-p/1103719&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Omar&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 18:54:13 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2020-10-06T18:54:13Z</dc:date>
    <item>
      <title>LPC1857 locate part of code in FlashB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1162325#M42456</link>
      <description>&lt;P&gt;I'm using LCP1857 developing with MCUXpresso, the code is near to reach the limit of the FlashA,&amp;nbsp; ( today the code size is near 480kBytes).&lt;/P&gt;&lt;P&gt;I know that's possible to locate functions and constants to FlashB using the directives&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;__TEXT(Flash2&lt;/STRONG&gt;&lt;SPAN&gt;) void function_xxx(uint32_t u32_parameter) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;…}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;__RODATA(Flash2)&lt;/STRONG&gt;&lt;SPAN&gt; const unsigned char ach_l_Table[dim]={...};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If i'd like to move a library&amp;nbsp; composed by several files to FlashB it's necessary to mark each function and table with the directive or exists a method to locate all the code in a *.c file in FlashB ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 15:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1162325#M42456</guid>
      <dc:creator>luciano_mortari</dc:creator>
      <dc:date>2020-10-02T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857 locate part of code in FlashB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163583#M42482</link>
      <description>&lt;P&gt;Hello &lt;A id="link_10" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/77378" target="_self"&gt;luciano_mortari&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This document provides some sample codes and steps for relocating Code and Data into RAM/FLASH. Although the examples are for the Kinetis K64 you may use this as reference:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUXpresso-IDE/ta-p/1103719" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUXpresso-IDE/ta-p/1103719&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Omar&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 18:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163583#M42482</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-10-06T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857 locate part of code in FlashB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163740#M42484</link>
      <description>&lt;P&gt;Ok, tank you,&lt;/P&gt;&lt;P&gt;i know that i have to use the directive __TEXT(Flash2) but, as I have to move a large number of functions in Flash2 , i wondered if there is another method to&amp;nbsp; declare all the functions in a *.c file all located in Flash2 instead of mark each function with __TEXT(Flash2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:36:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163740#M42484</guid>
      <dc:creator>luciano_mortari</dc:creator>
      <dc:date>2020-10-07T06:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857 locate part of code in FlashB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163747#M42485</link>
      <description>&lt;P&gt;Tank you, i knew this method, but , as I have to move a large number of functions in Flash2, i was wondering if exists another method that allows to declare all the functions in a *.c file all located in Flash2 instead of marking each function with __TEXT(Flash2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163747#M42485</guid>
      <dc:creator>luciano_mortari</dc:creator>
      <dc:date>2020-10-07T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1857 locate part of code in FlashB</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163767#M42486</link>
      <description>&lt;P&gt;You can relocate all functions in a file by changing the linker script - not by changing the source code.&lt;/P&gt;&lt;P&gt;Take a look at this article by SiLabs&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2018/06/27/how_to_locate_anent-Uyrh" target="_blank"&gt;https://www.silabs.com/community/mcu/32-bit/knowledge-base.entry.html/2018/06/27/how_to_locate_anent-Uyrh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 07:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1857-locate-part-of-code-in-FlashB/m-p/1163767#M42486</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-10-07T07:39:47Z</dc:date>
    </item>
  </channel>
</rss>

