Skip to content
ENGINEERING TIPS // EMBEDDED LINUX FILE TRANSFER

Transferring Files Over UART Serial Consoles with ZModem (lrzsz)

When an embedded Linux board has only a UART serial console and no active Ethernet or USB network link, ZModem (rx / sz / rz from the lrzsz package) transfers binaries directly over the active terminal session. This note documents the minicom and lrzsz workflow for transferring files over a 115200-baud UART.

Technical Notes & Reference Details

  • Host Linux setup: sudo apt-get install minicom lrzsz
  • Target Linux setup: enable the BusyBox rx applet or install the lrzsz package (rz / sz).
  • Send a file from host to target: run rx filename (or rz) on the target console, then in minicom press Ctrl-A Z, S (Send files), select zmodem, and choose the local file.

Datasheets, Source Code & Reference Links