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-CC1310: CC1310 with TI-RTOS will only execute code when debugging (will not start/boot)

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

Hi,

Funny issue here. I don't know when this happened because I've been sitting writing code and debugging all day.

My CC1310 launchpad with TI-RTOS will not run if I simply apply power to it. It will only run if I from CCS7 start debugging and press "run" play button.

I've tried to disconnect all communication lines between on-board XDS110 and CC1310 in case it was something it did during startup, but the problem is still there.

How do I go about to solve this?

Edit: I have more than one launchpads and they all behave the same with this code.

edit: It has nothing to do with TI-RTOS, because I try to turn on the two LEDs before I reach BIOS_start();. The LEDs are never lit (unless I'm in debugging mode!).

int main(void)
{
    /* Call board init functions. */
    Board_initGeneral();
    Board_initUART();

    /* Open LED pins */
    ledPinHandle = PIN_open(&ledPinState, pinTable);
    if(!ledPinHandle) {
        System_abort("Error initializing board LED pins\n");
    }

    /* Clear LED pins */
    PIN_setOutputValue(ledPinHandle, Board_RLED, 1);
    PIN_setOutputValue(ledPinHandle, Board_GLED, 1);

    rxTask_init(ledPinHandle);
    txTask_init(ledPinHandle);
    uartTask_init();

    /* Start BIOS */
    BIOS_start();

    return (0);
}

  • I've now gone through many different options in project properties and I cannot find one part that might lead to behaviour like this. I find it very strange that the CC1310 will not start executing code unless I do it by pressing run in debugger.

    The project is a copy of a CC1310F64 project (launchpad is F128). After copying the project I changed the target to CC1310F128. But searching through the project files for "CC1310F64" reveals lots and lots of config files still bearing old target settings. I've manually changed them now and the project compiles and runs fine, but the first problem persists.

    Just to clarify what my problem is: My application code on CC1310 launchpad will not execute when I apply power. It will only run until I start debugging and press "run".

  • What I did to solve this:
    I imported a new example project for CC1310 LP from resource explorer, copied all my code into this project and it behaved just fine.
    Still very curious of what happened, though....
  • Henrik,

    I'm not quite sure what happened here, but glad to hear you resolved the issue and are able to move ahead with your development.