Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] MMC/SD support on LPC2000

2006-01-17 by Sean

I get really tired of everyone bashing windows all the time... :)  Isn't it 
interesting how 4x the number of bugs are found in linux than windows?  But 
I digress...

Check out WinHex, it can directly access any fixed media device at a raw level.

Alternatively, if you aren't afraid of a little programming, you can easily 
open any raw device and seek to any sector and read/write to your hearts 
content with only a few lines of standard C code.  Windows has just as 
robust an addressing system as linux does under the /dev/ filesystem, if 
anything windows has even more, do a google search on the \\?\ prefix.  No 
fooling of windows is necessary to make this happen.

-- Sean

At 03:07 PM 1/17/2006, you 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 ?
>
>Regards,
>Carsten

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.