coubi wrote:
> Hi everybody,
> I want to upload files and directory on an SD-CARD controlled by EFSL. I
> want to use the USB port for make the transfert. But I haven't any idea
> about the solution to use.I don't know how to use the usart to upload
> file into the SD-CARD. If anyone have an idea ...
> Thanks
> PS: sorry for my english ...
An "old school" solution would be to use the USB as a "virtual" com-port
and
transfer the files by a simple file-transfer-protocol i.e. X/Y/ZMODEM.
Another not so modern solution would be to transfer the files-content
with a self-written PC-software to the controller. This software could
use something like ZMODEM inside but would not need a virtual COM-port
but some kind of self-written USB-driver.
A modern solution would be to implement a USB mass-storage device in the
controller's firmware and use the OS's drivers. Keil has an
storage-example for LPC214x (keil.com), Atmel has one for AT91SAM7
(needs registration, at91.com/atmel.com). Once the mass-storage code is
working it should be relativly easy to interface read/writes to the
efsl-routines.
Martin Thomas