Hi
I'm writing code for an UC3A0512-ES using an EVK1100 board and IAR EW 3.10A as development environment.
My code run into an "unrecoverable exception" when compiled using any other optimization levels then maximum optimization for size. If I so much as change the optimization settings for one file the application fails. I'm using the interrupt controller drivers in Atmel's Software Framwork 1.2.2.
It happens during the second call to stdlib free() function. A hypothesis has been that an interrupt occurs when executing "inside" free() and that this somehow move the application into this state. I therefore disabled global interrupts before free() and re-enabled global interrupts after but this did not help me.
Anyone who has experienced the same or similar thing? Or know what might be strange? All ideas are most welcome, this is really anoying. Thanks!
/Adde