<?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>Kinetis MicrocontrollersのトピックRe: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287913#M60760</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I never put the operation in watchdog.&lt;/P&gt;&lt;P&gt;I just disable the interrupt with " __asm("CPSID i")" before the operation and enable the interrupt after the operation.&lt;/P&gt;&lt;P&gt;Whatever I will test the function again.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 03:09:14 GMT</pubDate>
    <dc:creator>cqhcau</dc:creator>
    <dc:date>2021-06-07T03:09:14Z</dc:date>
    <item>
      <title>KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287228#M60720</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I develop KEAZ128 MCU with S32DS.When running to the code below(s==4,or2),the MCU stop running.&lt;/P&gt;&lt;P&gt;if (s==4) {&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(CCP_DWORD*)d = *(CCP_DWORD*)p;&lt;/STRONG&gt;&lt;BR /&gt;} else if (s==2) {&lt;BR /&gt;&lt;STRONG&gt;*(CCP_WORD*)d = *(CCP_WORD*)p;&lt;/STRONG&gt;&lt;BR /&gt;} else {&lt;BR /&gt;*d = *p;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cqhcau_0-1622781485669.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146227i6390DF1BE0913E96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cqhcau_0-1622781485669.png" alt="cqhcau_0-1622781485669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, if I change the code to below, it's running ok. I guess &amp;nbsp;the&amp;nbsp;problem it's the pointer.&lt;/P&gt;&lt;P&gt;But the same code running ok on S32K144 MCU.&lt;/P&gt;&lt;P&gt;So, why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;CCP_BYTE i;&lt;/P&gt;&lt;P&gt;if (s==4) {&lt;BR /&gt;&amp;nbsp;for(i = 0; i &amp;lt; 4; i++)&lt;BR /&gt;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;*d++ = *p++;&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;} else if (s==2) {&lt;BR /&gt;for(i = 0; i &amp;lt; 2; i++)&lt;BR /&gt;{&lt;BR /&gt;*d++ = *p++;&lt;BR /&gt;}&lt;BR /&gt;&amp;nbsp;} else {&lt;BR /&gt;&amp;nbsp;*d = *p;&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 04:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287228#M60720</guid>
      <dc:creator>cqhcau</dc:creator>
      <dc:date>2021-06-04T04:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287303#M60727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What's the value of d and p?&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&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 days 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>Fri, 04 Jun 2021 06:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287303#M60727</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-06-04T06:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287320#M60728</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;p&lt;/STRONG&gt; is a&amp;nbsp;Pointer&amp;nbsp;to a globle&amp;nbsp;variable“vehda_tiECUOn” and &lt;STRONG&gt;d&amp;nbsp;&lt;/STRONG&gt;is a Pointer&amp;nbsp;to a address in stack.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cqhcau_0-1622789960082.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146254iA86A2E323A18C65B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cqhcau_0-1622789960082.png" alt="cqhcau_0-1622789960082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cqhcau_1-1622789975668.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146255i648AB4912A0610B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cqhcau_1-1622789975668.png" alt="cqhcau_1-1622789975668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 07:01:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287320#M60728</guid>
      <dc:creator>cqhcau</dc:creator>
      <dc:date>2021-06-04T07:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287890#M60758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you do not put these operation in wdog, do you meet this problem again?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&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 days 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>Mon, 07 Jun 2021 02:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287890#M60758</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-06-07T02:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287913#M60760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I never put the operation in watchdog.&lt;/P&gt;&lt;P&gt;I just disable the interrupt with " __asm("CPSID i")" before the operation and enable the interrupt after the operation.&lt;/P&gt;&lt;P&gt;Whatever I will test the function again.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 03:09:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1287913#M60760</guid>
      <dc:creator>cqhcau</dc:creator>
      <dc:date>2021-06-07T03:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1288001#M60765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I test the usage of pointer you provided on FRDM-k64. It works well. So I think it may be not the pointer problem. I can't reappear the problem. So it is hard to say what causes this result.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&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 days 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>Mon, 07 Jun 2021 06:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1288001#M60765</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-06-07T06:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1288868#M60783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I test the funtion again.I found when the code running to the two lines below it will get wrong.&lt;/P&gt;&lt;P&gt;00019e90: ldrh r0, [r0,#0]&lt;/P&gt;&lt;P&gt;00019e92: strh r0,[r2,#0]&lt;/P&gt;&lt;P&gt;Do you know why?&lt;/P&gt;&lt;P&gt;I&amp;nbsp;seach on the internet,it said: maybe the pointer point to non aligned address will lead to hard err.Is the reason?&lt;/P&gt;&lt;P&gt;In my project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;CCP_BYTE dtm[8];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;d = &amp;amp;dtm[1];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*(CCP_DWORD*)d = *(CCP_DWORD*)p;&lt;/STRONG&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cqhcau_0-1623138782220.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146530i1C9B44C5A5C77189/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cqhcau_0-1623138782220.png" alt="cqhcau_0-1623138782220.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cqhcau_1-1623138814978.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146531i8A4301E5F87E5D41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cqhcau_1-1623138814978.png" alt="cqhcau_1-1623138814978.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 10:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1288868#M60783</guid>
      <dc:creator>cqhcau</dc:creator>
      <dc:date>2021-06-08T10:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128-S32DS WDOG_EWM_IrqHandler ERR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1289555#M60801</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can try to align your two variable. It looks like that the 'd' address is not aligned.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&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 days 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, 09 Jun 2021 03:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEAZ128-S32DS-WDOG-EWM-IrqHandler-ERR/m-p/1289555#M60801</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-06-09T03:21:47Z</dc:date>
    </item>
  </channel>
</rss>

