Hello.
I write this code for C2000:
void EEPROM_DelayWriteTime()
{
int rpt = 2000; // 2000x2,5us = 5ms
while(rpt--) // 200nop @ 80MHz = 2,5us
{
asm(" RPT #98||NOP");
GpioDataRegs.GPBSET.bit.GPIO42 = 1;
asm(" RPT #98||NOP");
GpioDataRegs.GPBCLEAR.bit.GPIO42= 1;
}
}
the compiler output
INTERNAL ERROR: C:\ti\ccsv5\tools\compiler\c2000\bin\cg2000.exe experienced a segmentation fault while
processing function _EEPROM_DelayWriteTime
This is a serious problem. Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.
what's the problem ?