<?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>LPCXpresso IDE中的主题 Regarding SD card write speed</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593499#M30474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ajay Thallapalli on Tue Apr 14 03:06:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am using NGX-NXP LPC4330 board for my project. I am using SD card for read and write operation, but even though LPC4330 having higher clock rates and Dual core writing speed is very slow I don't know why it happens almost the writing speed is 0.8MB/S.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can any one help me why it is too slow and what I will do if&amp;nbsp; I want to increase speed? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:51:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:51:46Z</dc:date>
    <item>
      <title>Regarding SD card write speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593499#M30474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ajay Thallapalli on Tue Apr 14 03:06:25 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am using NGX-NXP LPC4330 board for my project. I am using SD card for read and write operation, but even though LPC4330 having higher clock rates and Dual core writing speed is very slow I don't know why it happens almost the writing speed is 0.8MB/S.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can any one help me why it is too slow and what I will do if&amp;nbsp; I want to increase speed? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593499#M30474</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SD card write speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593500#M30475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cfb on Tue Apr 14 15:22:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Download a copy of the NXP Application Note AN11070 - "Accessing SDC/MMC card using SPI/SSP on LPC1700". If you follow the instructions there you could expect to get write speeds up to about 900 kB / sec.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593500#M30475</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SD card write speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593501#M30476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Apr 16 04:50:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPCOpen 1.03 based example for the LPC4330 Xplorer board can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fproject%2FDual-USB-Host-Device-solution"&gt;http://www.lpcware.com/content/project/Dual-USB-Host-Device-solution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have modified this example to improve the read/write speed of the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are the changes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]&amp;nbsp; Identification and enabling of the high speed mode capabilities of an SD card. This was simply not implemented in the example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]&amp;nbsp; Fixed a bug in the calculation of the divider for the SDIO clock output&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]&amp;nbsp; Increased the I/O buffer size from 4kbytes to 16kbyte. Depending on the available SRAM memory, this could be even set to 32kbyte)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Raw througput tests are promising:&amp;nbsp;&amp;nbsp; SDIO clock = 51MHz, CPU frequency = 204MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandisk Ultra 32 GiB, Class 10 UHS-1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unbranded Noname 32 GiB, Class 10&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read speed for a 544 MiB file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandisk:&amp;nbsp; 18.0 MiB/s&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Noname:&amp;nbsp; 14.5 MiB/s&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Write speed for a 476 MiB file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sandisk:&amp;nbsp; 8.76 MiB/s&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Noname:&amp;nbsp; 8.44 MiB/s&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have a software which is realizing a mass storage device, then you can use this tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.chip.de%2Fdownloads%2FATTO-Disk-Benchmark_41802004.html"&gt;http://www.chip.de/downloads/ATTO-Disk-Benchmark_41802004.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On top of the raw throughput there comes some delay for USB handling and for the file system activities, but in principle the results for mass storage on SD card are in the same region as for the raw throughput.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593501#M30476</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SD card write speed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593502#M30477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by emh203 on Sat Apr 25 12:21:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You *MUST*&amp;nbsp; write in very large chunks to get anywhere near advertised performance speeds.&amp;nbsp;&amp;nbsp;&amp;nbsp; Most SD cards has a 32k or 64k erase sector size.&amp;nbsp;&amp;nbsp; This means you should be writting that much data at a time to maximize performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also,&amp;nbsp;&amp;nbsp;&amp;nbsp; my applications is USB0 as a mass storage class interface to the SD card.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The only way I could get reasonable write speeds was to implement a write cache.&amp;nbsp;&amp;nbsp; You cannot write in 64 or 512byte chunks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since my application required a great deal of memory,&amp;nbsp; I found that a 4KByte write cache was a decent tradeoff between performance and memory usage.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-SD-card-write-speed/m-p/593502#M30477</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:51:49Z</dc:date>
    </item>
  </channel>
</rss>

