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.

CCS/PROCESSOR-SDK-AM335X: App load via UART

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Code Composer Studio

Goodmorning,

I'm working with CCS 7.3 installed on Ubuntu 16.04 and I'm using a Beaglebone Black.

I'm trying to crosscompile an application which uses the ethernet port connected to a secondary device; hence I cannot deploy the application through that port.

I have a further connection with an USB-UART converter with which I can connect to Beaglebone console.

Is it possible to transfer the executable and launch it via UART? And if not what other options do I have?

Thank you.

Regards,

Davide Brunelli

  • Besides the application has to be deployed and launched as root (when I call it directly from beaglebone console, I type "sudo ./app").

    Is it possible to do it with CCS?

    I tried to create a connection in Remote System with root ID but the program answers: "Daemon failed to launch server on 192.168.0.130 using port 0" (the connection with normal user ID works correctly)

    Thanks.

  • Hi,

    I believe CCS is going to try to use IP based methods to connect, so it may not be the best choice.

    You should be able to use minicom or such to send a file. You may need rz or something like that on the target if it is not there. But, there is nothing specific about TI here, so any Linux transfer app by UART tutorial should apply and probably be the easiest way to achieve what you desire.

    Thanks.

  • I've found out how to run the application as root. As shown in the picture below, it's enough that a new connection is made in Debug Configurations that login as root.