This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28335
Tool/software: TI C/C++ Compiler
I compiled my project with compiler TI v6.4.12 but failed.
The error message:
INTERNAL ERROR: Number of virtual registers beyond limit. Reduce function size.This may be a serious problem. Please contact customer support with adescription of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.
Someone posted the same error before,he solve this problem with version16.9.0, but it cost a lot of time (almost thirty minutes) to compile my project .I also made a lot of matrix calculation in my code and the error may be caused by that ,but I do not know how to solve the problem.
looking for reply.
Please preprocess the source code that causes this error, and attach that to your next post. Also show all the build options exactly as the compiler sees them.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click This Resolved My Issue on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Archaeologist:
No more than 10 seconds
In reply to George Mock:
the error caused by the file my_ekf.pp in insert file.
the following is the error reporting:
my_efk.zip**** Build of configuration Debug for project mbc_bios_2 ****
"E:\\ccs6.0\\ccsv6\\utils\\bin\\gmake" -j4 -k navigation/my_efk.obj 'Building file: ../navigation/my_efk.c''Invoking: C2000 Compiler'"H:/lib_project/ti-cgt-c2000_6.4.12/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --opt_for_speed=5 --include_path="H:/lib_project/ti-cgt-c2000_6.4.12/include" --include_path="H:/lib_project/mbc_bios_2/navigation" --include_path="H:/lib_project/mbc_bios_2/DSP2833x_common/include" --include_path="H:/lib_project/mbc_bios_2/DSP2833x_common/source" --include_path="H:/lib_project/mbc_bios_2/DSP2833x_headers/include" --include_path="H:/lib_project/mbc_bios_2/DSP2833x_headers/source" -g --preproc_only --preproc_with_comment --preproc_with_compile --diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number --gen_func_subsections=on --obj_directory="navigation" --cmd_file="./configPkg/compiler.opt" "../navigation/my_efk.c">> ../navigation/my_efk.c, line 1732: INTERNAL ERROR: Number of virtual registers beyond limit. Reduce function size
This may be a serious problem. Please contact customer support with adescription of this problem and a sample of the source files that caused thisINTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
>> Compilation failuregmake: *** [navigation/my_efk.obj] Error 1
**** Build Finished ****
In reply to jinkui wang:
Will it affect the efficiency of the code implementation?
No. If anything, it will improve efficiency. All other things being equal, the compiler is more likely to generate better code for a smaller function.
Ok ,I see ,thank you for answering questions
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.