<?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: Multi Block Read/Write in esdhc driver for P1015 Platform in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268465#M741</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;I'm facing a similar issue when using CMD25 to write multiple blocks on p1024rdb board. Only the first write is successful. The second multiple write can't be done.&lt;/P&gt;&lt;P&gt;I've selected AutoCMD12 and issued the multiple write command (by following the steps described at Normal write section of P1024rdb RM). Then I got transfer complete bit set and also data timeout error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple read command, single read and single write, all seem to work just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if I issue a multiple read after the first multiple write then the read will work. My problem is I can't get 2 consecutive multiple block writes working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't select AutoCMD12 for mutiple write operations and if I issue the stop command by myself after every multiple block write, then my issue is solved, but this is only an workaround and I can't rely on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any p1024 chip errata available ?&lt;/P&gt;&lt;P&gt;Has someone got into the same issue and found a reliable solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Alin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2013 16:00:29 GMT</pubDate>
    <dc:creator>rautaioan-alin</dc:creator>
    <dc:date>2013-07-04T16:00:29Z</dc:date>
    <item>
      <title>Multi Block Read/Write in esdhc driver for P1015 Platform</title>
      <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268461#M737</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;I am facing problem while transferring multiple blocks read/write in esdhc driver for P1015 Platform. However eSDHC Driver is working fine in single block read/write both with DMA/without DMA support. I have tried the same driver on imx25pdk and multiple block read/write is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Read/Write of multiple blocks Transfer is complete successfully but after then no R/W of multiple block is executed and card goes to some undefined state. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is P1015 supports multiple block read/write? If yes, any type of errata/workaround should be considered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 06:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268461#M737</guid>
      <dc:creator>muhammad_qasim</dc:creator>
      <dc:date>2013-02-22T06:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Block Read/Write in esdhc driver for P1015 Platform</title>
      <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268462#M738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see following comment from freescale engineer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The P1015 eSDHC has to support Read/Write of multiple blocks. &lt;/P&gt;&lt;P&gt;The P1024/P1015 errata document is not available yet. Some known problems with the eSDHC controller see on &lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;“&lt;/SPAN&gt;Cross Reference: sdhci-of-esdhc.c &lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;“&lt;/SPAN&gt; pages. For example see &lt;A href="http://code.metager.de/source/history/linux/stable/drivers/mmc/host/sdhci-of-esdhc.c"&gt;http://code.metager.de/source/history/linux/stable/drivers/mmc/host/sdhci-of-esdhc.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also should check for the next possible problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLKATTR[BLKCNT] does not return to 0 after Transfer Complete for multi-block transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description: For a multi-block transfer, when the XFERTYP[BCEN](block count enable) is 1, BLKATTR[BLKCNT] should decrement to 0 after Transfer Complete (TC)((IRQSTAT[TC] = 1). However, due to this erratum, BLKATTR[BLKCNT] returns to the initial value which was programmed while issuing the multi-block transfer command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Impact: The value of BLKATTR[BLKCNT] is unreliable and cannot be read to confirm a Transfer Complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround: For a multi-block transfer, after IRQSTAT[TC] = 1, software should not rely on the value of BLKATTR[BLKCNT].&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 06:45:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268462#M738</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2013-03-27T06:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Block Read/Write in esdhc driver for P1015 Platform</title>
      <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268463#M739</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;Driver is already not relying on BLKATTR[BLKCNT] bit. So this workaround could not apply in current case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also issues discussed at "&lt;A href="http://code.metager.de/source/history/linux/stable/drivers/mmc/host/sdhci-of-esdhc.c" title="http://code.metager.de/source/history/linux/stable/drivers/mmc/host/sdhci-of-esdhc.c"&gt;http://code.metager.de/source/history/linux/stable/drivers/mmc/host/sdhci-of-esdhc.c&lt;/A&gt;" seems not relevant to Multi Block transfer. I have tried one of the issue "disable CMD23 for some Freescale SoCs" mentioned at above link but it is also not compatible with current scenario. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, Driver is successfully WRITING Multi Block Transfer 5 times [Block Size = 512, No of Blocks = 3] =&amp;gt; 5 * 3 * 512B After first successful READ Multi Block [Block Size = 512, No of Blocks = 3], Driver Data Line PRSSTAT[DLA] goes to inactive state,&amp;nbsp; PRSSTAT[SDOFF] bit is clear and IRQSTAT[BRR] is clear means "Not ready to read buffer". So second Multi Block Call is unsuccessful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 11:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268463#M739</guid>
      <dc:creator>muhammad_qasim</dc:creator>
      <dc:date>2013-04-24T11:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Block Read/Write in esdhc driver for P1015 Platform</title>
      <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268464#M740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the problem occur on all the boards, or just some of the boards? Which SDK release version do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see the erratum which can lead to the problem:&lt;/P&gt;&lt;P&gt;A-004577:&amp;nbsp; PRSSTAT[DLA] bit does not reflect the data line state when any command with busy (R1b) is issued&lt;/P&gt;&lt;P&gt;Affects: eSDHC&lt;/P&gt;&lt;P&gt;Description: When an AutoCMD12 or any command with busy (R1b) is issued, PRSSTAT[DLA] bit should reflect the data line state. However, due to this erratum, PRSSTAT[DLA] is not applicable to detect data busy state.&lt;/P&gt;&lt;P&gt;Furthermore, the corresponding transfer complete interrupt is not generated.&lt;/P&gt;&lt;P&gt;However, the AutoCMD12 or any command with busy (R1b) can still be used with the restriction that busy needs to be de-asserted before sending new data command. &lt;/P&gt;&lt;P&gt;Impact: When an AutoCMD12 or any command with busy (R1b) is issued, PRSSTAT[DLA] bit does not reliably reflect the data line state.&lt;/P&gt;&lt;P&gt;Workaround: Software needs to wait for busy de-assertion before issuing any new data command. DAT0 line could be polled, but robust solution would be to keep sending CMD13(SEND_STATUS) until card reaches "trans" state.&lt;/P&gt;&lt;P&gt;. For AutoCMD12, CMD13 needs to be sent after TC of the data transfer command for which AutoCMD12 is enabled.&lt;/P&gt;&lt;P&gt;. For other command with busy, CMD13 needs to be sent after the command with busy completion(IRQSTAT[CC] = 1).&lt;/P&gt;&lt;P&gt;Fix plan: No plans to fix&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 02:10:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268464#M740</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2013-05-14T02:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Block Read/Write in esdhc driver for P1015 Platform</title>
      <link>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268465#M741</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;I'm facing a similar issue when using CMD25 to write multiple blocks on p1024rdb board. Only the first write is successful. The second multiple write can't be done.&lt;/P&gt;&lt;P&gt;I've selected AutoCMD12 and issued the multiple write command (by following the steps described at Normal write section of P1024rdb RM). Then I got transfer complete bit set and also data timeout error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple read command, single read and single write, all seem to work just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if I issue a multiple read after the first multiple write then the read will work. My problem is I can't get 2 consecutive multiple block writes working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I don't select AutoCMD12 for mutiple write operations and if I issue the stop command by myself after every multiple block write, then my issue is solved, but this is only an workaround and I can't rely on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any p1024 chip errata available ?&lt;/P&gt;&lt;P&gt;Has someone got into the same issue and found a reliable solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Alin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 16:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Multi-Block-Read-Write-in-esdhc-driver-for-P1015-Platform/m-p/268465#M741</guid>
      <dc:creator>rautaioan-alin</dc:creator>
      <dc:date>2013-07-04T16:00:29Z</dc:date>
    </item>
  </channel>
</rss>

