Tool/software: TI C/C++ Compiler
Hello,
customer got following erroro message after changing the compiler from ti-cgt-c2000_18.1.1.LTS to ti-cgt-c2000_19.6.0.STS:
Compiling ../30_Bsw/Mcal/Cap/Cap.c ...
>> ../30_Bsw/Mcal/Cap/Cap.c, line 128: INTERNAL ERROR: >>>Register allocation failed: CapStatusUpdate
This may be a serious problem. Please contact customer support with a description of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
>> Compilation failure
Same error message with the timer module:
Compiling ../30_Bsw/Mcal/Gpt/Gpt.c ...
>> ../30_Bsw/Mcal/Gpt/Gpt.c, line 204: INTERNAL ERROR: >>>Register allocation failed: Gpt_Isr1ms
This may be a serious problem. Please contact customer support with a description of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
>> Compilation failure
The compiler was running until the end after comment the error line in Cap.c and Gpt.c!
Questions:
1. Is this a compiler failure?
2. How to fix this problem?
3. Why is the compiler output different of ti-cgt-c2000_18.1.1.LTS and ti-cgt-c2000_19.6.0.STS? What has changed?
4. They use the safety diagnose lib which is compiled by the ti-cgt-c2000_19.6.0.STS. Can they use the diagnose lib also with the ti-cgt-c2000_18.1.1.LTS?
Regards, Holger