I have a question related to the serial terminal. I have a Linux computer and I connect to an ARM mini-computer running debian with screen /dev/ttyUSB0 115200. From there, I can login and type commands.
That means I can virtually transfer any text file, by creating a file on the ARM through the serial terminal, opening the file in the Linux computer and copy all the text to the opened terminal.
Now, I would like to transfer binary data. My ARM computer doesn't have access to internet and thus, can't install packages. That includes minicom, sadly. Besides, it doesn't have rz out of the box.
In summary, I can easily transfer everything that is text. Now, I would like to copy a binary file through it. How can it be done?
P.s.: This question extend Send a binary file through serial terminal, with a bit more constraints.
uudecode,base64or any similar tool capable of decoding an ASCII-encoded binary back to binary form? Or aperl,pythonor some other powerful script interpreter that could be used to make one?