FAQ

FAQ

How to use System Viewer to check register status and modify the setting?  Issue Date:2019-10-01

Function:

System Viewer is a helpful tool to check register status in Keil debug mode to:

(1) Monitor register value in real-time.

(2) Change register value and become effective immediately.

Scenario:

(1) When peripheral does not work as user expected, System Viewer can help user to monitor the register.

(2) User wants to change the setting of the register and does not want to reprogram and rebuild code.

Use System Viewer to check register status :

(1) Use “Alt + F7” to open “Options for Target”, and select “Target” dialog.

(2) Check if the default SFR file is for the target chip. The SFR file can be selectable by enabling “Use Custom File”.

265-1

(3) Enter debug mode.

(4) Select the peripheral from the toolbar. There are three ways to select the toolbar:

  1.  Peripherals/System Viewer  
   

265-2

 
  2. Icon  
    265-3  
  3. View/System Viewer  
    265-4  

(5) Find the register that user wants to check and modify. The field will be highlighted in green when a value is changed, e.g. HCLKSEL.

265-5

(6) Select another setting of register HCLKSEL.

265-6

(7) The HCLK register has been modified to option 3 – Clock source from LIRC.

265-7

Products: Microcontrollers ,8bit 8051 MCUs ,Arm Cortex-M0 MCUs ,Arm Cortex-M23 MCUs ,Arm Cortex-M4 MCUs
Applications:
Function: Software and Tools,Development-Environment,Keil,ICE & Downloader,Nu-Link Driver
This website uses cookies to ensure you get the best experience on our website. Learn more
OK