<?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>S32 Design Studio中的主题 Re: S32K144 : DefaultISR  startupfile: function written in C-routine :</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1340538#M7791</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Dinesh,&lt;/P&gt;
&lt;P&gt;As we discussed, I don't think you need this Default ISR.&lt;/P&gt;
&lt;P&gt;Just implement handlers for interrupts/exceptions that are enabled by default like the HardFault handler.&lt;/P&gt;
&lt;P&gt;Then, only the interrupts enabled in NVIC can be called and you should have handlers implemented for those interrupts.&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, 15 Sep 2021 10:40:04 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-09-15T10:40:04Z</dc:date>
    <item>
      <title>S32K144 : DefaultISR  startupfile: function written in C-routine :</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1339739#M7790</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;
&lt;P&gt;I have written a&amp;nbsp;S32K144, DefaultISR function written in C-routine.&lt;BR /&gt;But this code is no getting hit,&amp;nbsp; still execution goes to Assembly function..&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/* The prototype shows it is a naked function - in effect this is just an
assembly function. */
static void DefaultISR( void ) __attribute__( ( naked ) );
/* The default handler implementation */
static void DefaultISR(void)
{
  NOP();
  while(1)
  {
    NOP();
  }

}&lt;/LI-CODE&gt;
&lt;DIV&gt;Now DefaultISR is defines as weak function in&amp;nbsp; startup file,&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;but still execution goes to&amp;nbsp; Assembly function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;How to override&amp;nbsp;DefaultISR funtion in assembly file ?&lt;BR /&gt;&lt;BR /&gt;Please suggest.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 10:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1339739#M7790</guid>
      <dc:creator>Dinesh_Guleria</dc:creator>
      <dc:date>2021-09-14T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 : DefaultISR  startupfile: function written in C-routine :</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1340538#M7791</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Dinesh,&lt;/P&gt;
&lt;P&gt;As we discussed, I don't think you need this Default ISR.&lt;/P&gt;
&lt;P&gt;Just implement handlers for interrupts/exceptions that are enabled by default like the HardFault handler.&lt;/P&gt;
&lt;P&gt;Then, only the interrupts enabled in NVIC can be called and you should have handlers implemented for those interrupts.&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, 15 Sep 2021 10:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1340538#M7791</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-09-15T10:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 : DefaultISR  startupfile: function written in C-routine :</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1340543#M7792</link>
      <description>&lt;P&gt;Thanks daniel I will try this &amp;amp; update :--&lt;BR /&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;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 10:40:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32K144-DefaultISR-startupfile-function-written-in-C-routine/m-p/1340543#M7792</guid>
      <dc:creator>Dinesh_Guleria</dc:creator>
      <dc:date>2021-09-15T10:40:16Z</dc:date>
    </item>
  </channel>
</rss>

