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.

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.

  • Hi Todd,

    have you installed the lab software?  Do you have the latest stellarisware version?

    http://www.ti.com/ww/en/launchpad/stellaris_head.html?DCMP=stellaris-launchpad&HQS=stellaris-launchpad-b

    http://processors.wiki.ti.com/index.php/Getting_Started_with_the_Stellaris_EK-LM4F120XL_LaunchPad_Workshop?DCMP=stellaris-launchpad&HQS=stellaris-launchpadtraining

    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. 

    Best Regards,
    Lisa

  • Hi Lisa,

    > 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.

    Todd

  • Hi Todd,

    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.

    Best Regards,
    Lisa

  • 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.

    Thanks again,

    Todd

  • Hi Todd,

    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.

    http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/GSW-Stellaris-LaunchPad/StellairisLaunchpadWorkshopFiles-1.0-Setup.exe

    http://processors.wiki.ti.com/index.php/Getting_Started_with_the_Stellaris_EK-LM4F120XL_LaunchPad_Workshop?DCMP=stellaris-launchpad&HQS=stellaris-launchpadtraining

    Best Regards,
    Lisa

  • Hi Todd,

    just thought I would check for any updates and whether the tips helped.

    Best Regards,
    Lisa

  • Lisa,

    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.

    Todd

  • Hi Todd,

    happy to hear and thanks for the update.

    All the best with development,

    Lisa