<?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: USB CDC stopped working when I got the NOR_Flash working... in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2317378#M244010</link>
    <description>&lt;P&gt;Worked great, thanks for the help&lt;/P&gt;</description>
    <pubDate>Thu, 12 Feb 2026 20:21:03 GMT</pubDate>
    <dc:creator>tom_porter</dc:creator>
    <dc:date>2026-02-12T20:21:03Z</dc:date>
    <item>
      <title>USB CDC stopped working when I got the NOR_Flash working...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2305576#M243807</link>
      <description>&lt;P&gt;Using an RT1021, I started with the FeeRTOS hello project, using the 1020 dev kit as my HW board, I added in the USB CDC libraries no probs, and got the CDC USB functions and talking fine. I need NVM, so I added in the flexspi_nor_flash example, after searching finally found that the HW was crashing since the linker scripts were not there. So I brought over the linker scripts, containing&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o) .text*)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;#if&lt;/SPAN&gt; memory.name==&lt;SPAN&gt;"SRAM_ITC"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;flexspi_nor_flash_ops.o&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;.text&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;fsl_flexspi.o&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;.text&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;/#if&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;#if&lt;/SPAN&gt; memory.name==&lt;SPAN&gt;"BOARD_SDRAM"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;.bss&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;/#if&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However once I do this, the USB CDC stops working, in device manager it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;complains code 43, a request for the USB descriptor failed. Has anyone &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else run into this? The UART on this board still works fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I remove the linker scripts and comment out calling the nor_flash &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;functions, the USB starts working again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and much appreciated. &lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2305576#M243807</guid>
      <dc:creator>tom_porter</dc:creator>
      <dc:date>2026-02-03T22:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC stopped working when I got the NOR_Flash working...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2312530#M243856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156668"&gt;@tom_porter&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;If SEMC(the external SDRAM controller)&amp;nbsp;is not initialized, operations on the .bss section may fail. This may cause&amp;nbsp; crashes, and USB CDC initialization may fail as well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Please try below:&lt;/P&gt;
&lt;P&gt;1: Set .bss in internal SRAM (Do not use SDRAM).&lt;/P&gt;
&lt;P&gt;2: If you need use SDRAM&amp;nbsp; , enable XIP_BOOT_HEADER_DCD_ENABLE = 1&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1770261412523.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375592iEB983CD1BE2C1205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1770261412523.png" alt="mayliu1_0-1770261412523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Wish it helps you&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;MayLiu&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 04:01:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2312530#M243856</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-02-05T04:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: USB CDC stopped working when I got the NOR_Flash working...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2317378#M244010</link>
      <description>&lt;P&gt;Worked great, thanks for the help&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 20:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-CDC-stopped-working-when-I-got-the-NOR-Flash-working/m-p/2317378#M244010</guid>
      <dc:creator>tom_porter</dc:creator>
      <dc:date>2026-02-12T20:21:03Z</dc:date>
    </item>
  </channel>
</rss>

