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
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.
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.
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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.