<?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 S32r45 sdk oal memory allocator in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1986538#M8539</link>
    <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;may I get detailed documentation on the oal_memory_allocator.c section of s32r45 sdk?The following issues were found during debugging.I need to know the Max memory limit,thanks!&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;[WRN] [OAL_OS_AllocPhysicalMemory:68] Failed to allocate 0x180040 bytes from chunk 1 [WRN] [allocPhysMem:97] Failed to allocate physical memory [WRN] [allocMemoryArea:491] Failed to allocate physical memory OAL memory allocation failed, unit 3&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Nov 2024 07:02:53 GMT</pubDate>
    <dc:creator>sinetech</dc:creator>
    <dc:date>2024-11-03T07:02:53Z</dc:date>
    <item>
      <title>S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1986538#M8539</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;may I get detailed documentation on the oal_memory_allocator.c section of s32r45 sdk?The following issues were found during debugging.I need to know the Max memory limit,thanks!&lt;/P&gt;&lt;P&gt;log:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;[WRN] [OAL_OS_AllocPhysicalMemory:68] Failed to allocate 0x180040 bytes from chunk 1 [WRN] [allocPhysMem:97] Failed to allocate physical memory [WRN] [allocMemoryArea:491] Failed to allocate physical memory OAL memory allocation failed, unit 3&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 07:02:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1986538#M8539</guid>
      <dc:creator>sinetech</dc:creator>
      <dc:date>2024-11-03T07:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988565#M8543</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Let me ask RSDK team and I will come back to you ASAP.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 07:26:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988565#M8543</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-06T07:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988604#M8545</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;CHUNK 1 is SRAM.&lt;/P&gt;
&lt;P&gt;S32R45 has 8MB of SRAM.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988604#M8545</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-06T08:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988662#M8546</link>
      <description>hello petervlna,&lt;BR /&gt;I need the OAL detailed documentation because I use OAL frequently, and I spend a lot of time when errors occur.thanks!&lt;BR /&gt;Best regards,&lt;BR /&gt;Ray</description>
      <pubDate>Wed, 06 Nov 2024 08:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1988662#M8546</guid>
      <dc:creator>sinetech</dc:creator>
      <dc:date>2024-11-06T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1990856#M8553</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The error seems clear: &lt;SPAN&gt;"&lt;I&gt;Failed to allocate 0x180040 bytes from chunk 1"&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Maybe the CHUNK IDs are not obvious? That I agree. Those can be found in the app&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1731049960130.png" style="width: 648px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309385i920C5574A0D19FEE/image-dimensions/648x229?v=v2" width="648" height="229" role="button" title="petervlna_0-1731049960130.png" alt="petervlna_0-1731049960130.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="petervlna_1-1731049968913.png" style="width: 643px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309386i7E490DDE3D07A621/image-dimensions/643x203?v=v2" width="643" height="203" role="button" title="petervlna_1-1731049968913.png" alt="petervlna_1-1731049968913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;app_mem_mgr.h&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 07:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1990856#M8553</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-08T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1991628#M8554</link>
      <description>&lt;P&gt;hello Peter,&lt;BR /&gt;I already know the define of CHUNK ID in app_mem_mgr.h. But I face this error often, even though the request size is 512K that less than 8M SRAM size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running Range FFT Kernel...[WRN] [OAL_OS_AllocPhysicalMemory:68] Failed to allocate 0x80000 bytes from chunk 1&lt;BR /&gt;[WRN] [allocPhysMem:97] Failed to allocate physical memory&lt;BR /&gt;[WRN] [allocMemoryArea:491] Failed to allocate physical memory&lt;BR /&gt;AppMemAllocBuffer: failed to alloc 524288 bytes.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 05:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1991628#M8554</guid>
      <dc:creator>sinetech</dc:creator>
      <dc:date>2024-11-11T05:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32r45 sdk oal memory allocator</title>
      <link>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1992767#M8559</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Without knowing what app are you running ( if it is RSDK or custom) and what RSDK is used, the only assumption I can make is that memory is allocated in SRAM but not properly deallocated so after a few iterations, the error occurs because there is no more available space in that chunk&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;As for documentation, apart from what is in the user manual, the source code is available for OAL. Other than that I'm not aware of other, more detailed documentation.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 10:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/S32r45-sdk-oal-memory-allocator/m-p/1992767#M8559</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-12T10:06:13Z</dc:date>
    </item>
  </channel>
</rss>

