<?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 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1744337#M28070</link>
    <description>&lt;P&gt;thank you very much, can you share me with the file shown as the picture you pasted&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 08:41:07 GMT</pubDate>
    <dc:creator>zq1</dc:creator>
    <dc:date>2023-10-23T08:41:07Z</dc:date>
    <item>
      <title>S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1742667#M27966</link>
      <description>&lt;P&gt;when&amp;nbsp; i first debug power on .the program will into&amp;nbsp;HardFault,&amp;nbsp; but&amp;nbsp; after the flash init finished, it will not into&amp;nbsp;into&amp;nbsp;HardFault, i want to know why?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1697698965413.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245869i37E397C54446C55B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1697698965413.png" alt="zq1_0-1697698965413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status_t flash_init(void)&lt;BR /&gt;{&lt;BR /&gt;status_t ret = STATUS_ERROR;&lt;BR /&gt;ret = FLASH_DRV_Init(&amp;amp;Flash1_InitConfig0,&amp;amp;Flash_SSD_InitConfig);&lt;BR /&gt;if (ret != STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;if(Flash_SSD_InitConfig.EEESize == 0)&lt;BR /&gt;{&lt;BR /&gt;//FLASH_DRV_DEFlashPartition(&amp;amp;Flash_SSD_InitConfig,0x02,0x04,0,false,true);&lt;BR /&gt;/* Configure FlexRAM as EEPROM and FlexNVM as EEPROM backup region,&lt;BR /&gt;DEFlashPartition will be failed if the IFR region isn't blank.&lt;BR /&gt;Refer to the device document for valid EEPROM Data Size Code&lt;BR /&gt;and FlexNVM Partition Code. For example on S32K144:&lt;BR /&gt;- EEEDataSizeCode = 0x02u: EEPROM size = 4 Kbytes&lt;BR /&gt;- DEPartitionCode = 0x03u: EEPROM backup size = 32 Kbytes&lt;BR /&gt;EEE_FLASH 0x10008000 ~ 0x1000FFFF&lt;BR /&gt;D_FALSH 0x10000000~0x10007FFF*/&lt;BR /&gt;INT_SYS_DisableIRQGlobal();&lt;BR /&gt;ret = FLASH_DRV_DEFlashPartition(&amp;amp;Flash_SSD_InitConfig,0x02,0x03,0,false,true);&lt;BR /&gt;if (ret != STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;ret = FLASH_DRV_Init(&amp;amp;Flash1_InitConfig0,&amp;amp;Flash_SSD_InitConfig);&lt;BR /&gt;if (ret != STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;ret = FLASH_DRV_SetFlexRamFunction(&amp;amp;Flash_SSD_InitConfig,EEE_ENABLE,0,NULL);&lt;BR /&gt;if (ret != STATUS_SUCCESS)&lt;BR /&gt;{&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;INT_SYS_EnableIRQGlobal();&lt;BR /&gt;return STATUS_SUCCESS;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;hope your reply&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 07:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1742667#M27966</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-10-19T07:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1743584#M28019</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219920"&gt;@zq1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it looks like Read-While-Write error. Important point is that you can't touch the flash when executing this command:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1697793381281.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246119i61AEF6A1CD4CE4C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1697793381281.png" alt="lukaszadrapa_0-1697793381281.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When using SDK drivers, the code runs from RAM (code which launches the command and which waits for done).&lt;/P&gt;
&lt;P&gt;Two common issues I would check:&lt;/P&gt;
&lt;P&gt;- callback function in flash is used&lt;/P&gt;
&lt;P&gt;- there's an interrupt which touches the flash&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 09:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1743584#M28019</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-10-20T09:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1744337#M28070</link>
      <description>&lt;P&gt;thank you very much, can you share me with the file shown as the picture you pasted&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 08:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1744337#M28070</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-10-23T08:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1744394#M28074</link>
      <description>&lt;P&gt;It's from the reference manual:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K1XXRM" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=S32K1XXRM&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 09:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1744394#M28074</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-10-23T09:44:19Z</dc:date>
    </item>
  </channel>
</rss>

