transfer files using ethernet cable between SD card and computer

Status
Not open for further replies.

akhs

Newbie level 6
Joined
Nov 9, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,366
i am using mikroc software, can we transfer files between computer and a SD card using mikroc libraries? if so what is the process to do that.
 

there are several options.

1. Implement a TCP/IP stack and use the FTP protocol to transfer files to the sdcard. This method may seem cumbersome but since you have a ethernet port on the system a TCP/IP stack may be the best solution.

2. Instead of implementing TCP protocol, which is quite complicated, you could use UDP instead and make your own file transfer procedure.

I have developed a system that uses a SDCard and ENC28J60 driver IC interfaced to a PIC 18F2620 mcu, this system uses UDP for data transfers. To implement UDP connectivity you need to add other basic protocols like ARP,ICMP etc.

The system I developed connects via ethernet to a wireless router, I use a laptop to access the device (uses a static IP address) and download data from the SDcard.

The above solutions would be very easy to develop if you have ready made stack for the mcu you are using.

thanks
a
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…