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);
}