How to send and receive data using UART2 (RS232) interface

You can use attached lrz binary.
Here is an example to transfer file via UART console:

  1. transfer this lrz binary to /tmp of module by WINSCP
  2. cd /tmp; chmod 777 ./lrz;
  3. ./lrz -X cwe </dev/ttyHSL1 >/dev/ttyHSL1
  4. In tera term, File → Transfer → XMODEM → tick 1K box → choose the file you want to transfer.
  5. the file will be in /tmp with filename “cwe”.

lrz (202.7 KB)