SD file transfer or copy to a PC FSRW 2.6
Don M
Posts: 1,652
If I wanted to copy a file from the sd card serially through a Prop to a PC (via USB) what would be involved in doing this?
Let's say I have one of Martin's DNA boards with the sd card and usb connection already in place. What would be needed on the PC end of this? For instance if I had a file on the sd card named test.txt that was 150K in size how would I get it to the PC as the same type of file?
I know I could just take the card out and make a copy by inserting into a PC but what if I wanted to do it via a USB connection?
Bean's post yesterday [url] http://forums.parallax.com/showthread.php/147835-Serial-Data-Logger-with-quot-Time-Stamp-quot-feature[/url] got me thinking about this.
Let's say I have one of Martin's DNA boards with the sd card and usb connection already in place. What would be needed on the PC end of this? For instance if I had a file on the sd card named test.txt that was 150K in size how would I get it to the PC as the same type of file?
I know I could just take the card out and make a copy by inserting into a PC but what if I wanted to do it via a USB connection?
Bean's post yesterday [url] http://forums.parallax.com/showthread.php/147835-Serial-Data-Logger-with-quot-Time-Stamp-quot-feature[/url] got me thinking about this.
Comments
Do you use the "YModem" object on the Prop side?
Then with Hyper Terminal you do a download?
Ok. Thanks Mike.
Now where do I find the YModem object? A search of the new and classic OBEX yields nothing searching for "ymodem".
http://propellerpowered.com/forum/index.php?topic=244.0
http://www.rayslogic.com/propeller/programming/YModem/Ymodem.htm
I believe this code will run up to 57,600 baud with FDS. You would need to increase the size of the FDS receive buffer to run at higher speeds. I have also attached rb1.spin and sb1.spin, which use a faster CRC calculator. They run faster than the other versions, and I think rb1.spin it will run at 115,200 without any changes to FDS.
Se my post on the other forum. I get an error when trying to Config.
Now for another question. I have a 2 prop setup like this:
SD Card -> (pin 0, etc.)Prop 2 (pins 30 & 31) ---> (pins 1 & 2) Prop 1(pins 30 & 31) --> FTDI USB --> PC
First of all is it even possible to still use the Y modem object to get the files off SD card through Prop2 then through Prop1 to a PC? And secondly how would this be setup? Run the Y modem object in Prop2?
Thanks.