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.

CCS/LAUNCHXL-CC2640R2: Suspended with "does not contain frame information"

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hi,

I'm trying to perform the TI-RTOS Basic Tutorial here

Everything works fine execpting the suspension when debugging: 

With a click on Resume, the code runs fine. 

Now, when i try to run the execution graph i have to enable logging in the .cfg file and configure the kernel:

var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');
LoggingSetup.sysbiosLoggerSize = 2048;
LoggingSetup.loadLoggerSize = 0;
LoggingSetup.mainLoggerSize = 0;

from this point, is no possible to run the code again. It seems like, it halts like bevore but CCS thinks, the process is running. 

I have already searched the forum for this issue. There are many threads, but no answer how to prevent the suspension.

regards

Maximilian

  • Hi Maximilian,

    Did you halt the target? The default logger is a StopMode logger, so for the execution graph to work, you need to halt the target.

    Also, the link you have is (which is an older version).
    dev.ti.com/.../tirtos_basics.html

    Can you use the simplelink_academy_cc2640r2sdk_1_12_01_16 version? It should be the one dev.ti.com. You might have cached an older version.

    In the newer version, it mentions that you need to move the kernel from ROM and have it in flash (and a few other fixes).

    Todd
  • Hi Todd,

    yes, i halted the target. 

    But if i use the mentioned example the led doesn't start no blink. With disabled logging and after resuming the led starts to blink. 

    With enabled logging no halt occurs but the led doesn't blink. It seems like the code isn't running. 

    I think i'm running the current version, which is 1.30.0.25?

  • You are definitely using the SimpleLink CC2640R2 SDK v1.30.00.25 (thanks for the pic!).

    I'm talking about the SimpleLink Academy version. If you go to dev.ti.com/.../ you'll get the most recent SimpleLink Academy. Although it looks like it is in the SDK, it's versioned separately. The current academy version is 1_12_01_16. You were using 1_12_00_00 which had a couple bugs. One was that the STACKSIZE in the lab was too small. I'm hoping that is the issue. Can you try the lab again from the link I gave.

    Out of curiosity, how did you get the link you had in the first post (the link in "here")? I didn't think we used hard-coded version numbers in the dev.ti.com links.

    Todd
  • Hi Todd,

    ToddMullanix said:
    You are definitely using the SimpleLink CC2640R2 SDK v1.30.00.25 (thanks for the pic!).
    Out of curiosity, how did you get the link you had in the first post (the link in "here")? I didn't think we used hard-coded version numbers in the dev.ti.com links.

    i simple google for it. 

    ToddMullanix said:
    I'm talking about the SimpleLink Academy version. If you go to dev.ti.com/.../ you'll get the most recent SimpleLink Academy. Although it looks like it is in the SDK, it's versioned separately. The current academy version is 1_12_01_16. You were using 1_12_00_00 which had a couple bugs. One was that the STACKSIZE in the lab was too small. I'm hoping that is the issue. Can you try the lab again from the link I gave.

    i think now I have understand what you mean. If i move the Kernel, the example works. 

    But the suspension when i debug still exists. Why does it occur?

    Thanks.

    Maximilian

  • Can you give more details on what you mean by "suspension when I debug still exists"?

    Sanity check...the stack size of the copy/paste code is 1024...correct? In the 1.12.00.00 version it was too small.

    Todd
  • Hi Todd,

    yes, the stack size is 1024.

    When i debug, the program is being uploaded and a automatic breakpoint has been created. See the image below.

    Then i have to resume to run the code. Why does this occur?

  • By default there is a break-point placed at main() in CCS. You can disable this by opening Tools->Debugger Options->Auto Run and Lauch Options. Then uncheck the "On a program load or restart"

    and then select "Remember My Settings"...not sure why it's not just "Save"