Downloading big log files from T3.5 SD to PC (serial)

Status
Not open for further replies.

rubin

New member
Hi All,
What is the best practice to download files stored on the SD card to a PC (usb-serial)?

I was trying to just loop over the file, reading and sending (serial.write) char-by-char, or buffer-by-buffer (512B), but:

1. it's way to slow (~30min for 60MB..)
2. small part of the data was corrupted

Any ideas? Other tools for the job that allows maybe a safe and fast file transfer protocol?

Thanks in advance,
Rubin
 
To clarify the problem:
1. What baud rate did you specify in Serial.begin(monitorBaud)?
2. Can your PC reliably receive data at that rate?
3. Have you considered using a compression algorithm?
 
Status
Not open for further replies.
Back
Top