Hi Carsten, one possibility is to write one long defragmented file with a 512 (one sector) unique bytes as starting symbol to SD card using standard card reader on PC. This is easy task - erase (better quick format) entire SD card and write prepared file. On your board you can only find start of this file - read sectors from begining until you find starting sequence and next sector is basic adress for your buffer. On PC you can simply read this file. Sorry, I forgot how this metod calls - it is not sclerosis but my inability ;-) Jarda ----- Original Message ----- From: Carsten Gr\ufffdn To: lpc2000@yahoogroups.com Sent: Tuesday, January 17, 2006 9:07 PM Subject: [lpc2000] MMC/SD support on LPC2000 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
Message
Re: [lpc2000] MMC/SD support on LPC2000
2006-01-17 by Jaromir Subcik
Attachments
- No local attachments were found for this message.