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.

Running Stellaris Launchpad examples with loadti.bat



Hi everyone,

I had posted this question on http://forum.stellarisiti.com but (a) no-one had answered and (b) the website no longer seems to work! So apologies for the double post, but here's my problem. (My original post was here, but this link no longer works, at least for me: http://forum.stellarisiti.com/topic/506-loadti-with-stellaris-launchpad-examples)

I'm trying to use the loadti batch script (C:\ti\ccsv5\ccs_base\scripting\examples\loadti) to run executables on the Stellaris launchpad. I'm currently running the qs-rgb example with the command:

C:\ti\ccsv5\ccs_base\scripting\examples\loadti\loadti.bat -c C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\target_config.ccxml  -x runlog.xml C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\Debug\qs-rgb.out

The application runs successfully - the LED starts going through the colours. However the console output looks like this:

C:\>C:\ti\ccsv5\ccs_base\scripting\examples\loadti\loadti.bat -c C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\target_config.ccxml  -x runlog.xml C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\Debug\qs-rgb.out

***** DSS Generic Loader *****

START: 14:56:04 GMT-0000 (GMT)

Configuring Debug Server for specified target...
Done
TARGET: Stellaris In-Circuit Debug Interface_0
Connecting to target...
CORTEX_M4_0: GEL Output: Watchdog Timer Enabled

CORTEX_M4_0: GEL Output: UARTs Enabled

testEnv.outFiles: C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\Debug\qs-rgb.o
ut
Loading C:\StellarisWare\boards\ek-lm4f120xl\qs-rgb\ccs\Debug\qs-rgb.out
Done
Target running...
Interrupt to abort . . .
SEVERE: Profile Clock event id <0> is invalid.  Valid events are:
Error code #4013, error encountered during program execution!
Aborting!

END: 14:56:09 GMT-0000 (GMT)

I don't understand the error message which is appearing. I can't find much about profile clocks in the help (something to do with GEL?) and the syntax of the message is really odd (an error is a valid event?!). I also can't find any reference to error 4013 in the documentation.

If anyone is able to help it would be much appreciated. Thanks!

  • Emma,

    The original forum you posted your question to is not monitored by TI, only the community.  I clicked your link, however, and the page loaded correctly for me (maybe site maintenance?).

    Regarding your question, this seems more like a CCS question than a Stellaris MCU question.  I'll move this post over to the Code Composer Forum.

    -Rebecca

  • Hi Emma

    Emma King said:
    SEVERE: Profile Clock event id <0> is invalid.  Valid events are:
    Error code #4013, error encountered during program execution!
    Aborting!

    loadti assumes there is a profile clock available on all targets but that may not always be the case. Since it sounds like you are not running loadti for benchmarking purposes, I would disable the profile clock option in loadti with the '-n' option.

    Thanks

    ki

  • That solved the problem, thanks so much!