Table of Contents Previous topic Next topic
The debug monitor uses the microcontrollers UART to communicate with the PC and a timer to clock the UART. By default, Timer 1 is used to clock the UART.
A separate timer (Timer 0) is used for the single stepping process.
All other internal peripherals are available for independent use by the users program.
If an 8052 compatible Timer 2 is available, this can be optionally used to clock the UART instead of Timer 1. Higher baud rates are possible with this timer. See InitSerialPort() in the debug monitor source file functions.c. A couple of lines above this function is an identifier TIMER2BAUD. If this is defined, Timer 2 will be used to clock the UART.