7 years, 2 months ago.

File transfer between mbed's using serial?

I have looked around but have not found any file transfer methods over uart serial. Looking for something like xmodem. Can anyone point me in the right direction?

Thank you.

A simple solution would be a software method to do this. When I need to send data and a signal to another device or remotely, I use https://www.serial-server.net/. And do not need additional boxes and devices.

posted by Max Bendits 26 Mar 2019

1 Answer

7 years, 2 months ago.

You must study a little bit the RS232 protocol and write some functions to do what you need (file transfer) A simple explanation can be found here: http://www.commfront.com/RS232_Protocol_Analyzer_Monitor/RS232_Analyzer_Monitor_Tester_TUTORIAL.HTM If the distance between the mbed's is not greater than 1m and there is no noise environment you can try using the uarts without TTL to RS232 converters( like MAX232). These also depends on uart rate. Don't forget to look at https://mbed.org/handbook/Serial

Accepted Answer