<?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 ProcessorsのトピックRe: Serious bug in SDHC driver for WinEC7</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229159#M16885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="209412" data-objecttype="3" href="https://community.nxp.com/people/adeneoengineeringteam" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; color: #3778c7; text-decoration: underline;"&gt;Adeneo Engineering Team&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; do you have an update on this case?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2013 18:55:59 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2013-04-08T18:55:59Z</dc:date>
    <item>
      <title>Serious bug in SDHC driver for WinEC7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229156#M16882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think found very serious&amp;nbsp; issue in EC7 SDHC driver.&lt;/P&gt;&lt;P&gt;In my case it leads to complete hang in SDHC driver in certain use cases.&lt;/P&gt;&lt;P&gt;It is being triggered by certain sequence of SD bus commands received by the CESDHCBase in common FSL code part..&lt;/P&gt;&lt;P&gt;The log from instrumented (traces added) version of that driver is attached to this message.&lt;/P&gt;&lt;P&gt;The issue was triggered by following command sequence&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CMD25 non fast path&lt;/P&gt;&lt;P&gt;CMD12&lt;/P&gt;&lt;P&gt;CMD24 non fast path&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this sequence SDHC driver is dead.&lt;/P&gt;&lt;P&gt;The problem appears to be in global variable of current request.&lt;/P&gt;&lt;P&gt;It looks like we can have MORE then ONE current request because request processing code calls&lt;/P&gt;&lt;P&gt;new request add code FROM previous request's completion call so we have several requests on the stack.&lt;/P&gt;&lt;P&gt;Somewhere in that chain of calls/requests 'current request' global variable loses the ground and it makes driver hang.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone experienced this problem?&lt;/P&gt;&lt;P&gt;How can it be fixed?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: this bug may affect all iMX drivers for WINEC7 because it is in common FSL code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached: log from hung driver.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335957"&gt;Log1---fail-2560-bytes.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 11:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229156#M16882</guid>
      <dc:creator>AlexeyT</dc:creator>
      <dc:date>2013-03-18T11:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Serious bug in SDHC driver for WinEC7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229157#M16883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deactivated user can you help on this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 16:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229157#M16883</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2013-03-22T16:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Serious bug in SDHC driver for WinEC7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229158#M16884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I can help with this case.&lt;/P&gt;&lt;P&gt;I managed to work around it but my fix is ugly and&lt;/P&gt;&lt;P&gt;I am not sure that it fixes the issue completely.&lt;/P&gt;&lt;P&gt;Which information do you need?&lt;/P&gt;&lt;P&gt;I would recommend that we switch to private messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alexey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 09:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229158#M16884</guid>
      <dc:creator>AlexeyT</dc:creator>
      <dc:date>2013-03-28T09:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Serious bug in SDHC driver for WinEC7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229159#M16885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="209412" data-objecttype="3" href="https://community.nxp.com/people/adeneoengineeringteam" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff; color: #3778c7; text-decoration: underline;"&gt;Adeneo Engineering Team&lt;/A&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; do you have an update on this case?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 18:55:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229159#M16885</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2013-04-08T18:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Serious bug in SDHC driver for WinEC7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229160#M16886</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 faced with the similar issue. I am wondering if this problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;iy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Oct 2014 10:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Serious-bug-in-SDHC-driver-for-WinEC7/m-p/229160#M16886</guid>
      <dc:creator>hedehodo</dc:creator>
      <dc:date>2014-10-18T10:19:21Z</dc:date>
    </item>
  </channel>
</rss>

