Categories

Compilers
winIDEA Callstack: Issues with display 26-Nov-2024
The Callstack Window doesn't show current call stack content or the displayed info is incorrect. Possible solutions Compiler optimization The compiler can optimize the code to the extent that the required information being used by the debugger to extract theCall Stackcontextis not availabl...
winIDEA: Variables missing from the structure 26-Nov-2024
Variables missing from the structure or two structures in the ELF with the same name but slightly different types are usually caused by compiler excessive code optimization. Possible solution winIDEA offers an option to control the resolution of variable locations from Symbol table. 1. Ope...
TriCore Compiler Internal Generated Sections 19-Nov-2024
This application note provides details on the internal sections that are generated in addition to the normal code and data sections. It walks you through the following compiler-generated internal sections and describes how they can be utilized: Initializers: *.n.ini.* String literals: *.n....
C compiler: Error: syntax error - token "<token>" inserted before "<text>" 15-Nov-2024
The description of the C compiler error E208 is generic as it does not clearly explain what is wrong. Furthermore, the source code line indicated by the error message is not necessarily where the root cause of the error is present. The cause of the error itself is often trivial. Below are ...
C compiler error on using control program with --eabi-compliant or --eabi=F / --eabi=-float options 12-Nov-2024
The TriCore CPU core versions v1.3.1 up to v1.6.2 (AURIX 2G) include a hardware FPU unit for floating-point calculations. This makes float calculations very efficient because there are dedicated assembly instructions, for example, for floating-point multiplication, division, addition, or s...
winIDEA Editor: Source-level debugging not available 06-Nov-2024
This topic describes what to do if winIDEA Editor window shows inconsistent or no glyph margin (grey strip or column on the left side of the Editor), icons (glyphs, LoC (Line of Code) markers, debug line symbols,...) for debugging of the opened source file thus disabling source-level debug...
C compiler: System Error: S9xx internal consistency check failed - please report 24-Oct-2024
System errors such as S900, S903, S911, and S917 indicate an internal problem with the C compiler. There is a good chance this is caused by an issue with a certain C compiler optimization. Therefore, disabling this optimization might be a possible mitigation. Possible solution To determine...
C compiler: Minimize the impact of disabling a specific optimization 16-Oct-2024
Enabling and disabling optimizations for the complete project or one of its modules can have a significant impact on the entire project. With the #pragma optimize instructions you can selectively enable or disable specific optimizations at the source level, and obtain more fine-tuned resul...
How to get maximum debug information with GHS Compiler? 17-Sep-2024
Solution These command line options provide maximum debug information when using GHS Compiler: dual_debug full_debug_info Omoredebug You should not use ignore_debug_references compiler command line option.
winIDEA: Cannot build EVE scripts 22-Jul-2024
You encountered an error message Can not build EVE script! See Progress view for errors when attempting to start the debug session. The error can be triggered when: Any of the files inside the installation folder winIDEA\eve or eveGcc folder are missing or corrupt Any of the device cpp/h f...