My environment are the following:
- PC running Centos/Linux and Minicom
- Headless and Keyboardless Raspberry Pi running Raspbian with no network TCP/IP connection
How to transfer file using minicom from PC to Raspberry Pi
I tried to transfer one image file using minicom's XMODEM from PC to Raspberry Pi by the following steps:
- I loaded the minicom on PC as root
Connect the PC to Rpi using serial connection
Login to RPi as pi user from PC host
On PC host terminal, I entered: ]# sz -X softball.jpeg
The message returned was:
Give your local XMODEM receive command now.
Then I went to RPi terminal and pressed Ctlr+A, Z, R, XMODEM and I entered softball.jpeg in the text field of the dialog box
Subsequently, minicom printed the following messages
rx: ready to receive softball.jpeg
Retry 0: Got 07 sector header
Retry 1: Got 07 sector header
Retry 7: Got 07 sector header
Retry 8: Got 07 sector header
Retry 9: Got 07 sector header
Blocks received: -1
rx: softball.jpeg removed.
READY: press any key to continue...
Thanks in advance for reading this post.