<?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: S32K144 Flash Partitioning Example issue in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623876#M21719</link>
    <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I am using below versions:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S32K144_SDK v4.0.1 with S32Ds v3.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your quick support.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 06:36:46 GMT</pubDate>
    <dc:creator>Punit_01</dc:creator>
    <dc:date>2023-03-29T06:36:46Z</dc:date>
    <item>
      <title>S32K144 Flash Partitioning Example issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623804#M21714</link>
      <description>&lt;P&gt;While going through the example code for S32K Flash Partitioning in S32DS, I found an issue with the generated config file (peripherals_flash_FTFC.c).&lt;/P&gt;&lt;P&gt;The flash configuration is generated as below :&lt;/P&gt;&lt;P&gt;/* Flash user configuration 0 */&lt;BR /&gt;const flash_user_config_t Flash_InitConfig0 =&lt;BR /&gt;{&lt;BR /&gt;.PFlashBase = 0x0U,&lt;BR /&gt;.PFlashSize = 0x80000U,&lt;BR /&gt;.DFlashBase = 0x10000000U,&lt;BR /&gt;.EERAMBase = 0x14000000U,&lt;BR /&gt;.CallBack = NULL&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Here, the CallBack is asigned a value equivalent to NULL =&amp;gt; (((void *)0)&lt;/P&gt;&lt;P&gt;In the file flash_driver.c, to check if we have defined a callback or not, the comparision is done with&amp;nbsp;&lt;/P&gt;&lt;P&gt;NULL_CALLBACK.&lt;/P&gt;&lt;P&gt;if (NULL_CALLBACK != pSSDConfig-&amp;gt;CallBack)&lt;BR /&gt;{&lt;BR /&gt;(pSSDConfig-&amp;gt;CallBack)();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Upon executing this example from RAM, my code is going into a fault. When i made the necessary correction, it seems to work ok.&lt;/P&gt;&lt;P&gt;I believe it should either be NULL or NULL_CALLBACK but same should be used everywhere.&lt;/P&gt;&lt;P&gt;Is there something which I am missing or is there a genuine issue here?&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 04:57:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623804#M21714</guid>
      <dc:creator>Punit_01</dc:creator>
      <dc:date>2023-03-29T04:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Flash Partitioning Example issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623866#M21717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of S32K1 SDK are you using? Looks like it's fixed in newer versions of the SDK (I imported the flash_partitioning_s32k144 example with S32DS v3.4 + S32K1 SDK RTM 4.0.3)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FLASH SDK NULL callback.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216763i2E3BCB18B43EFD63/image-size/large?v=v2&amp;amp;px=999" role="button" title="FLASH SDK NULL callback.png" alt="FLASH SDK NULL callback.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 06:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623866#M21717</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-03-29T06:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Flash Partitioning Example issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623876#M21719</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I am using below versions:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S32K144_SDK v4.0.1 with S32Ds v3.5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your quick support.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 06:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623876#M21719</guid>
      <dc:creator>Punit_01</dc:creator>
      <dc:date>2023-03-29T06:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Flash Partitioning Example issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623885#M21720</link>
      <description>&lt;P&gt;Currently S32DS v3.5 cannot update S32K1 SDK to the latest RTM 4.0.3 version, so I suggest you use S32DS v3.4.&lt;BR /&gt;Sorry for the inconvenience we bring you!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 06:43:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Example-issue/m-p/1623885#M21720</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-03-29T06:43:20Z</dc:date>
    </item>
  </channel>
</rss>

