serial-portteraterm

How to transfer a binary file through serial?


I brought a new hardware (connected through USB as /dev/ttyUSB0). I need to transfer a binary os.bin file through serial. The hardware has a inbuilt UART driver.

I downloaded putty & couldn't see any file transfer method in the options.

But I do see file transfer options in Teraterm, but many: kermit, X,Y & ZMODEM, Quick Van and B-Plus.

Now, I don't know about any of the protocol mentioned above.

I expect the new hardware to have only UART driver. (at a specified baud rate 115200 8N1 as mentioned in the manual)

Now, how can I tranfer os.bin to HW? & Which option should I choose in Teraterm if I use Teraterm?


Solution

  • There is an option in Teraterm under File->Send file... that can be used to send binary file over.

    If you have a binary file just check the box "binary" in the option section of the sendFile Window before pressing "Open" with your specific file selected.

    Some information about sendfile here: https://ttssh2.osdn.jp/manual/en/macro/command/sendfile.html