Carsten Gr\ufffdn wrote: > Hello, > I have some code running now on a Embedded Artists 2148 board that > accesses a SD card (based on the philips code). So I can read/write > individual sectors.... > My plan is to use a SD card as a "circular" buffer for data, so I > won't be using a real "file system" like FAT16 etc. > What I need now is a simple program (or some ideas for it) that can > access a SD card when connected to a PC using "raw" sector access.... > That way I will be able to read the data from the card when it is > inserted in a card reader in a PC. > > Any ideas/pointers ? If you are running Linux, you can always get direct access to the device via eg. /dev/sda1 nodes (assuming here you stuck the card in say a USB multi-card reader and it showed up as /dev/sda, with /dev/sda1 being the first partition on that device). If you're on Windows, take a look at filedisk by Bo Brant\ufffdn, its a utility for mounting devices much like the loopback device under Linux. I've used it with Cygwin for dd'ing floppy images into fake drives for booting vmware, and mounting iso's. It should be low-level enough for you. Here's a site with filedisk http://www.insidewindows.info/ I'm not sure what Windows will do if you plug a device in that has no file system, it'll probably offer to format it for you. Helpful soul that it is ... Dave
Message
Re: [lpc2000] MMC/SD support on LPC2000
2006-01-17 by David Hawkins
Attachments
- No local attachments were found for this message.