This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM57x File Transfer from Linux over USB Serial Connection

I would like to transfer a file from a linux machine over usb to the am57x system. I can connect to the device using "picocom -b 115200 /dev/ttyUSB0" and go into receive mode with C-a, C-r. How can I send a file to the device from the linux machine? Any further attempt to use picocom to send a file results in "FATAL: cannot lock /dev/ttyUSB0: Resource temporarily unavailable".

  • Hi,

    I do not have a lot of experience with picocom but it sounds like a variant of minicom which serial communication program connecting over UART. It is possible to transfer files via one of the supported *-modem protocols with an appropriate receiver on the target side. However, this is not the best way to transfer files to the target.

    Isn't Ethernet an option? Then you can use the scp etc to transfer files to the target. I'm assuming that it is running Linux on the target too.

    If this does not answer your question, I think you need to expand your question and provide details of what you are trying to do.

    Regards

    Karthik

  • Hi Karthik,

    I would like to setup my device (am57x) so that I can remotely transfer files between it and the server it is connected to. Right now it is connected via USB, so I was trying to use picocom or similar to transfer files. It seems that I have to set the device in receive mode and then send from the server, but to do the first step, I already lock the connection and cannot do the send step.

    If there is a better or more standard way to transfer files remotely, then I would be open to trying that, e.g. ethernet connection. 

    Thanks

  • Kevin,

    You should definitely use the ethernet for the application that you are describing.

    Regards

    Karthik

  • Thanks, I will give it a try