<?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/1693042#M25462</link>
    <description>&lt;P&gt;this is my link file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1690370319615.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233704iFAB06339584A0929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1690370319615.png" alt="zq1_0-1690370319615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;when i define a const global var named&amp;nbsp;Flash_pFlashTable, i debug ,found the&amp;nbsp;Flash_pFlashTable initial value stored in&amp;nbsp;0x00010000-0x00010FFF; so when i erase the first sector&amp;nbsp;0x00010000-0x00010FFF, it erased ok ,it means the first rease clear my&amp;nbsp;Flash_pFlashTable intial value,so i second&amp;nbsp; to rease&amp;nbsp;{0x00011000,0x00011FFF} throuth&amp;nbsp;Flash_pFlashTable,it will enter&amp;nbsp;&lt;SPAN&gt;DefaultISR&amp;nbsp; like above, so i want to know how the global&amp;nbsp;variable initial will be placed in flash ,why i can erase them ???&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;const&amp;nbsp; Flash_flashSector Flash_pFlashTable[FLASH_PFLASH_NUM_SECTORS] = {&lt;/DIV&gt;&lt;DIV&gt;// {0x00010000,0x00010FFF},&lt;/DIV&gt;&lt;DIV&gt;// {0x00011000,0x00011FFF},&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{0x00012000,0x00012FFF},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{0x00013000,0x00013FFF},&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 26 Jul 2023 11:27:20 GMT</pubDate>
    <dc:creator>zq1</dc:creator>
    <dc:date>2023-07-26T11:27:20Z</dc:date>
    <item>
      <title>S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1692838#M25445</link>
      <description>&lt;P&gt;there are two problems,i hope someone could give me some advices;&lt;/P&gt;&lt;P&gt;first,when i debug the S32k144 ,the program will enter defaultisr:&lt;/P&gt;&lt;P&gt;like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1690355707236.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233646i3C3C536AE5162D01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1690355707236.png" alt="zq1_0-1690355707236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;how can i&amp;nbsp;Analyze the cause？？&lt;/P&gt;&lt;P&gt;them ,when i used the sdk of flash driver&amp;nbsp; ,i want to erase two sector ,the first time of erase is ok,but the second time will jump to&amp;nbsp;DefaultISR in the sdk function&amp;nbsp; ret = FLASH_DRV_CommandSequence(pSSDConfig);&lt;/P&gt;&lt;P&gt;the pSSDConfig is same with first time&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope your reply ,thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 08:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1692838#M25445</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-07-26T08:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1693042#M25462</link>
      <description>&lt;P&gt;this is my link file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1690370319615.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233704iFAB06339584A0929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1690370319615.png" alt="zq1_0-1690370319615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;when i define a const global var named&amp;nbsp;Flash_pFlashTable, i debug ,found the&amp;nbsp;Flash_pFlashTable initial value stored in&amp;nbsp;0x00010000-0x00010FFF; so when i erase the first sector&amp;nbsp;0x00010000-0x00010FFF, it erased ok ,it means the first rease clear my&amp;nbsp;Flash_pFlashTable intial value,so i second&amp;nbsp; to rease&amp;nbsp;{0x00011000,0x00011FFF} throuth&amp;nbsp;Flash_pFlashTable,it will enter&amp;nbsp;&lt;SPAN&gt;DefaultISR&amp;nbsp; like above, so i want to know how the global&amp;nbsp;variable initial will be placed in flash ,why i can erase them ???&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;const&amp;nbsp; Flash_flashSector Flash_pFlashTable[FLASH_PFLASH_NUM_SECTORS] = {&lt;/DIV&gt;&lt;DIV&gt;// {0x00010000,0x00010FFF},&lt;/DIV&gt;&lt;DIV&gt;// {0x00011000,0x00011FFF},&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{0x00012000,0x00012FFF},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{0x00013000,0x00013FFF},&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Jul 2023 11:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1693042#M25462</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-07-26T11:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1694236#M25523</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219920"&gt;@zq1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The DefaultISR is probably the HardFault handler.&lt;/P&gt;
&lt;P&gt;Create this function in main.c&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;void HardFault_Handler(){
while(1){}
}&lt;/LI-CODE&gt;
&lt;P&gt;You can debug it as shown in this document:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is in this region: 0x00011000, 0x00011FFF?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double check that the FLASH_DRV_CommandSequence() function is in SRAM.&lt;/P&gt;
&lt;P&gt;The MCU does not allow reading the flash block while there is a flash operation on that block.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 13:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1694236#M25523</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-27T13:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1694741#M25551</link>
      <description>&lt;P&gt;thank you ,i will read the articel you gave me ,this problem has been solved, but i have another question, i relocate&amp;nbsp;S32_SCB-&amp;gt;VTOR, what i have done like below:&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;/* Write your code here */&lt;BR /&gt;S32_SCB-&amp;gt;VTOR = 0x00012100 ;&lt;BR /&gt;__asm volatile ("cpsie i" : : : "memory");&lt;BR /&gt;CPU0_Process();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the link file :&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;/* Flash */&lt;BR /&gt;m_interrupts (RX) : ORIGIN = 0x00012100, LENGTH = 0x00000400&lt;BR /&gt;m_flash_config (RX) : ORIGIN = 0x00012500, LENGTH = 0x00000010&lt;BR /&gt;m_APP_COMPATIBLE_INFO (RX) : ORIGIN = 0x000012000, LENGTH = 0x00000020&lt;BR /&gt;m_text (RX) : ORIGIN = 0x000012510, LENGTH = 0x00032000&lt;/P&gt;&lt;P&gt;this project is app project from my boot project,i just change the interrupt table,like that,my boot project&amp;nbsp; runs well,and enter lpit irq hander nomal,but my app project can't enter&amp;nbsp; lpit irq hander nomal,i guessed the project can't find&amp;nbsp; lpit irq hander number,but how to prove it?&lt;/P&gt;&lt;P&gt;hope your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 06:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1694741#M25551</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-07-28T06:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1694993#M25570</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219920"&gt;@zq1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is the LPIT flag set in the application?&lt;/P&gt;
&lt;P&gt;Is the interrupt pending in NVIC? If so, read the PRIMASK.&lt;/P&gt;
&lt;P&gt;Or does it go to the DefaultISR() or does it run away?&lt;/P&gt;
&lt;P&gt;Can you check the vector table at 0x00012100, find the LPIT vector and check the pointer to the LPIT_ISR function?&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>Fri, 28 Jul 2023 11:32:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1694993#M25570</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-28T11:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1695414#M25596</link>
      <description>&lt;P&gt;yes,it enter&amp;nbsp;DefaultISR:&lt;/P&gt;&lt;P&gt;0x12658 &amp;lt;WDOG_EWM_IRQHandler&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1690769283337.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234243iD4C27F0E0E0FD01B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1690769283337.png" alt="zq1_0-1690769283337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i also want to know The smallest unit of address byte alignment of&amp;nbsp;m_interrupts??&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 02:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1695414#M25596</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-07-31T02:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1695686#M25607</link>
      <description>&lt;P&gt;before relocate interrupt tables,the project runs well,and the lpit interrupt runs well,after relocate the interrupt table ,once enable the lpit interrupt,the projrct will into defaultisr when the counter overflow：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zq1_0-1690792006121.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234319iC8BFCC7A201A7ABB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zq1_0-1690792006121.png" alt="zq1_0-1690792006121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 08:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1695686#M25607</guid>
      <dc:creator>zq1</dc:creator>
      <dc:date>2023-07-31T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144</title>
      <link>https://community.nxp.com/t5/S32K/S32K144/m-p/1698597#M25745</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219920"&gt;@zq1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please double check the VTOR register, then, the LPIT vector in vector table of the application, and the ISR at the address in the LPIT table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144/m-p/1698597#M25745</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-03T12:02:05Z</dc:date>
    </item>
  </channel>
</rss>

