Any time after the following is run, the IAR debugger fails to show correct values for static variables ("Statics" box).
SLEEPCMD |= OSC32K_CALDIS; // don't allow auto cal of 32KHz
CLKCONCMD = (CLKCONCMD & ~(CLKCON_CLKSPD | CLKCON_OSC)) | CLKCON_CLKSPD_16M;
while(CLKCONSTA & CLKCON_OSC);
Code & breakpoints continue to run properly, but cannot debug viewing static variables.
Have I set up IAR options wrong? I don't see problem in the simple rosc/xosc software examples workspace provided by TI (clk_hs_xosc.c).
Thank you,
GG