Content originally posted in LPCWare by robert hulsebos on Thu May 12 02:29:40 MST 2016
We are using LPCXpresso v7.9.2 for building various LPC1769 projects. With one project we have hard fault situation that I am investigating. The fault occurs only when the compiler optimization setting is set at -Os (optimize for size), it does not occur when I set it at other levels. (for example -O3)
The problem I have is with the Registers tab of the Develop perspective: When using -O3 optimization, all works well and all registers on the Registers tab are displayed as expected. When I debug the same code, but this time compiled with -Os, then an 'error 37: unknown peripheral name : faults' message is displayed while trying to browse the processor registers. The attachment contains all relevant screen copies... it is an annoying bug, as especially in the situation of a fault one would like to inspect the fault registers...