<?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: RT1064 code placement in OCRAM2 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1362568#M16890</link>
    <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thanks for clarification. I have one follow up question. Attachment shows OCRAM2(0x2020_0000~0x2020_7FFF) is used by Boot ROM. 0x7FFF is 32K not 64K. However, your answer was "ROM use 64K OCRAM2"?&lt;/P&gt;&lt;P&gt;64K should be 0xFFFF.&lt;/P&gt;&lt;P&gt;Code can be safely placed from 0x2020_8000? (after 32K)&lt;/P&gt;&lt;P&gt;or 0x2021_0000? (after 64K)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Hyunwoo&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 16:04:45 GMT</pubDate>
    <dc:creator>choix361</dc:creator>
    <dc:date>2021-10-27T16:04:45Z</dc:date>
    <item>
      <title>RT1064 code placement in OCRAM2</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1361827#M16878</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am currently using RT1064 and trying to place code in OCRAM2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I burned fuse for FlexRAM and configuration is 256KB-ITCM, 128KB-DTCM, 64KB-OCRAM(2028_0000~2028_FFFF).&amp;nbsp;&lt;/P&gt;&lt;P&gt;From manual, there is designated 512KB OCRAM2(2020_0000~2027_FFFF).&lt;/P&gt;&lt;P&gt;Q1:&amp;nbsp;Is OCRAM2 safe to use as code space?&lt;/P&gt;&lt;P&gt;Q2: Does boot rom use OCRAM2 as general ram space?&lt;/P&gt;&lt;P&gt;Background: strange behavior on code execution which is placed at beginning of OCRAM2(2020_0000).&lt;/P&gt;&lt;P&gt;Program loads fine and during debug, it hits hard fault when code tries to jump to execute 2020_0000. I suspect this area has been modified by something.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 16:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1361827#M16878</guid>
      <dc:creator>choix361</dc:creator>
      <dc:date>2021-10-26T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064 code placement in OCRAM2</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1361996#M16882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192846"&gt;@choix361&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/P&gt;
&lt;P&gt;Q1:&amp;nbsp;Is OCRAM2 safe to use as code space?&lt;/P&gt;
&lt;P&gt;Answer: Yes, it's safe, just need to care during boot. As the ROM will use at least 64K during boot.&lt;/P&gt;
&lt;P&gt;Q2: Does boot rom use OCRAM2 as general ram space?&lt;/P&gt;
&lt;P&gt;Answer: Yes, you are right, ROM use 64K OCRAM2. please check this picture from the reference manual:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1635301470093.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160293iF091D99A33F24502/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1635301470093.png" alt="kerryzhou_0-1635301470093.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="kerryzhou_1-1635301485894.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160294i36B1E5A2249614E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1635301485894.png" alt="kerryzhou_1-1635301485894.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 02:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1361996#M16882</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-10-27T02:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064 code placement in OCRAM2</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1362568#M16890</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Thanks for clarification. I have one follow up question. Attachment shows OCRAM2(0x2020_0000~0x2020_7FFF) is used by Boot ROM. 0x7FFF is 32K not 64K. However, your answer was "ROM use 64K OCRAM2"?&lt;/P&gt;&lt;P&gt;64K should be 0xFFFF.&lt;/P&gt;&lt;P&gt;Code can be safely placed from 0x2020_8000? (after 32K)&lt;/P&gt;&lt;P&gt;or 0x2021_0000? (after 64K)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Hyunwoo&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 16:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1362568#M16890</guid>
      <dc:creator>choix361</dc:creator>
      <dc:date>2021-10-27T16:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: RT1064 code placement in OCRAM2</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1363771#M16925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192846"&gt;@choix361&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please check the application note:&lt;/P&gt;
&lt;P&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1635496704097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160679iA8470DB0F5598A13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1635496704097.png" alt="kerryzhou_0-1635496704097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, to keep safe, leave 64K for the ROM, thanks.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 08:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1064-code-placement-in-OCRAM2/m-p/1363771#M16925</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-10-29T08:38:42Z</dc:date>
    </item>
  </channel>
</rss>

