<?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中的主题 MCF54455EVB BSP ATA Question</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54455EVB-BSP-ATA-Question/m-p/178775#M7191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Thanks to kmahan (and others?) for the new BSP with ATA support!!!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;As described in the known issues, DMA isn't working for this port, and transfers are MODE 4 PIO, which results in pretty poor performance (see below).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;It is noted that DMA will be supported in a future release.&amp;nbsp; The project I'm working on (custom board) will be transferring image data from an ATA drive, so I'd like to get the best performance possible.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Questions:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;1) Is "hdparm -t" reasonably accurate in reporting performance?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;2) What kind of increase might we expect when DMA MODE 5 is supported?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Thanks again for getting this working!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Some stats:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/mnt # hdparm -T /dev/sda&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffer-cache reads:&amp;nbsp;&amp;nbsp; 128 MB in&amp;nbsp; 8.07 seconds = 15.86 MB/sec&lt;BR /&gt;/mnt # hdparm -t /dev/sda&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 64 MB in 21.33 seconds =&amp;nbsp; 3.00 MB/sec&lt;BR /&gt;/mnt # hdparm -t /dev/sda1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda1:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 64 MB in 35.02 seconds =&amp;nbsp; 1.83 MB/sec&lt;BR /&gt;/mnt # hdparm -T /dev/sda1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #330000;"&gt;My PC Core-Duo2 Fedora8 system (I know, not really comparable - running SATA-300, UDMA with much more memory, &amp;gt;20x CPU performance) - but for reference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda5:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 164 MB in&amp;nbsp; 3.03 seconds =&amp;nbsp; 54.16 MB/sec&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 230 MB in&amp;nbsp; 3.02 seconds =&amp;nbsp; 76.12 MB/sec&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 09:05:26 GMT</pubDate>
    <dc:creator>simath</dc:creator>
    <dc:date>2008-01-11T09:05:26Z</dc:date>
    <item>
      <title>MCF54455EVB BSP ATA Question</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54455EVB-BSP-ATA-Question/m-p/178775#M7191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Thanks to kmahan (and others?) for the new BSP with ATA support!!!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;As described in the known issues, DMA isn't working for this port, and transfers are MODE 4 PIO, which results in pretty poor performance (see below).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;It is noted that DMA will be supported in a future release.&amp;nbsp; The project I'm working on (custom board) will be transferring image data from an ATA drive, so I'd like to get the best performance possible.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Questions:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;1) Is "hdparm -t" reasonably accurate in reporting performance?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;2) What kind of increase might we expect when DMA MODE 5 is supported?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Thanks again for getting this working!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #330000;"&gt;Some stats:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/mnt # hdparm -T /dev/sda&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffer-cache reads:&amp;nbsp;&amp;nbsp; 128 MB in&amp;nbsp; 8.07 seconds = 15.86 MB/sec&lt;BR /&gt;/mnt # hdparm -t /dev/sda&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 64 MB in 21.33 seconds =&amp;nbsp; 3.00 MB/sec&lt;BR /&gt;/mnt # hdparm -t /dev/sda1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda1:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 64 MB in 35.02 seconds =&amp;nbsp; 1.83 MB/sec&lt;BR /&gt;/mnt # hdparm -T /dev/sda1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #330000;"&gt;My PC Core-Duo2 Fedora8 system (I know, not really comparable - running SATA-300, UDMA with much more memory, &amp;gt;20x CPU performance) - but for reference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda5:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 164 MB in&amp;nbsp; 3.03 seconds =&amp;nbsp; 54.16 MB/sec&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: 'Courier New';"&gt;/dev/sda:&lt;BR /&gt;&amp;nbsp;Timing buffered disk reads:&amp;nbsp; 230 MB in&amp;nbsp; 3.02 seconds =&amp;nbsp; 76.12 MB/sec&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 09:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54455EVB-BSP-ATA-Question/m-p/178775#M7191</guid>
      <dc:creator>simath</dc:creator>
      <dc:date>2008-01-11T09:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: MCF54455EVB BSP ATA Question</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54455EVB-BSP-ATA-Question/m-p/178776#M7192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Forgot to mention:&amp;nbsp; The USB Mass Storage "hdparm -t" rate is about 2x the ATA rate.&amp;nbsp; A "cp" transfer from USB MS to ATA of a 100Mbyte file seems to confirm an ATA rate of about 2.5-3.0 Mbytes/sec.&amp;nbsp; Note the USB to ATA timing was done after the file was fully cached (no USB drive accesses seen) - on copy pass #2.&amp;nbsp; The cached read access ("hdparm -T") is identical for both file systems, so I assume this is the max. memory transfer rate through the file system drivers (about 16 Mbytes/sec.).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Actually, the cached transfer rate seems a little on the slow side as well for DMA transfers from 16-bit 266MHz DDR2.&amp;nbsp; Can this be improved?&amp;nbsp; Does it have something to do with the Crossbar priority settings?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:54:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54455EVB-BSP-ATA-Question/m-p/178776#M7192</guid>
      <dc:creator>simath</dc:creator>
      <dc:date>2008-01-11T13:54:46Z</dc:date>
    </item>
  </channel>
</rss>

