<?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: Position Independent Code for s32k144 in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2045494#M13089</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PIC has very limited usage on Embedded System without OS. You can find more details here -&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612" target="_blank"&gt;https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2025 12:54:01 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2025-02-17T12:54:01Z</dc:date>
    <item>
      <title>Position Independent Code for s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2043081#M13082</link>
      <description>&lt;P&gt;I have been working on the firmware upgrade process for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;S32K144&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;microcontroller. The memory architecture includes a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;bootloader&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and two applications,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;App1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;App2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here is what I have done so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;App1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is mapped to start at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x11000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;App2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;starts at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x42000&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the linker file.&lt;/LI&gt;&lt;LI&gt;I have successfully created individual HEX files for both applications, and they download and jump to their respective addresses (0x11000 for App1 and 0x42000 for App2).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now I wanted to have position independent code. Could please share the detail documentation and steps&amp;nbsp;&lt;SPAN&gt;to follow in the case of S32DS?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have reviewed below article but the information provide is limited.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-Position-Independent-Code/ta-p/1102520" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-Position-Independent-Code/ta-p/1102520&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 04:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2043081#M13082</guid>
      <dc:creator>stark21</dc:creator>
      <dc:date>2025-02-13T04:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Position Independent Code for s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2045198#M13088</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;Are there any inputs?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 07:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2045198#M13088</guid>
      <dc:creator>stark21</dc:creator>
      <dc:date>2025-02-17T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Position Independent Code for s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2045494#M13089</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PIC has very limited usage on Embedded System without OS. You can find more details here -&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612" target="_blank"&gt;https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 12:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2045494#M13089</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2025-02-17T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Position Independent Code for s32k144</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2063553#M13228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for sharing the information.&lt;/P&gt;&lt;P&gt;The information you have shared is somewhat general and not specific for S32DS and it is surprising that no one from NXP support has tried this PIC feature or have detailed document to use with S32DS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 07:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Position-Independent-Code-for-s32k144/m-p/2063553#M13228</guid>
      <dc:creator>stark21</dc:creator>
      <dc:date>2025-03-18T07:55:05Z</dc:date>
    </item>
  </channel>
</rss>

