<?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 example crashed when it ran from SDRAM in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1378373#M17320</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107756"&gt;@jasonedn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you solve your problem? If so, how?&lt;/P&gt;&lt;P&gt;I'm also experiencing the same issue and the fix proposed by Daniel doesn't work. I put my entire code and data in ITCM and DTCM but it still crashes at line ehciState-&amp;gt;registerBase-&amp;gt;DEVICEADDR = 0U in USB_DeviceEhciSetDefaultState().&amp;nbsp;&lt;/P&gt;&lt;P&gt;Funny thing is that it works without a debugger connected...&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Hugo&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 19:05:47 GMT</pubDate>
    <dc:creator>h_bouchard</dc:creator>
    <dc:date>2021-11-29T19:05:47Z</dc:date>
    <item>
      <title>USB example crashed when it ran from SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1205579#M11965</link>
      <description>&lt;P&gt;It worked when the usb example "dev_audio_generator_bm" ran from qspi flash on rt1020evk. However it crashed when it ram from SDRAM.&amp;nbsp; It always crashed at&amp;nbsp;USB_DeviceEhciSetDefaultState(). Actually it crashed only after&amp;nbsp;ehciState-&amp;gt;registerBase-&amp;gt;DEVICEADDR = 0U in USB_DeviceEhciSetDefaultState().&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jan 2021 04:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1205579#M11965</guid>
      <dc:creator>jasonedn</dc:creator>
      <dc:date>2021-01-02T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: USB example crashed when it ran from SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1205618#M11966</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107756"&gt;@jasonedn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to below article for your issue&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-NonCached-Memory-on-i-MXRT/ta-p/1183369" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-NonCached-Memory-on-i-MXRT/ta-p/1183369&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jan 2021 01:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1205618#M11966</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-01-03T01:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: USB example crashed when it ran from SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1378373#M17320</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107756"&gt;@jasonedn&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you solve your problem? If so, how?&lt;/P&gt;&lt;P&gt;I'm also experiencing the same issue and the fix proposed by Daniel doesn't work. I put my entire code and data in ITCM and DTCM but it still crashes at line ehciState-&amp;gt;registerBase-&amp;gt;DEVICEADDR = 0U in USB_DeviceEhciSetDefaultState().&amp;nbsp;&lt;/P&gt;&lt;P&gt;Funny thing is that it works without a debugger connected...&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 19:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1378373#M17320</guid>
      <dc:creator>h_bouchard</dc:creator>
      <dc:date>2021-11-29T19:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: USB example crashed when it ran from SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1382095#M17427</link>
      <description>&lt;P&gt;Hi Hugo,&lt;/P&gt;&lt;P&gt;It was fixed in my case by setting the following macros:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; D&lt;/SPAN&gt;&lt;STRONG&gt;ATA_SECTION_IS_CACHEABLE =1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp; XIP_EXTERNAL_FLASH = 0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 16:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/USB-example-crashed-when-it-ran-from-SDRAM/m-p/1382095#M17427</guid>
      <dc:creator>jasonedn</dc:creator>
      <dc:date>2021-12-06T16:43:34Z</dc:date>
    </item>
  </channel>
</rss>

