<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>how to read/write to compact flash  card</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16901/how-to-read-write-to-compact-flash-card</link><description> hi all, 
pls help me with writing &amp;amp; reading &amp;amp; erasing of Compact Flash Cards. all suggetsions, links, codes are welcome. 
thanx in advance, 
rgds, 
kaushik </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: how to read/write to compact flash  card</title><link>https://community.arm.com/thread/95912?ContentTypeID=1</link><pubDate>Fri, 07 Nov 2003 03:19:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:33352499-7181-4d16-8dd8-a9c51de86281</guid><dc:creator>Frank de Jonge</dc:creator><description>&lt;p&gt;Looks like you&amp;#39;ll have to use a file system for sure. these links might help a bit. Although written for AVR processors, conversion shouldn&amp;#39;t be that difficult.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://hubbard.engr.scu.edu/avr/avrlib/" target="_blank"&gt;http://hubbard.engr.scu.edu/avr/avrlib/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.yampp.com" target="_blank"&gt;http://www.yampp.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Could be helpful too:&lt;br /&gt;
&lt;a href="http://freedos-32.sourceforge.net/index.html" target="_blank"&gt;http://freedos-32.sourceforge.net/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Good luck...&lt;br /&gt;
Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to read/write to compact flash  card</title><link>https://community.arm.com/thread/72060?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2003 23:01:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:62699800-a1b7-45ab-8a71-36802d111ed3</guid><dc:creator>Bala K</dc:creator><description>&lt;p&gt;i wish to use the Compact Flash Card for a presure scanner data logging system. i need to know how to interface 8051 &amp;amp; Compact Flash Card. this card i shall leter be inserting into a PC-CF reader &amp;amp; take the data on to a PC.&lt;br /&gt;
pls help me with protocols/codes/etc&lt;br /&gt;
thanx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to read/write to compact flash  card</title><link>https://community.arm.com/thread/95903?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2003 19:35:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:355123b0-b9f5-49b2-88ed-1249f51926ab</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;I was thinking more in terms of replaceable storage for some single gadget.&lt;br /&gt;
&lt;br /&gt;
But for an applicaton like a data log, you&amp;#39;ll probably want to read the data somewhere other than the logging device, which means more software and drivers for the reading device.  For a linear card, I wouldn&amp;#39;t be surprised if you could just buy a reader and some software to dump an image onto your PC, though.&lt;br /&gt;
&lt;br /&gt;
Or you could just use an ATA card in the first place, buying a PC CF reader (they&amp;#39;re about $15-$30), and just reading the files directly on the PC.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://shop.pcconnection.com/web/Shopping/Product.htm?NRMODE=Published&amp;amp;NRORIGINALURL=%2fweb%2fShopping%2fProduct%2ehtm%3fproduct_id%3d361511&amp;amp;product_id=361511&amp;amp;NRNODEGUID=%7bC03E868D-1CEF-4F98-8F00-45BF12FCEA4E%7d&amp;amp;NRQUERYTERMINATOR=1&amp;amp;cookie%5Ftest=1" target="_blank"&gt;http://shop.pcconnection.com/web/Shopping/Product.htm?NRMODE=Published&amp;amp;NRORIGINALURL=%2fweb%2fShopping%2fProduct%2ehtm%3fproduct_id%3d361511&amp;amp;product_id=361511&amp;amp;NRNODEGUID=%7bC03E868D-1CEF-4F98-8F00-45BF12FCEA4E%7d&amp;amp;NRQUERYTERMINATOR=1&amp;amp;cookie%5Ftest=1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.amazon.com/exec/obidos/tg/detail/-/B0000633DU/102-2901789-8907353?v=glance" target="_blank"&gt;http://www.amazon.com/exec/obidos/tg/detail/-/B0000633DU/102-2901789-8907353?v=glance&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This reader is kind of interesting because the picture makes it obvious just how much the CF card looks like an ATA disk drive.  Pretty much just connect the wires on your IDE cable, and you&amp;#39;re good to go.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.pretec.com/index2/product/Accessory/IDE_CF_reader.htm" target="_blank"&gt;http://www.pretec.com/index2/product/Accessory/IDE_CF_reader.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Probably more pain and suffering to get the file system and ATA interface code running on the 8051 device, though.  Does anyone know of an off-the-shelf solution for that problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to read/write to compact flash  card</title><link>https://community.arm.com/thread/86556?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2003 13:54:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93383900-16d7-452e-845d-c013d042d771</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;There are also &amp;#39;linear memory&amp;#39; flash cards ... require device-specific flash memory driver software.&amp;quot;&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Presumably, you&amp;#39;d also have to code PC drivers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to read/write to compact flash  card</title><link>https://community.arm.com/thread/41218?ContentTypeID=1</link><pubDate>Thu, 06 Nov 2003 11:32:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2cc18dfe-1a43-4f5b-9185-f68d86d28447</guid><dc:creator>Drew Davis</dc:creator><description>&lt;p&gt;&lt;a href="http://www.compactflash.org/" target="_blank"&gt;http://www.compactflash.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Usually, a CompactFlash card looks like a PCMCIA ATA disk drive, so you&amp;#39;ll need file system code.  The &amp;quot;portable file&amp;quot; CF cards, such as where you take the CF out of your digital camera and plug it into your PC card reader, are usually this sort.&lt;br /&gt;
&lt;br /&gt;
There are also &amp;quot;linear memory&amp;quot; flash cards, which are really just flash memory chips packaged in a cartridge, and require device-specific flash memory driver software.  You would code for these much like you would for flash parts soldered onto your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>