<?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>Software LicensingのトピックRe: FREERTOS  heap memory S32k3xx</title>
    <link>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/1997097#M1882</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could you please specify a device and driver version you are using?&lt;BR /&gt;Do you have own example or use a demo one? Any modification you did beside&amp;nbsp;&lt;SPAN&gt;configTOTAL_HEAP_SIZE?&lt;BR /&gt;Try to find a function where it goes to fault.&lt;BR /&gt;Rerefer e.g. to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Interrupt-Handling-using-a-script-DS3/ta-p/1818507" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Interrupt-Handling-using-a-script-DS3/ta-p/1818507&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2024 10:27:39 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2024-11-19T10:27:39Z</dc:date>
    <item>
      <title>FREERTOS  heap memory S32k3xx</title>
      <link>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/1993885#M1881</link>
      <description>&lt;P&gt;HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x3C00; /*15kb*/&lt;/P&gt;&lt;P&gt;/* heap section */&lt;BR /&gt;.heap (NOLOAD):&lt;BR /&gt;{&lt;BR /&gt;. += ALIGN(4);&lt;BR /&gt;_end = .;&lt;BR /&gt;end = .;&lt;BR /&gt;_heap_start = .;&lt;BR /&gt;. += HEAP_SIZE;&lt;BR /&gt;_heap_end = .;&lt;BR /&gt;} &amp;gt; int_sram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define configTOTAL_HEAP_SIZE (( size_t ) 1024*8 )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;my question is if i try to change&amp;nbsp;configTOTAL_HEAP_SIZE is 10kb or below 15kb its jump to hardfault during runtime but it works perfectly for&amp;nbsp; configTOTAL_HEAP_SIZE is 8kb how to resolve it&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 17:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/1993885#M1881</guid>
      <dc:creator>manoj_123</dc:creator>
      <dc:date>2024-11-13T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: FREERTOS  heap memory S32k3xx</title>
      <link>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/1997097#M1882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;could you please specify a device and driver version you are using?&lt;BR /&gt;Do you have own example or use a demo one? Any modification you did beside&amp;nbsp;&lt;SPAN&gt;configTOTAL_HEAP_SIZE?&lt;BR /&gt;Try to find a function where it goes to fault.&lt;BR /&gt;Rerefer e.g. to&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Interrupt-Handling-using-a-script-DS3/ta-p/1818507" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Interrupt-Handling-using-a-script-DS3/ta-p/1818507&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 10:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/1997097#M1882</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-11-19T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: FREERTOS  heap memory S32k3xx</title>
      <link>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/2039709#M1893</link>
      <description>linker file i set&lt;BR /&gt;.my_heap (NOLOAD) :&lt;BR /&gt;{&lt;BR /&gt;*(.my_heap)&lt;BR /&gt;}&amp;gt; int_dtcm&lt;BR /&gt;__attribute__((section(".my_heap")))uint8_t ucHeap[configTOTAL_HEAP_SIZE];&lt;BR /&gt;Memory size&lt;BR /&gt;&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x0000F000 /* 60KB */&lt;BR /&gt;#define configTOTAL_HEAP_SIZE (( size_t ) 1024*28 )&lt;BR /&gt;#define configAPPLICATION_ALLOCATED_HEAP 1&lt;BR /&gt;&lt;BR /&gt;Hard fault is hitting at Clock_Ip_SetFlashWaitStatesCallback()&lt;BR /&gt;how can i avoid it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Feb 2025 05:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Software-Licensing/FREERTOS-heap-memory-S32k3xx/m-p/2039709#M1893</guid>
      <dc:creator>manoj_123</dc:creator>
      <dc:date>2025-02-07T05:28:57Z</dc:date>
    </item>
  </channel>
</rss>

