<?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: MCAL Eth Module Init Error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCAL-Eth-Module-Init-Error/m-p/1497893#M16733</link>
    <description>&lt;P&gt;I saw that your application go to GMAC_Ip_InitDMA before jump into Hardfault.&lt;BR /&gt;Does it mean that you configured to using DMA in your application?&lt;BR /&gt;If yes, you must Init MCL module (Which includes DMA configs) before GMAC_Ip_InitDMA()&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 08:37:50 GMT</pubDate>
    <dc:creator>cuongnguyenphu</dc:creator>
    <dc:date>2022-07-29T08:37:50Z</dc:date>
    <item>
      <title>MCAL Eth Module Init Error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Eth-Module-Init-Error/m-p/1493048#M16540</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="5" color="#3366FF"&gt;Context&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am using the "Eth" module from the MCAL for the S32K344&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_0-1658383869637.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187366i5521B3BFE16B4DED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_0-1658383869637.png" alt="MateoSegura413_0-1658383869637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I added the Eth module in the configuration tool to a new project following the demo example line by line, and making sure that the settings are correct. I checked that the settings matched the ones in the example multiple times.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_1-1658383949011.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187367iD3D6364A5767E5E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_1-1658383949011.png" alt="MateoSegura413_1-1658383949011.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And here is my startup code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_2-1658383990321.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187368i90B0F6E53A01E7B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_2-1658383990321.png" alt="MateoSegura413_2-1658383990321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5" color="#3366FF"&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When the code gets to the Eth_Init, it crashes with the &lt;EM&gt;HardFault_Handler &lt;/EM&gt;from the following function call tree, and I have no idea why this is happening. It does not happen in the demo, and I don't have any extra modules, other than the ones needed by the Eth driver&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_3-1658384167899.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187369i6772A8C50B95DCF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_3-1658384167899.png" alt="MateoSegura413_3-1658384167899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Eth-Module-Init-Error/m-p/1493048#M16540</guid>
      <dc:creator>MateoSegura413</dc:creator>
      <dc:date>2022-07-21T06:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL Eth Module Init Error</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Eth-Module-Init-Error/m-p/1497893#M16733</link>
      <description>&lt;P&gt;I saw that your application go to GMAC_Ip_InitDMA before jump into Hardfault.&lt;BR /&gt;Does it mean that you configured to using DMA in your application?&lt;BR /&gt;If yes, you must Init MCL module (Which includes DMA configs) before GMAC_Ip_InitDMA()&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 08:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Eth-Module-Init-Error/m-p/1497893#M16733</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-07-29T08:37:50Z</dc:date>
    </item>
  </channel>
</rss>

