Part Number: TMDX654IDKEVM
Tool/software: Code Composer Studio
Hello,
I am trying to blink LED on my IDK .
I have created CCS project for PRU of AM65x IDK as mentioned here , LAB1
http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs#LAB_1:_Toggle_LED_with_PRU_GPO .
Here is main.c :
#include <stdint.h> // for uint32_t
volatile register uint32_t __R30;
int main(void)
{
uint32_t gpo;
while (1)
{
gpo = __R30;
gpo ^= 0xFFFF;
__R30 = gpo;
// 10 to the 8th == half-second delay
__delay_cycles(100000000);
}
}
From "debug" button drop down I selected my project and connected to PRU0 ,it started debug session but no LED is blinking after running a program.
Is my program correct ? anything missing . Please help.
Also , How can I debug other projects from pru-software-support-package ? any leads appreciated