Proper use of sx

Posted by Richard Möhn on
URL: http://elua-development.15.s1.nabble.com/Proper-use-of-sx-tp7578110.html

Hi!

I'm trying to transfer a Lua program from my computer to an STM32F4
Discovery. The shell is working fine with minicom and I am following
these steps

 1. Input recv in the shell. It outputs

      Waiting for file ... CC[...]
   
    outputting C's and making me hurry.

 2. Open minicom's dialog for sending files, select the program file and
    hit Enter. It says:

      Retry 0: Got 72 for sector ACK
      Retry 0: NAK on sector      
      Retry 0: Got 72 for sector ACK
      Retry 0: NAK on sector      
      Retry 0: Got 72 for sector ACK
      Retry 0: NAK on sector      
      [...]
      Retry 0: Retry Count Exceeded    

      Transfer incomplete

I have tried options like -a, -b, -X for sx, but to no avail. I disabled
flow control. I have tried screen. I have tried cutecom. All to no
avail.

How is this done properly? I'd especially like to hear of ways to avoid
those minicom dialogs. -- Just a command in a separate shell that sends
the file after I have sent "recv" to eLua.

Best,

Richard
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev