よくある質問

FAQ

For Nuvoton's 8051 chips, can the timer be stopped during single-step execution in Keil Debug mode?  Issue Date:2019-05-06

Keil can turn off the peripheral clock in Debug mode to achieve the effect of stopping the Timer in a single-step. However, after this setting is made, the peripherals will have no action during single-step execution such as PWM output.


To suspend the Timer in Debug mode, please follow the steps below:

(1) Click the "Options for target" icon

(2) Click the Settings button

(3) Uncheck "Enable PCLK"

 

 

Products: Microcontrollers ,8bit 8051 MCUs
Applications:
Function: Peripherals,ARM,Interrupt,Clock Control,HCLK,Timer and PWM,Timer