This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NXP Kinetis KL0: no update of System Viewer registers during debug.

How to make register values in Peripheral->System Viewer be updated during debug? I use SEGGER J-Link with uVision 5.25.2.0 and experience such problem by working with NXP Kinetis MKL03F32V4 device. Actually, with any device in Kinetis KL0 series. Some register values are updated during step-by-step debug (e.g. LPTMR0), but some are not (e.g. MCG or SMC). If I copy register value into a variable and place it into Watch window, I see its update there. Previously with Keil version prior to 5.1 everything worked fine. Today I faced with the same problem by working with Kinetis K02 Cortex-M4 device. However, all System Viewer registers are updated for Kinetis K64F microcontroller. Very strange. Please advise how to fix it. Here is my code for modifying SMC. The System Viewer always shows their values as zeros.

        SMC->PMPROT = SMC_PMPROT_AVLP_MASK;
        SMC->PMCTRL = SMC_PMCTRL_RUNM(2) | SMC_PMCTRL_STOPM(2);