Other Parts Discussed in Thread: ALLIGATOR
Hello,
I have a C++ program with a bunch of global objects. So their constructor is called even before main is started (which is ok). But now I get in the first constructor already a IMPRECISERR exception. When I try to find the root cause and step through the startup the error is not coming.
I use a own exception handler function by giving m3Hwi.excHandlerFunc = "&myExceptionHandler"; in my project.cfg file. And there I see by checking the CFSR Register (Bits) that a Imprecise Error happened.
What I found by looking for more information that this error tells something like "something else went wrong". I have no idea why I get this exception! What could be the reason for this? It's even strange that everything works when I set a breakpoint in my first constructor and then step through the program.
Generally this looks like timing problems but I use only processor internal stuff (even each SW designer tells this :-) ). It's the first time that we use an TI ARM processor. So there might be something I do even "this should not be done". I have to say with Code Composer and TI Processor I see items that I wouldn't expect for a modern/actual development environment. I see (compiler) errors in the Problems tab even the Console, where the build output is shown, doesn't show no problem. But this errors can be deleted in the Problems tab (else there is a warning when trying to start debugging). And this is not the main problem as this "wrong compiler error" also comes only from time to time. More important is that my program works.
Regards
Erwin