<?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中的主题 Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1775749#M28050</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any update on this topic?&lt;/P&gt;&lt;P&gt;I'm very interested in this too.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Patricio&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2023 20:23:01 GMT</pubDate>
    <dc:creator>patriciocohen</dc:creator>
    <dc:date>2023-12-15T20:23:01Z</dc:date>
    <item>
      <title>USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1689447#M25998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am tring to&amp;nbsp; add usb cdc vcom in the soem_gpio_pulse_freertos example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My setup is:&lt;/P&gt;&lt;P&gt;win11, &lt;STRONG&gt;armgcc&lt;/STRONG&gt;, MCUXpresso for VSCode,&amp;nbsp;SDK_2_13_0_MIMXRT1061xxxxB,&amp;nbsp;evkmimxrt1060.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copy all the necessary file and change the CMakeList and then compile successfully. But the usb port is not showing up in the PC. It is strange beacuse I have tested the&amp;nbsp;porting in hello world project and get everything works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I compared the two demo project and find out the difference in the linker script "MIMXRT1062xxxxx_flexspi_nor.ld" .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the demo "dev cdc vcom freertos", the .bss is located in&amp;nbsp;m_data.&lt;/P&gt;&lt;P&gt;But in the demo "soem_gpio_pulse_freertos ", the .bss is&amp;nbsp;located in&amp;nbsp;m_data2. I tried to &lt;SPAN&gt;modify &lt;/SPAN&gt;it to&amp;nbsp;m_data then get a error, the ram size is not enough.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the "MCUXpresso SDK USB Stack User’s Guide" and find maybe the "USB_GLOBAL_DEDICATED_RAM" shoud be set. But there is no demo project about how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a noob in linker script, I am seeking assistance to successfully complete this porting process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your time and support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:23:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1689447#M25998</guid>
      <dc:creator>flyrobot</dc:creator>
      <dc:date>2023-07-20T13:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1691633#M26031</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220517"&gt;@flyrobot&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The following blog post does a great job explaining how to manage the linker script in order to manually move parts of the code to the desired memory spaces. Please look into it:&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/" target="_blank"&gt;https://mcuoneclipse.com/2021/05/26/placing-code-in-sections-with-managed-gnu-linker-scripts/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if you have further inquiries about this.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 22:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1691633#M26031</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2023-07-24T22:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1692232#M26039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The blog does a great job&amp;nbsp;&lt;SPAN&gt;explaining&amp;nbsp;the basic usage of linker script&amp;nbsp;. But my problem still remains. It does not cover the USB part.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to set the "USB_GLOBAL_DEDICATED_RAM"&amp;nbsp; mentioned in&amp;nbsp;&lt;SPAN&gt;"MCUXpresso SDK USB Stack User’s Guide". The default value is to use "USB_LINK_USB_GLOBAL_BSS" and "&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;USB_LINK_USB_BDT_BSS".&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;More detail instruction is needed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Jul 2023 10:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1692232#M26039</guid>
      <dc:creator>flyrobot</dc:creator>
      <dc:date>2023-07-25T10:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1692732#M26051</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186731"&gt;@EdwinHz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that if I comment out the "&lt;SPAN&gt;BOARD_ConfigMPU()"&amp;nbsp; in the main function, the usb works correctly. Can I just use it without the BOARD_ConfigMPU setup?&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess not only the linker script but also the&amp;nbsp;"BOARD_ConfigMPU()"&amp;nbsp; should be changed together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am still confused about why the usb function is effected by the memory location and mpu setttings.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 06:27:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1692732#M26051</guid>
      <dc:creator>flyrobot</dc:creator>
      <dc:date>2023-07-26T06:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1693510#M26066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220517"&gt;@flyrobot&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I would not recommend you to disable MPU, as it provides a protection layer for the memory, but is also capable if improving performance for the managed memory. I would advice you to look into the specific part of the&amp;nbsp;BOARD_ConfigMPU() function and look for what part is causing conflicts on the porting process, and go from there. You can look into&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12042.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12042.pdf&lt;/A&gt;&amp;nbsp;for more information about the MPU and the memory types for your application.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 22:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1693510#M26066</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2023-07-26T22:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: USB Stack Linker Script Modification for USB CDC VCOM Implementation</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1775749#M28050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any update on this topic?&lt;/P&gt;&lt;P&gt;I'm very interested in this too.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Patricio&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 20:23:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-Stack-Linker-Script-Modification-for-USB-CDC-VCOM/m-p/1775749#M28050</guid>
      <dc:creator>patriciocohen</dc:creator>
      <dc:date>2023-12-15T20:23:01Z</dc:date>
    </item>
  </channel>
</rss>

