Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN, UNIFLASH
Tool/software: Code Composer Studio
Hi,
I am facing an issue with loading & executing blink LED program in TMS570LS0432 uC.
Process followed:
1) Selected GPIO Driver alone in HALCOGen for this uC & generated code
2) Added below code snippet in sys_main.c along with other relevant parts
void delay(void) {
static volatile unsigned int delayval;
delayval = 0x400000; // 100000 are about 10ms
while(delayval--);
}
void small_delay(void) {
static volatile unsigned int delayval;
delayval = 10;
while(delayval--);
}
int main(void)
{
/** - Configure GIO for LED demo Software */
gioInit();
/*set GPIA6 as output*/
gioSetDirection(gioPORTA, 1 << 6);
while(1)
{
gioToggleBit(gioPORTA,6);
delay();
}
return 0;
}
3) Executed code in CCS v9 & got .out file and created proper target config file
Error:
On debug, receiving the below error. I tried loading the code through uniflash as well. I am getting the same error.
Kindly help!
