<?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 generate RAM NVM driver based on the SDK FLash driver? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1955498#M40995</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178187"&gt;@qinxk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If the operation requires the driver to work from SRAM, the only function that has to be in SRAM is &lt;STRONG&gt;FLASH_DRV_CommandSequence(). &lt;/STRONG&gt;This is a blocking function, it blocks the execution while CCIF = 0.&lt;/P&gt;
&lt;P&gt;You did not specify the SDK version.&lt;/P&gt;
&lt;P&gt;In SDK 4.0.1, the function is in SRAM by default.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1726562262204.png" style="width: 663px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299382iC16C430BE4BEEDEE/image-dimensions/663x514?v=v2" width="663" height="514" role="button" title="danielmartynek_0-1726562262204.png" alt="danielmartynek_0-1726562262204.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1726562262204.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 08:40:00 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-09-17T08:40:00Z</dc:date>
    <item>
      <title>How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1954719#M40954</link>
      <description>&lt;P&gt;I want to call the API which operate the Flash such as erase, init flash from RAM NVM, but&amp;nbsp;S32K1xx SDK Flash driver is stored in the P-flash, so how to re-locate these API into RAM NVM? who can know the detailed process how to generate RAM NVM driver file(s19 file)?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 23:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1954719#M40954</guid>
      <dc:creator>qinxk</dc:creator>
      <dc:date>2024-09-14T23:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1955498#M40995</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178187"&gt;@qinxk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If the operation requires the driver to work from SRAM, the only function that has to be in SRAM is &lt;STRONG&gt;FLASH_DRV_CommandSequence(). &lt;/STRONG&gt;This is a blocking function, it blocks the execution while CCIF = 0.&lt;/P&gt;
&lt;P&gt;You did not specify the SDK version.&lt;/P&gt;
&lt;P&gt;In SDK 4.0.1, the function is in SRAM by default.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1726562262204.png" style="width: 663px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299382iC16C430BE4BEEDEE/image-dimensions/663x514?v=v2" width="663" height="514" role="button" title="danielmartynek_0-1726562262204.png" alt="danielmartynek_0-1726562262204.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1726562262204.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 08:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1955498#M40995</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-17T08:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1956018#M41023</link>
      <description>&lt;P&gt;Hi, it's&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;S32SDK_S32K1xx_RTM_3.0.0&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 00:36:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1956018#M41023</guid>
      <dc:creator>qinxk</dc:creator>
      <dc:date>2024-09-18T00:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1956274#M41042</link>
      <description>&lt;P&gt;Same for RTM 3.0.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 06:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1956274#M41042</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-18T06:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957079#M41089</link>
      <description>&lt;P&gt;Yeah, so what's the solution?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 02:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957079#M41089</guid>
      <dc:creator>qinxk</dc:creator>
      <dc:date>2024-09-19T02:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957303#M41105</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178187"&gt;@qinxk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The solution is that the APIs do not have to be in SRAM.&lt;/P&gt;
&lt;P&gt;Only the function that clears CCIF and waits while CCIF = 0 has to be in SRAM.&lt;/P&gt;
&lt;P&gt;And by default, it is in SRAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 07:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957303#M41105</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-19T07:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957322#M41107</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp; thanks for your support!&lt;/P&gt;&lt;P&gt;but I notice that this macro doesn't have value as follow,&amp;nbsp; how do you know it is in SRAM defautly?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qinxk_0-1726729983942.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299912i8EF76000FAB58FBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qinxk_0-1726729983942.png" alt="qinxk_0-1726729983942.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;qinxk_0-1726729983942.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 07:16:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957322#M41107</guid>
      <dc:creator>qinxk</dc:creator>
      <dc:date>2024-09-19T07:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957433#M41121</link>
      <description>&lt;P&gt;I'm testing the flash_partitioning_s32k146&amp;nbsp;example (SDK 4.0.3, gcc 6.2).&lt;/P&gt;
&lt;P&gt;Debug_Flash target&lt;/P&gt;
&lt;P&gt;The FLASH_DRV_CommandSequence() function is in SRAM (.code_ram).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1726734447986.png" style="width: 715px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299949iD98B3DEE6B1788B7/image-dimensions/715x393?v=v2" width="715" height="393" role="button" title="danielmartynek_0-1726734447986.png" alt="danielmartynek_0-1726734447986.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1726734447986.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 08:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957433#M41121</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-19T08:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957510#M41133</link>
      <description>&lt;P&gt;Ok， from the debug info, it's really in SRAM.&lt;/P&gt;&lt;P&gt;Hi buddy,&amp;nbsp;I want to clarify my requirement as follow:&lt;/P&gt;&lt;P&gt;For function secure system. Flash Driver, especially &lt;EM&gt;erase API&lt;/EM&gt;&amp;nbsp;, shouldn't be existent in P-flash. because:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; may erase the application if erase API is excuted abnormally, the system will crash.&lt;/P&gt;&lt;P&gt;2. API provided by flash Driver can be used in the case we need to re-program.&lt;/P&gt;&lt;P&gt;3. Our the system architecture would be Flash Driver module should be removed from Application system. It will be loaded in SRAM and then call the related service when bootloader want to upgrade the application.&lt;/P&gt;&lt;P&gt;Please feed back if any isn't clear!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 09:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957510#M41133</guid>
      <dc:creator>qinxk</dc:creator>
      <dc:date>2024-09-19T09:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate RAM NVM driver based on the SDK FLash driver?</title>
      <link>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957623#M41138</link>
      <description>&lt;P&gt;This is just a low-level SDK driver where one function is placed in SRAM, if you need the APIs to be in SRAM, you need to place it there yourself, like the FLASH_DRV_CommandSequence() is, for example.&lt;/P&gt;
&lt;P&gt;You may use the Autosar MCAL RTD FSL driver, there is this option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1726742170554.png" style="width: 606px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300012i1A1F30254C8E28C6/image-dimensions/606x379?v=v2" width="606" height="379" role="button" title="danielmartynek_0-1726742170554.png" alt="danielmartynek_0-1726742170554.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1726742170554.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Again, if this is not what you mean, you would need to implement it yourself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 10:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-generate-RAM-NVM-driver-based-on-the-SDK-FLash-driver/m-p/1957623#M41138</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-19T10:38:46Z</dc:date>
    </item>
  </channel>
</rss>

