<?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>ColdFire/68K Microcontrollers and Processors中的主题 Re: esdhc, timeout some time after cmd 18</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930813#M13790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the latest &lt;A href="https://www.nxp.com/docs/en/errata/MCF54418DE.pdf"&gt;MCF54418 chip errata&lt;/A&gt;, there with below record:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88129i40C701F8EF7D4B5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please refer and apply Workaround with CMD18 command.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&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;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Sep 2019 07:43:08 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2019-09-02T07:43:08Z</dc:date>
    <item>
      <title>esdhc, timeout some time after cmd 18</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930812#M13789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working inside a ColdFire mcf54415 esdhc driver in linux (the sdhci layer is common), so the issue may be visible on chips with same/similar controller too as imx and others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After i mount /dev/mmcblk0p1, i can always read properly, but when i try a write on the card as "cat test &amp;gt; testfile", and in short i get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[&amp;nbsp; 576.590000] c: 18&amp;nbsp; arg 000fabd8
[&amp;nbsp; 576.590000] IRQ status 0x00000001
[&amp;nbsp; 576.590000] sdhci_irq() exiting 1

/var/tmp/sd # [&amp;nbsp; 586.720000] mmc0: Timeout waiting for hardware interrupt.
[&amp;nbsp; 586.720000] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[&amp;nbsp; 586.720000] mmc0: sdhci: Sys addr:&amp;nbsp; 0x47420010 | Version:&amp;nbsp; 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Blk size:&amp;nbsp; 0x00000012 | Blk cnt:&amp;nbsp; 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Argument:&amp;nbsp; 0x000fabd8 | Xfr mode: 0x123a0033
[&amp;nbsp; 586.720000] mmc0: sdhci: Present:&amp;nbsp;&amp;nbsp; 0xf089020a | Host ctl: 0x00000022
[&amp;nbsp; 586.720000] mmc0: sdhci: Power:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000 | Blk gap:&amp;nbsp; 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Wake-up:&amp;nbsp;&amp;nbsp; 0x00000000 | Clock:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000001
[&amp;nbsp; 586.720000] mmc0: sdhci: Timeout:&amp;nbsp;&amp;nbsp; 0x0000000e | Int stat: 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Int enab:&amp;nbsp; 0x005f000b | Sig enab: 0x007f008b
[&amp;nbsp; 586.720000] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000012
[&amp;nbsp; 586.720000] mmc0: sdhci: Caps:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x07d30000 | Caps_1:&amp;nbsp;&amp;nbsp; 0x08100810
[&amp;nbsp; 586.720000] mmc0: sdhci: Cmd:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000012 | Max curr: 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Resp[0]:&amp;nbsp;&amp;nbsp; 0x00000900 | Resp[1]:&amp;nbsp; 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Resp[2]:&amp;nbsp;&amp;nbsp; 0x00000000 | Resp[3]:&amp;nbsp; 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: Host ctl2: 0x00000000
[&amp;nbsp; 586.720000] mmc0: sdhci: ============================================&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While in some other previous cases, cmd18 completes even if with a DEBE bit set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[&amp;nbsp; 569.250000] c: 18&amp;nbsp; arg 000fb508
[&amp;nbsp; 569.260000] IRQ status 0x00000001
[&amp;nbsp; 569.260000] IRQ status 0x00400000 (DEBE bit) 
[&amp;nbsp; 569.260000] c: 12&amp;nbsp; arg 00000000
[&amp;nbsp; 569.260000] sdhci_irq() exiting 1 (related to cmd 18)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cmd17 instead, seems to always work properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have probably to find myself where my upper layer driver fails, but I am also wondering, what could be the reason of a CMD18 timeout ? May i have some hw design issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2019 10:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930812#M13789</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2019-08-31T10:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: esdhc, timeout some time after cmd 18</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930813#M13790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the latest &lt;A href="https://www.nxp.com/docs/en/errata/MCF54418DE.pdf"&gt;MCF54418 chip errata&lt;/A&gt;, there with below record:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88129i40C701F8EF7D4B5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please refer and apply Workaround with CMD18 command.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&lt;/P&gt;&lt;P&gt;&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;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 07:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930813#M13790</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2019-09-02T07:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: esdhc, timeout some time after cmd 18</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930814#M13791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;speciaL thanks, it was very helpful solved all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 20:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/esdhc-timeout-some-time-after-cmd-18/m-p/930814#M13791</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2019-09-05T20:54:11Z</dc:date>
    </item>
  </channel>
</rss>

