I'm evaluating EKK- LM3S8962 kit. I'm able to run sample codes like blinky. But when I create new project as attached with this mail, I get error.
Please let me know wat is missing, even I've added startup_ccs.c file, but no use. Also please brief how important is this startup_ccs.c file in my program.
This is a path problem - to be fast solved you can go to Program | Properties | C/C++Build | TMS470Compiler and click on "Include Options" and there add the path to your /inc folder. But the best idea is to spend a little more time and read the introductory documents in your kit - there you will find some important hints how to build new projects without problems.
About startup_ccs.c: it is very important - contains start-up entry points, stack initialization, interrupt vectors and some other program initialization needed by the C environment.
To expand on points brought up by Petrei, you can also start with an example project which has all of the include paths set based on the project location and then add your code to the project. You can do this by going to "Project -> Import Existing CCS Project." The projects can be found in the c:\StellarisWare\boards\<your board> directories.
Craig Giglio94760start with an example project which has all of the include paths set based on the project location and then add your code to the project.
This is such good advice - have to wonder why TI doesn't more strongly/effectively push new users in this, "start with an example project" direction. Issue ain't going away - avoidance is poor "cure!" (forgive me - but likely true)
Poster is one of daily, ongoing, frustrated new users - painful to see this languish. Creating a new project from scratch should be avoided until users have much greater "hours of use" under their belts... TI needs to better approach/deal with this ongoing issue...
Thanks for your inputs, as suggested by you I included the path C:\StellarisWare\inc but no use, still the error is same.
I'm able to run example programs. Can you please help me with document which tells how to create my own project in CCS for Stellaris and it should also tell what are paths to be added in the project. If document is not available please guide me yourself.
Your path should be C:/StellarisWare - take care at "\" or "/" - the IDE is based on Eclipse, which keeps the UNIX path convention, not MS.
To have more info, open a StellarisWare project for your board, select it in the left pane then go to Project | Properties and see what/how the problems are solved there.
Look at this link:
The second post in this thread has an download link to a document named "Stellaris_New_Project_Guide.ppt" which is very useful for you. Read it and apply it.
Thanks again for quick reply, I changed it to
But still my issue continues. I don't know what wrong I'm doing, please look how i've created the project and in the .C file i've copy pasted Blinky code.
ccs project (please see attachment)
Hi I'll go through the ppt and get back to you...
Thanks a lot, I really like your support.
I'm now able to build my code.
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.