<?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: SD Card Assert</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201235#M11731</link>
    <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for the reply. SDK is 2.5.1 and this is with our own PCB. It happens rarely, maybe 1 out of 100 boots. I'll update the printf() to output the index value.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 13:09:36 GMT</pubDate>
    <dc:creator>mspenard603</dc:creator>
    <dc:date>2020-12-17T13:09:36Z</dc:date>
    <item>
      <title>SD Card Assert</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1200520#M11720</link>
      <description>&lt;P&gt;Hi Gents,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I occasionally get the following error when trying to use an SD card after initializing it:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ASSERT ERROR " index &amp;lt;= 7 ": file ".fsl_clock.h" Line "978" function name "CLOCK_ControlGate"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Which references the following:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;static inline void CLOCK_ControlGate(clock_ip_name_t name, clock_gate_value_t value)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;uint32_t index = ((uint32_t)name) &amp;gt;&amp;gt; 8U;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;uint32_t shift = ((uint32_t)name) &amp;amp; 0x1FU;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;volatile uint32_t *reg;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;assert(index &amp;lt;= 7);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;reg = ((volatile uint32_t *)&amp;amp;CCM-&amp;gt;CCGR0) + index;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;*reg = ((*reg) &amp;amp; ~(3U &amp;lt;&amp;lt; shift)) | (((uint32_t)value) &amp;lt;&amp;lt; shift);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But I'm unsure what error this indicates... ??&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 16:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1200520#M11720</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2020-12-16T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card Assert</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1200859#M11722</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;I'd like to know more information about the error.&lt;BR /&gt;So I was wondering if you can share which version of SDK and EVK board you tested with.&lt;BR /&gt;In further, whether you find a way of replicating the error and what the index's value was when trigger the error.&lt;BR /&gt;Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 03:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1200859#M11722</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-12-17T03:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card Assert</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201235#M11731</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks for the reply. SDK is 2.5.1 and this is with our own PCB. It happens rarely, maybe 1 out of 100 boots. I'll update the printf() to output the index value.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 13:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201235#M11731</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2020-12-17T13:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card Assert</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201312#M11736</link>
      <description>&lt;P&gt;Index at failure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SD Card detected&lt;BR /&gt;Card Init&lt;BR /&gt;kCLOCK_Pfd0 Freq: 594000000Hz&lt;BR /&gt;kCLOCK_Usdhc2Div: 2 +1&lt;BR /&gt;ROOT SD_HOST_CLK_FREQ: 198000000Hz&lt;BR /&gt;SD BUS CLOCK: 5500000Hz&lt;BR /&gt;[SYSTEM ERROR] Mount volume failed:3 0&lt;BR /&gt;Retrying mount in 100 ms&lt;BR /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! index: 1&lt;BR /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! index: 1&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! index: 16777215&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;ASSERT ERROR " index &amp;lt;= 7 ": file ".fsl_clock.h" Line "981" function name "CLOCK_ControlGate"&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 15:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201312#M11736</guid>
      <dc:creator>mspenard603</dc:creator>
      <dc:date>2020-12-17T15:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: SD Card Assert</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201524#M11749</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;According to your reply, I guess that the issue may be related to the hardware circuit.&lt;BR /&gt;I'd like to suggest you try to slow down the SD bus clock, then give it a try again.&lt;BR /&gt;Further, I'd like to suggest you use either a logic analyzer or an OSC oscilloscope to visualize the signals during initializing the SD card, it can help us to figure the issue out.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 03:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SD-Card-Assert/m-p/1201524#M11749</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-12-18T03:12:23Z</dc:date>
    </item>
  </channel>
</rss>

