Hi
I use CCS 10.
I'm trying to start a project on a LAUNCHXL-F28379D.
I am copying the blinky_cpu01 example just to get to know the device.
Here is my build configuration:
The JTAG was verified succesfully.
I build.
I start the DEBUG
I can't press play. Nothing is happening.
I don't know what are the 3 disconnected debug channels are. They are not there in the normal blonky_cpu01 project.
My LED stays ON, but that might be because of my code. And I'll be able to debug the code once I get a project running properly
Thank you for the help
Here's the code in case it's usefull.
#include "F28x_Project.h"
#define BLINKY_LED_GPIO 31
#define BLINKY_LED_GPIO2 19
#define BLINKY_LED_GPIO3 18
int main(void)
{
InitSysCtrl();
InitGpio();
GPIO_SetupPinMux(BLINKY_LED_GPIO, GPIO_MUX_CPU1, 0);
GPIO_SetupPinMux(BLINKY_LED_GPIO2, GPIO_MUX_CPU1, 0);
GPIO_SetupPinMux(BLINKY_LED_GPIO3, GPIO_MUX_CPU1, 0);
GPIO_SetupPinOptions(BLINKY_LED_GPIO, GPIO_OUTPUT, GPIO_PULLUP);
GPIO_SetupPinOptions(BLINKY_LED_GPIO2, GPIO_OUTPUT, GPIO_OPENDRAIN);
GPIO_SetupPinOptions(BLINKY_LED_GPIO3, GPIO_OUTPUT, GPIO_OPENDRAIN);
for(;;)
{
//
// Turn on LED
//
GPIO_WritePin(BLINKY_LED_GPIO, 0);
GPIO_WritePin(BLINKY_LED_GPIO2, 0);
GPIO_WritePin(BLINKY_LED_GPIO3, 0);
//
// Delay for a bit.
//
DELAY_US(1000*500);
//
// Turn off LED
//
GPIO_WritePin(BLINKY_LED_GPIO, 1);
GPIO_WritePin(BLINKY_LED_GPIO2, 1);
GPIO_WritePin(BLINKY_LED_GPIO3, 1);
//
// Delay for a bit.
//
DELAY_US(1000*500);
}
return 0;
}