TI E2E Community
Code Composer Studio
Code Composer Forum
EK-LM4F120XL LaunchPad Workshop problem
I am following the document Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop (September 2012 – Revision 1.00 Initial release) to try out the LM4F120 board I received recently. On page 2-9 (page 40 of the PDF file), it instructs to use the folder C:\StellarisWare\boards\MyLaunchPadBoard\Lab2\ccs, but in the actual installation folder, there is no such sub-folder. There is a folder ek-lm4f120xl, and it contains various projects (bitband, blinky, etc), but no folder specifically named Lab2?
Also, on the previous page, there is the following text:
"When the “TI Resource Explorer” and/or “Grace” windows appear, close their tabs. At this time these tools only support the MSP430."
Is this a typo? If not, not sure what it means.
have you installed the lab software? Do you have the latest stellarisware version?
Have a look at these two wikis (with links to further information and the labs. Yes, Grace is an MSP430 specific tool.
Please keep us informed.
> have you installed the lab software? Do you have the latest stellarisware version?
Yes on both counts. I have since downloaded a new version of the PDF (revision 1.01 dated October 2012) but the discrepancy in Lab 2 w/ the folder structure in StellarisWare still exists. I have version 9453 of StellarisWare installed. I have since also downloaded the CCS version of StellarisWare (EK-LM4F120XL-CCS-733) from here. I looked into its contents, but its "boards" folder does not contain the Lab2/ccs examples either.
I also left a note in the wiki here for this.
Lisa, good to have you here, you always respond, makes newcomers welcome, thank you.
no problem, that is what we are here for!! I am going to see if I can reproduce the issue here. I may have to ask for a couple days patience as it is the weekend and tomorrow is a public holiday here .... but I will do what I can.
Thanks Lisa. I can now be more specific about the problem: When I create the Lab 2 project (using New CCS Project...), there is no startup_ccs.c file created by CCS as part of the project (or any other file except the empty main.c). I have followed the "Getting Started with the Stellaris EK-LM4F120XL LaunchPad Workshop" workbook pretty much to the letter.
No problem, will wait for your response. I am able to experiment with prebuilt bin files delivered and I can flash them successfully to the board.
can you confirm you have specifically installed the workshop/lab? (first link below) I found I needed both Starterware and the workshop (which gave me the lab files) installed. I am going to continue trying this out but at least I found the lab and .c files.
just thought I would check for any updates and whether the tips helped.
With your help which verified the comments left by Notsane at the wiki page, I got Lab 2 to run! ;-)
What is confusing to a newcomer to the Eclipse (CCS) environment is that when a file is added to a folder (in this case startup_ccs.c), it is automatically displayed (as opposed to Microsoft Visual Studio behavior). Once past this stumbling block, I got the project to build.
Please note that I did get the following error on my initial attempts to run:
cortex_m4_0 error connecting to the target
There were two variants of this error that I received:
1) Timed out while waiting for target powerup/polling a hardware resource
2) Frequency is out of range
These caused CCS to crash.
I checked my Device Manager (Win 7) and all three TI-related entries were good (no yellow exclamation marks).
I changed USB ports (I was using a powered hub, switched to one directly on the main board). The error continued for couple times, but upon restarting CCS it went away by itself.
I was then able to run/pause the code.
(PS: Google search for the above error currently shows 36 results.)
Thank you for your help, much appreciated.
happy to hear and thanks for the update.
All the best with development,
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.