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.
I was looking to build a simple Hello World app for the Beaglebone with CCS 5.3. I installed the am335x SDK and CSS as described at http://processors.wiki.ti.com/index.php/Code_Composer_Studio_v5_Users_Guide
All is fine and I can cross compile with no errors. I also set up Remote System Explorer as described http://processors.wiki.ti.com/index.php/How_to_setup_Remote_System_Explorer_plug-in This also works fine I have good connection to BeagleBone and I can copy files and remote shell also works.
There is already a hello app on the device I assume from the original kernel build. If I execute this from the remote shell I get the standard "Hello World" prompt feedback. If I copy my release build "MyHello" to /usr/bin and mark it as executable then try to run it I get:
-sh: /usr/bin/MyHello: No such file or directory
I can clearly see the file Is there both from the remote explorer and locally from the BB GUI.
What is up?
Hi David,
Check the permissions for the file. When I copy a program to the remote target, I need to set the execute permissions before I can run it.
Thanks
ki
Another thing to check: did you generate this file using GCC for Linux (typically arm-none-Linux-gnueabi-gcc) or the TI compiler (armcl) or the baremetal Linaro (arm-none-eabi-gcc)? You should use the first for that.
Actually I tried building with the Linaro tool chain (As described in the CCS user manual) and the gcc tool chain. They both fail the same way ...MyHello: command not found
I even tried coping to SD card and using that. Still no luck.