<?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>i.MX RT Crossover MCUsのトピックProblems when changing OCRAM size in Property settings?</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2002235#M32722</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using MCUXpress IDE with the MIMXRT1010-EVK.&lt;/P&gt;&lt;P&gt;I want to increase the size of the OCRAM. The ITCM and DTCM can be somewhat smaller.&lt;BR /&gt;I did fill in new sizes in the Properties of the project at C/C++ Build -&amp;gt; MCU Settings.&lt;BR /&gt;But the application crashes or values are not accepted.&lt;/P&gt;&lt;P&gt;See the attached picture.&lt;/P&gt;&lt;P&gt;The top-left MCU-settings in the picture are the original setting.&lt;BR /&gt;I decreased the ITCM and DTCM sizes and increase the OCRAM as in the top-right settings in the picture. The compiler/linker seems to accept this but when running the application, it crashes. The function &lt;SPAN&gt;HardFault_Handler(void)&lt;/SPAN&gt; is called even before the first breakpoint in main.&lt;BR /&gt;&lt;BR /&gt;Note that I decreased the RAM3 base address because it may not overlap RAM4. And increasing the RAM4 base address results in the error that the size is 0! See bottom-left in the picture. the strange thing is that the size of RAM4 originally was also 0!&lt;/P&gt;&lt;P&gt;As a test I decreased the ITCM and DTCM sizes without increasing the OCRAM so that no overlap exists. See bottom-right in the picture. This is accepted by the compiler/linker and the code runs.&lt;/P&gt;&lt;P&gt;But off course I want to increase the OCRAM size with 0x8000. How to do this???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 20:22:02 GMT</pubDate>
    <dc:creator>simmania</dc:creator>
    <dc:date>2024-11-26T20:22:02Z</dc:date>
    <item>
      <title>Problems when changing OCRAM size in Property settings?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2002235#M32722</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using MCUXpress IDE with the MIMXRT1010-EVK.&lt;/P&gt;&lt;P&gt;I want to increase the size of the OCRAM. The ITCM and DTCM can be somewhat smaller.&lt;BR /&gt;I did fill in new sizes in the Properties of the project at C/C++ Build -&amp;gt; MCU Settings.&lt;BR /&gt;But the application crashes or values are not accepted.&lt;/P&gt;&lt;P&gt;See the attached picture.&lt;/P&gt;&lt;P&gt;The top-left MCU-settings in the picture are the original setting.&lt;BR /&gt;I decreased the ITCM and DTCM sizes and increase the OCRAM as in the top-right settings in the picture. The compiler/linker seems to accept this but when running the application, it crashes. The function &lt;SPAN&gt;HardFault_Handler(void)&lt;/SPAN&gt; is called even before the first breakpoint in main.&lt;BR /&gt;&lt;BR /&gt;Note that I decreased the RAM3 base address because it may not overlap RAM4. And increasing the RAM4 base address results in the error that the size is 0! See bottom-left in the picture. the strange thing is that the size of RAM4 originally was also 0!&lt;/P&gt;&lt;P&gt;As a test I decreased the ITCM and DTCM sizes without increasing the OCRAM so that no overlap exists. See bottom-right in the picture. This is accepted by the compiler/linker and the code runs.&lt;/P&gt;&lt;P&gt;But off course I want to increase the OCRAM size with 0x8000. How to do this???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 20:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2002235#M32722</guid>
      <dc:creator>simmania</dc:creator>
      <dc:date>2024-11-26T20:22:02Z</dc:date>
    </item>
    <item>
      <title>回复： Problems when changing OCRAM size in Property settings?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2003444#M32752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;NXP provides a detailed AN to guide this operation, please refer to it.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12077.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12077.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are a few notes in it, firstly, since the size of the TCM must be an integer power of 2 and the OCRAM must be greater than 64KB. then, if you want to increase the OCRAM, there must be at least one TCM that has a value of 0. Therefore, please choose the configuration that is right for you from the following three options.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gavin_Jia_0-1732776685129.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313031i952F9400112B32C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gavin_Jia_0-1732776685129.png" alt="Gavin_Jia_0-1732776685129.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, if there is a TCM that needs to be 0, then it must be noted:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;If the requested ITCM/DTCM size is 0 Bytes, disable the corresponding TCM in&lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;IOMUXC_GPR_GPR16-&amp;gt;INIT_xTCM_EN before configuring the size to 0 Bytes in&lt;/SPAN&gt;&lt;BR role="presentation" /&gt;&lt;SPAN&gt;IOMUXC_GPR_GPR14-&amp;gt;CM7_CFGxTCMSZ.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For a more specific guide, see also this post, which is a good place to start:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Reallocating-the-FlexRAM/ta-p/1117649" target="_blank"&gt;Reallocating the FlexRAM - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 07:01:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2003444#M32752</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2024-11-28T07:01:51Z</dc:date>
    </item>
    <item>
      <title>回复： Problems when changing OCRAM size in Property settings?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2003446#M32754</link>
      <description>&lt;P&gt;PS: Sorry for my oversight, since it has to be an integer power of 2, then 96KB is also not supported, so there is &lt;STRONG&gt;only one option&lt;/STRONG&gt;, 128-0-0KB.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 07:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problems-when-changing-OCRAM-size-in-Property-settings/m-p/2003446#M32754</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2024-11-28T07:07:16Z</dc:date>
    </item>
  </channel>
</rss>

