A96G150 User's manual
22. Development tools
313
22.3
OCD (On-chip debugger) emulator and debugger
Microcontroller series that uses an 8051 core has an OCD (On-Chip Debugger), a debug emulation
block. The OCD is connected to a target microcontroller using two lines such as DSCL and DSDA.
DSCL is for a clock signal and DSDA is for a bi-directional data.
The two lines work for the core management and control by doing register management and execution,
step execution, break point and watch functions. In addition, they control and monitor the internal
memory and the device by reading and writing.
Table 58. Debug Feature by Series
96-series
97-series
94-series
OCD function
OCD 1
OCD 2
OCD 2
Max. number of breakpoints
8
8
4
Saving stack in XRAM
No
Yes
Yes
Real time monitoring
No
Yes
Yes
Run flag support
No
Yes
Yes
The OCD 2 applied to 94-series and 97-series provides the RTM (Real Time Monitoring) function that
enables to monitor internal memory and I/O status without stopping the debugging. In addition, the OCD
2 provides the breakpoint function (RAM Break Function) for the IDATA, SFR, and XDATA.
The following is the functions that have been extended from the OCD 2:
Emulation Time can be measured in OCD mode (using the Run Flag port)
CODE, XDATA, IDATA are updated during the Run Time (Real Time Monitoring available).
IDATA, SFR, XDATA break are added (RAM Break support).
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...