<?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のトピックLoading an executable image into RAM in MIMXRT1041 using serial downloader</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Loading-an-executable-image-into-RAM-in-MIMXRT1041-using-serial/m-p/1831400#M29430</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We have requirnment to run our firmware from internal RAM. By default 512KB of internal RAM MIMXRT41 has split into 3 memory sections(OCRAM 256KB, ITCM 128KB, DTCM128KB). I am trying to run LED blinking example using serial downloader.We are using sdphost to write file with 0x20000000 address and jump to 0x20000400.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am able to run below binary using MCUXpresso debugger. I guess debugger use a script(RT1040_connect.scp) to write&amp;nbsp;IOMUXC_GPR_GPR17 and&amp;nbsp;IOMUXC_GPR_GPR16 internally. these two register required to set Memory sections.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;Memory region Used Size Region Size %age Used&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_DTC: 26476 B 128 KB 20.20%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_ITC: 0 GB 128 KB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_OC: 0 GB 256 KB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;NCACHE_REGION: 0 GB 2 MB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Could someone please give me the steps required to generate such an executable bin file which I could load and run from internal RAM?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/16616"&gt;@deepak&lt;/a&gt;.pathade@microlise.com, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/28"&gt;@Mandar&lt;/a&gt;.gadgil@microlise.com,&amp;nbsp;@nada.lakhal@nxp.com&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 08:16:31 GMT</pubDate>
    <dc:creator>skarkare</dc:creator>
    <dc:date>2024-03-20T08:16:31Z</dc:date>
    <item>
      <title>Loading an executable image into RAM in MIMXRT1041 using serial downloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Loading-an-executable-image-into-RAM-in-MIMXRT1041-using-serial/m-p/1831400#M29430</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;We have requirnment to run our firmware from internal RAM. By default 512KB of internal RAM MIMXRT41 has split into 3 memory sections(OCRAM 256KB, ITCM 128KB, DTCM128KB). I am trying to run LED blinking example using serial downloader.We are using sdphost to write file with 0x20000000 address and jump to 0x20000400.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am able to run below binary using MCUXpresso debugger. I guess debugger use a script(RT1040_connect.scp) to write&amp;nbsp;IOMUXC_GPR_GPR17 and&amp;nbsp;IOMUXC_GPR_GPR16 internally. these two register required to set Memory sections.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;Memory region Used Size Region Size %age Used&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_DTC: 26476 B 128 KB 20.20%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_ITC: 0 GB 128 KB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;SRAM_OC: 0 GB 256 KB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;NCACHE_REGION: 0 GB 2 MB 0.00%&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Could someone please give me the steps required to generate such an executable bin file which I could load and run from internal RAM?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/16616"&gt;@deepak&lt;/a&gt;.pathade@microlise.com, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/28"&gt;@Mandar&lt;/a&gt;.gadgil@microlise.com,&amp;nbsp;@nada.lakhal@nxp.com&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:16:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Loading-an-executable-image-into-RAM-in-MIMXRT1041-using-serial/m-p/1831400#M29430</guid>
      <dc:creator>skarkare</dc:creator>
      <dc:date>2024-03-20T08:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loading an executable image into RAM in MIMXRT1041 using serial downloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Loading-an-executable-image-into-RAM-in-MIMXRT1041-using-serial/m-p/1832354#M29450</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231180"&gt;@skarkare&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please look into section "20.8.5 Link application to RAM" of the &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCUXPRESSO-UG" target="_self"&gt;MCUXpresso IDE User Guide&lt;/A&gt; for more information on how to build and run an application on the internal RAM of your RT1040. Let me know if you have further inquiries about this topic.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 22:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Loading-an-executable-image-into-RAM-in-MIMXRT1041-using-serial/m-p/1832354#M29450</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-03-20T22:31:52Z</dc:date>
    </item>
  </channel>
</rss>

