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/TMS320F28335: VERY BASIC, I don't understand how to load a program in the processor with CCS

Part Number: TMS320F28335

Tool/software: Code Composer Studio

So, I have a TMS320F28335 with a peripheral explorer kit. I also have a blackhawk usb 2000 jtag emulator in necessary.

I'm trying to do the most simple thing. I want to load a program with a blinking led and be able to modify it to be 100% the program is loaded and that it runs without any connection to the pc. The thing is that the processor I have already makes an led blink (maybe someone did this before). I was following one of the many "getting started" guides, the "F2833x_DEV_USER_GUIDE" and the y give you a small program to test this:

#include "DSP28x_Project.h"
void main(void)
{
Uint32 delay;
InitSysCtrl();
//
// Configure GPIO34 as a GPIO output pin
//
EALLOW;
GpioCtrlRegs.GPBMUX1.bit.GPIO34 = 0;
GpioCtrlRegs.GPBDIR.bit.GPIO34 = 1;
EDIS;
while(1)
{
//
// Toggle LED
//
GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1;
//
// Delay for a bit
//
for(delay = 0; delay < 2000000; delay++)
{
}
//
// Toggle LED
//
GpioDataRegs.GPBTOGGLE.bit.GPIO34 = 1;
//
// Delay for a bit
//
for(delay = 0; delay < 2000000; delay++)
{
}
}
}

When following that guide many unexpected things happen. 

1)I get dozens of warnings when building

2)When clicking debug and then resume all leds light up and nothing happens anymore

3)Changing delays in the programs has no effect in anything

I dont understand what Im missing or doing wrong.

"Build" just compiles right?

"Debug" runs the program in the processor without flashing right? Does it start right away?

"Flash" writes to memory?