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.

Starterware on linux

Hi,

On the StarterWare intro page it can be read: "StarterWare can be used stand-alone or with an RTOS"...

Well, I am trying to run any of the example applications on a beaglebone running Linux, but each one I try, I get the "Illegal Instrucion" message.

Has anyone achieved this?

Is there anything special it has to be configured when compliling the examples?

Thanks in advance

Fran

  • Hi Fran,

                  what exactly are you doing to run the example applications.

                  In StarterWare we have API's which can be used in RTOC context but with appropriate changes to work in threaded environment. The examples doesn't directly work with any other OS.

    Regards

    Baskaran

  •    Good luck. I have been trying to get an answer for this for a long time and so far no one replys. I have been sucessful at getting them to run on a Windown 7 system. if i import  a function i can download and execute it on Windown system. However, i have not been successful at downloading them on a Lunus system. I have been able to import them on my Lunux system, but have not been able to download. I get error messages The error messages are related to the emulator, but i have downloaded what TI says is needed and it does not work. I have developed my own code with CCS using modified modules from starterware. I can download it and execute it on my Windowns system OK.

    I also have been trying to find out how to convert the .out file that CCS puts out, to an executable file for the Beaglbone. All instruction that i have found tell how to make  a bootable file. However, i do not want a bootable file, i need an executable file that will load on the beaglebone's CD card. It already boots.   

     

    Regards

    Larry

  • Dear Baskaran,

    Thanks a lot for your fast reply...

    These are the steps I follow to run the examples:

    1- Go to folder: ".../build/armv7a/gcc/am335x/beaglebone"

    2 - Execute make

    3 - Go to folder:  ".../build/armv7a/gcc/am335x/beaglebone" ( I see for each example there has been created a Release and Debug directory)

    4- Then I copy the "EXAMPLE.out" file of one of the release folder (e.g: demo.out) on my SD.

    5 - I reboot my beaglebone. Linux and then I run the .out file (I have also tried the demo.bin and the demo_ti.bin but it complains saying it cannot execute binary files ).

    I would apreciate very much Iif you could point me where to get this API to use examples in RTOC.

    Kind regards,

    Fran

  • Fran,

               I feel there is lot of gap in your understanding. When we said it can be used with RTOS, the binaries can not be used as-is. You can use the driver API's and modify the code to work with RTOS. Basically the driver API's has to be built with RTOS.

             Please refer http://processors.wiki.ti.com/index.php/StarterWare for more information.      

    Regards

    Baskaran