For Nuvoton's 8051 chips, can the timer be stopped during single-step execution in Keil Debug mode?

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

31 May 2021, 16:11

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”

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 3 guests