<?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>S32KのトピックLinker file configuration to allow code execution from RAM</title>
    <link>https://community.nxp.com/t5/S32K/Linker-file-configuration-to-allow-code-execution-from-RAM/m-p/803493#M2767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32K148 in my design. I am implementing the bootloader using CAN communication. I could get CAN communication up and running.&amp;nbsp;I would like to use the same flash bank for bootloader and application code. I want to copy the code responsible for erasing and flashing the memory to RAM so that I can erase the required sectors on the flash and program the application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any user guide available for linker configuration such that it creates the symbols for required sections of code and it allows to me to copy the code??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sreekanth challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2018 16:17:20 GMT</pubDate>
    <dc:creator>s_challa</dc:creator>
    <dc:date>2018-06-20T16:17:20Z</dc:date>
    <item>
      <title>Linker file configuration to allow code execution from RAM</title>
      <link>https://community.nxp.com/t5/S32K/Linker-file-configuration-to-allow-code-execution-from-RAM/m-p/803493#M2767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32K148 in my design. I am implementing the bootloader using CAN communication. I could get CAN communication up and running.&amp;nbsp;I would like to use the same flash bank for bootloader and application code. I want to copy the code responsible for erasing and flashing the memory to RAM so that I can erase the required sectors on the flash and program the application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any user guide available for linker configuration such that it creates the symbols for required sections of code and it allows to me to copy the code??&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sreekanth challa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 16:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Linker-file-configuration-to-allow-code-execution-from-RAM/m-p/803493#M2767</guid>
      <dc:creator>s_challa</dc:creator>
      <dc:date>2018-06-20T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linker file configuration to allow code execution from RAM</title>
      <link>https://community.nxp.com/t5/S32K/Linker-file-configuration-to-allow-code-execution-from-RAM/m-p/803494#M2768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;There is a default RAM section for storing code in RAM in the S32DS default linker file.&lt;BR /&gt;To place a function in RAM, use:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;__attribute__ ((section(".code_ram"))) // place the function below into .code_ram section
void function(void);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Linker-file-configuration-to-allow-code-execution-from-RAM/m-p/803494#M2768</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-06-21T13:11:58Z</dc:date>
    </item>
  </channel>
</rss>

