<?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: how to place function in ram section? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037309#M6607</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option to place function into RAM is:&lt;BR /&gt;__attribute__((section (".code_ram"))) void MyFuncInRAM (void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can see that the FLASH_DRV_CommandSequence or FlashCommandSequence functions are placed in RAM between:&lt;/P&gt;&lt;P&gt;START_FUNCTION_DEFINITION_RAMSECTION&lt;BR /&gt;END_FUNCTION_DEFINITION_RAMSECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flash_driver.c is generated by SDK after adding a flash component in the S32DS project.&lt;/P&gt;&lt;P&gt;Usage can be seen in the example of flash_partitioning_s32k118.&lt;BR /&gt;The usage of fsl_flash_driver_c90tfs.c can be seen in nonSDK example such as AN12218SW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2020 14:40:33 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2020-03-18T14:40:33Z</dc:date>
    <item>
      <title>how to place function in ram section?</title>
      <link>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037308#M6606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. nxp team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am using s32k118 and sdk3.0.&lt;/P&gt;&lt;P&gt;Could you please let me know&amp;nbsp;How to place function in ram section?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem about using Flash Driver.&lt;/P&gt;&lt;P&gt;The cause of my problem is that 'FLASH_DRV_CommandSequence' is not loaded ram section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fsl_flash_driver_c90tfs.c --&amp;gt; FlashCommandSequence is loaded ram section.&lt;/P&gt;&lt;P&gt;flash_driver.c --&amp;gt;FLASH_DRV_CommandSequence is not loaded ram section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know difference of two files?&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;how to solve this problem?(How to load function to ram section)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 06:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037308#M6606</guid>
      <dc:creator>myna</dc:creator>
      <dc:date>2020-03-17T06:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to place function in ram section?</title>
      <link>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037309#M6607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option to place function into RAM is:&lt;BR /&gt;__attribute__((section (".code_ram"))) void MyFuncInRAM (void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can see that the FLASH_DRV_CommandSequence or FlashCommandSequence functions are placed in RAM between:&lt;/P&gt;&lt;P&gt;START_FUNCTION_DEFINITION_RAMSECTION&lt;BR /&gt;END_FUNCTION_DEFINITION_RAMSECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flash_driver.c is generated by SDK after adding a flash component in the S32DS project.&lt;/P&gt;&lt;P&gt;Usage can be seen in the example of flash_partitioning_s32k118.&lt;BR /&gt;The usage of fsl_flash_driver_c90tfs.c can be seen in nonSDK example such as AN12218SW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 14:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037309#M6607</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-03-18T14:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to place function in ram section?</title>
      <link>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037310#M6608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diana Batrlova.&lt;/P&gt;&lt;P&gt;Thank you for answer my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, Your guide doesn't work for my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the map file.&lt;/P&gt;&lt;P&gt;In a flash_partitioning_s32k118 project, &lt;SPAN&gt;FLASH_DRV_CommandSequence&amp;nbsp;&lt;/SPAN&gt;is loaded on ram.&lt;/P&gt;&lt;P&gt;But, In my project,&amp;nbsp;&lt;SPAN&gt;FLASH_DRV_CommandSequence is not loaded on ram.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything else to do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check my project why any function is not loaded on ram?&lt;/P&gt;&lt;P&gt;i did upload my project(s32k118_bootloader_sdk.zip).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2020 00:43:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037310#M6608</guid>
      <dc:creator>myna</dc:creator>
      <dc:date>2020-03-19T00:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to place function in ram section?</title>
      <link>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037311#M6609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see that you combined AN12218SW with the SDK flash_partitioning_S32K118 example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I cannot debug your code.&lt;/P&gt;&lt;P&gt;It is not needed to put the JumpToApplication function into RAM.&lt;/P&gt;&lt;P&gt;I assume that the issue is somewhere else because the FLASH_DRV_CommandSequence is placed in RAM between:&lt;/P&gt;&lt;P&gt;START_FUNCTION_DEFINITION_RAMSECTION&lt;BR /&gt;END_FUNCTION_DEFINITION_RAMSECTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried debug your code? What happens when you call FLASH_DRV_DEFlashPartition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/how-to-place-function-in-ram-section/m-p/1037311#M6609</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-03-23T13:14:12Z</dc:date>
    </item>
  </channel>
</rss>

