<?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: FreeRTOS hard fault when using Newlib in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-hard-fault-when-using-Newlib/m-p/2049220#M33553</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205898"&gt;@chect1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately we do not have any documentation or example of how to integrate Segger RTT with the RT1170's CM4 core. However, Erich Styger does have a post on how to properly integrate newlib (and newlib-nano) with FreeRTOS for our MCUs, so please look into that and let me know if it works for you:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2017/07/02/using-freertos-with-newlib-and-newlib-nano/" target="_blank"&gt;Using FreeRTOS with newlib and newlib-nano | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2025 16:59:25 GMT</pubDate>
    <dc:creator>EdwinHz</dc:creator>
    <dc:date>2025-02-21T16:59:25Z</dc:date>
    <item>
      <title>FreeRTOS hard fault when using Newlib</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-hard-fault-when-using-Newlib/m-p/2046914#M33516</link>
      <description>&lt;P&gt;Trying to get Segger RTT working and found I needed reentr.h, so I tried switching to newlib to solve that problem. Once I do, I get hard fault (Imprecise data bus) when I try and use the idle function in FreeRTOS&lt;/P&gt;&lt;P&gt;Project attached&lt;/P&gt;&lt;P&gt;Switching to Redlib works fine, newlib crashes&lt;/P&gt;&lt;P&gt;Seems to work ok if I turn the idle function off, although I haven't troubleshot it further&lt;/P&gt;&lt;P&gt;My goal is to get Segger RTT working on the CM4 core, which is proving much more difficult than anticipated. Are there any examples for this?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 05:06:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-hard-fault-when-using-Newlib/m-p/2046914#M33516</guid>
      <dc:creator>chect1</dc:creator>
      <dc:date>2025-02-19T05:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS hard fault when using Newlib</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-hard-fault-when-using-Newlib/m-p/2049220#M33553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205898"&gt;@chect1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately we do not have any documentation or example of how to integrate Segger RTT with the RT1170's CM4 core. However, Erich Styger does have a post on how to properly integrate newlib (and newlib-nano) with FreeRTOS for our MCUs, so please look into that and let me know if it works for you:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2017/07/02/using-freertos-with-newlib-and-newlib-nano/" target="_blank"&gt;Using FreeRTOS with newlib and newlib-nano | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 16:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FreeRTOS-hard-fault-when-using-Newlib/m-p/2049220#M33553</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-02-21T16:59:25Z</dc:date>
    </item>
  </channel>
</rss>

