DSOQuadV2.6 RESOURCE(Update 2012/04/12)

Hello

I have been playing with the compiler settings with no success. The settings of jpa’s “Frequency response analyser” (CFLAGS=-Wall -Werror -mcpu=cortex-m3 -mthumb -mno-thumb-interwork -fno-common -O2 -g -std=gnu99 -I !STM_INC! -I !SRC_INC! -I !SRC_SRC!) don’t work better than -O0, no crash but totally unuseable traces.

What I don’t understand: what is the problem behind those unpredictable offsets?

  • not properly initialized variables (I learnt a long time ago that software where not every variable is properly initialized before use is scrap)? Then it should be enough to initialize them properly in the source code?
  • overlapping variables/arrays/stacks? Should not the compiler prevent that?
  • something else?

With all those cracks who wrote in the forum last year, I can’t believe that nobody understands enough about the system architecture, how the memory is organised and how the compiler works to tell us which settings are appropriate!!!

Patrick

PS: does anybody know which compilation options Marco used? I know this is not the same compiler but maybe we could learn from them?