Download .pyo script using RxD, TxD and GND

5 thoughts on “Download .pyo script using RxD, TxD and GND

  1. Does anybody know is it possibile to download .pyo scrypt (14kB size)  to Telit module (GM862) with only 3 pins RxD, TxD and GND without HW handshake. I try with Rsterm, Pythonwin and Hyperterminal and doesnt work.

    In most cases after a few seconds of start file transfer Telit module goes to reset, acording to LED behaviour.

    After issuing command AT#LSCRIPT I see that .pyo exist but much smaller then original (8kB).

    Rsterm demand HW flow control for download and it work but I want download with no handshake.

    1. From Telit AT Commands Reference Guide:


      The file should be sent using RAW ASCII file transfer.
      It is important to set properly the port settings. In particular:
      Flow control: hardware.
      Baud rate: 115200 bps  


      From Telit Easy Script in Python:


      The script in Hyper Terminal  is downloaded regardless the previous serial settings at:
      115200 baud 8-N-1 and with hardware flow control.


      1. Thank You Cosmin for the Answare but, I know that smaller scripts can be downloaded into module by 9600,8,N,1 with no HW handshake. Is thare any way to download script of 14K size? I have feeling that You know the Answare.

        1. In the upload process there is a buffer of course, and the flow control line is there to keep it overflowing; at low speeds, sending smaller packets with enough pause intervals between them might prevent filling the buffer. Now rsterm or another serial terminal software can be modified to implement such "unsafe" upload mode, with selectable packet sizes and pauses lengths, but the price of doing this might be higher than simply providing a CTS line into the design.



  2. From my experience I know that writing scripts without flow control is possible. I’m using this method everytime when I write code to GE863-GPS. I will try to do small HOW-TO


    Disable flow control on device (AT&K0)

    Set serial port on 115200 8N1

    After AT#WSCRIPT command send code in parts, not bigger than 4096 bytes.

    After each package, wait 0.001 sec per each byte in package. (In example for 2 bytes package wait 2*0.001s)


    After that check generate checksum from file and compare it with checksum from AT#LCSRIPT.  


    Thats all.

    It’s really work.