<?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: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2133119#M239239</link>
    <description>Hi @Zhiming,&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;#define GPIO_CONFIG ( \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_DSE(6U) | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_HYS_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PE_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PUE_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_FSEL_MASK)&lt;BR /&gt;&lt;BR /&gt;added this config&lt;BR /&gt;IOMUXC_SetPinConfig(IOMUXC_SAI1_RXD1_GPIO4_IO03, GPIO_CONFIG); // add0&lt;BR /&gt;but still the toggling speed is not changed</description>
    <pubDate>Mon, 14 Jul 2025 07:41:09 GMT</pubDate>
    <dc:creator>adithya369</dc:creator>
    <dc:date>2025-07-14T07:41:09Z</dc:date>
    <item>
      <title>Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2116446#M238219</link>
      <description>&lt;P&gt;I am currently working on the Cortex-M7 core of the i.MX8MP platform and am trying to place all the code and data sections into &lt;STRONG&gt;TCM&lt;/STRONG&gt;&amp;nbsp; &lt;STRONG&gt;(ITCM&lt;/STRONG&gt; and &lt;STRONG&gt;DTCM&lt;/STRONG&gt;) to ensure optimal performance. However, I have not been successful in modifying the linker script accordingly, as the existing memory configuration and placement logic are a bit unclear to me.&lt;/P&gt;&lt;P&gt;Could you kindly provide a working linker script or an example configuration that correctly places all code and data segments into the &lt;STRONG&gt;TCM&lt;/STRONG&gt; regions for the Cortex-M7 on this platform?&lt;/P&gt;&lt;P&gt;This would greatly help me proceed with development and ensure the application runs from the fastest available memory.&lt;/P&gt;&lt;P&gt;Thank you in advance for your support.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 12:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2116446#M238219</guid>
      <dc:creator>adithya369</dc:creator>
      <dc:date>2025-06-15T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2119760#M238403</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please refer the linker file in sdk exmaple:&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/MCUX_2.16.100/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos/armgcc/MIMX8ML8xxxxx_cm7_flash.ld" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/MCUX_2.16.100/evkmimx8mp/multicore_examples/rpmsg_lite_str_echo_rtos/armgcc/MIMX8ML8xxxxx_cm7_flash.ld&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 01:51:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2119760#M238403</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-06-20T01:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2129889#M239075</link>
      <description>Hi Ziming,&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;I'm working on the Cortex-M7 core of the i.MX8M Plus and evaluating GPIO toggling performance using direct register access.&lt;BR /&gt;&lt;BR /&gt;Currently, I'm observing a GPIO toggling time of ~250ns per edge (~2MHz frequency).&lt;BR /&gt;&lt;BR /&gt;How can we achieve better performance?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;adithya</description>
      <pubDate>Tue, 08 Jul 2025 07:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2129889#M239075</guid>
      <dc:creator>adithya369</dc:creator>
      <dc:date>2025-07-08T07:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2131495#M239158</link>
      <description>Hi @zhiming,&lt;BR /&gt;Any update on this???</description>
      <pubDate>Thu, 10 Jul 2025 07:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2131495#M239158</guid>
      <dc:creator>adithya369</dc:creator>
      <dc:date>2025-07-10T07:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2131508#M239159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240658"&gt;@adithya369&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please use below setting about pad configuration.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1752132851164.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346942iDBEB539F006E209A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1752132851164.png" alt="Zhiming_Liu_0-1752132851164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The test code should like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_1-1752132923154.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346944i4DEAB436C77553C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_1-1752132923154.png" alt="Zhiming_Liu_1-1752132923154.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2131508#M239159</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-07-10T07:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2132478#M239201</link>
      <description>Hi,&lt;BR /&gt;From your advise to explicitly set the slew rate for pad configuration using the following macro:&lt;BR /&gt;#define GPIO_CONFIG ( \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PE(1U) | /* Pull Enable */ \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PUE(1U) | /* Pull Up */ \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_DSE(3U) | /* Drive Strength = medium */ \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_FSEL(1U)| /* Function select = 1 */ \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_SRE(1U) /* Fast slew rate */ \&lt;BR /&gt;)&lt;BR /&gt;However, after adding the IOMUXC_SW_PAD_CTL_PAD_SRE(1U) line, I get the following build error:&lt;BR /&gt;error: implicit declaration of function 'IOMUXC_SW_PAD_CTL_PAD_SRE'; did you mean 'IOMUXC_SW_PAD_CTL_PAD_ODE'? [-Wimplicit-function-declaration]&lt;BR /&gt;My Questions:&lt;BR /&gt;&lt;BR /&gt;Is IOMUXC_SW_PAD_CTL_PAD_SRE missing or not defined in this SDK?&lt;BR /&gt;&lt;BR /&gt;What is the correct way to set slew rate for a GPIO pin on this platform?&lt;BR /&gt;&lt;BR /&gt;Could this be a header file or SoC support issue?&lt;BR /&gt;&lt;BR /&gt;I followed the recommended approach, but now I’m stuck due to this build failure. Any help or clarification would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Adithya.</description>
      <pubDate>Fri, 11 Jul 2025 10:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2132478#M239201</guid>
      <dc:creator>adithya369</dc:creator>
      <dc:date>2025-07-11T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2132919#M239228</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please use&amp;nbsp;IOMUXC_SW_PAD_CTL_PAD_FSEL&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#define IOMUXC_SW_PAD_CTL_PAD_FSEL_MASK          (0x18U)
#define IOMUXC_SW_PAD_CTL_PAD_FSEL_SHIFT         (3U)
/*! FSEL - Slew Rate Field
 *  0b0x..Select slow slew rate (SR=1)
 *  0b1x..Select fast slew rate (SR=0)
 */
#define IOMUXC_SW_PAD_CTL_PAD_FSEL(x)            (((uint32_t)(((uint32_t)(x)) &amp;lt;&amp;lt; IOMUXC_SW_PAD_CTL_PAD_FSEL_SHIFT)) &amp;amp; IOMUXC_SW_PAD_CTL_PAD_FSEL_MASK)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 02:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2132919#M239228</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-07-14T02:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Linker Script to Place Code/Data in TCM (Cortex-M7, i.MX8MP)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2133119#M239239</link>
      <description>Hi @Zhiming,&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;#define GPIO_CONFIG ( \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_DSE(6U) | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_HYS_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PE_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_PUE_MASK | \&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_FSEL_MASK)&lt;BR /&gt;&lt;BR /&gt;added this config&lt;BR /&gt;IOMUXC_SetPinConfig(IOMUXC_SAI1_RXD1_GPIO4_IO03, GPIO_CONFIG); // add0&lt;BR /&gt;but still the toggling speed is not changed</description>
      <pubDate>Mon, 14 Jul 2025 07:41:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-for-Linker-Script-to-Place-Code-Data-in-TCM-Cortex-M7-i/m-p/2133119#M239239</guid>
      <dc:creator>adithya369</dc:creator>
      <dc:date>2025-07-14T07:41:09Z</dc:date>
    </item>
  </channel>
</rss>

