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.

Stellaris LM4f120 launchpad Power on startup problem

Other Parts Discussed in Thread: SW-EK-LM4F120XL

Hi

I am new to stellaris Launchpad. I wrote a program to blink LEDs and it runs perfectly on ccs debugger mode .But when i power it up separately it doesn't work .Please help me with this.

my code is

int main(void)
{

ROM_FPUEnable();
ROM_FPUStackingEnable();

ROM_SysCtlClockSet(SYSCTL_SYSDIV_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ |
SYSCTL_OSC_MAIN);





/************************************************************************************************/
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);

while(1)
{
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 4);
SysCtlDelay(4000000);
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 8);
SysCtlDelay(4000000);
}
}