tmp89fh40 TOSHIBA Semiconductor CORPORATION, tmp89fh40 Datasheet - Page 403

no-image

tmp89fh40

Manufacturer Part Number
tmp89fh40
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA000
23. On-chip Debug Function (OCD)
23.1
23.2
Table 23-1 Pins Used for the On-chip Debug Function
OCDCK
OCDIO
RESET
MODE
VDD
VSS
Input and output ports other than
P20 and P21
XIN
XOUT
debug emulator RTE870/C1, the user is able to perform software debugging in the on-board environment. This em-
ulator can be operated from a debugger installed on a PC so that the emulation and debugging functions of an application
program can be used to modify a program or for other purposes.
to the on-chip debug function. For more detailed information on how to use the on-chip debug emulator RTE870/C1,
refer to the emulator operating manual.
control. The pins used for the on-chip debug function are shown in Table 23-1.
Chip Debug Emulator is used, therefore, Ports P20 and P21 cannot be debugged as port pins or UART0 and SIO0
pins. However, because the UART0 function can be assigned to other ports by using SERSEL<SRSEL2>, these
communication functions can also be used during on-chip debug operation. For details, refer to the section of I/O ports.
(during on-chip debugging)
The TMP89FH40 has an on-chip debug function. Using a combination of this function and the TOSHIBA on-chip
This chapter describes the control pins needed to use the on-chip debug function and how a target system is connected
The on-chip debug function of the TMP89FH40 has the following features:
The on-chip debug function uses two pins for communication and four pins for power supply, reset and mode
Ports P20 and P21 are used as communication control pins of the on-chip debug function. If the RTE870/C1 On-
Note 1: To use all on-chip debug functions, the power supply voltage must be within the range 4.5 V to 5.5 V. If it is within the
Features
Control Pins
・ Debugging can be performed in much the same way as when a microcontroller packaged with the MCU is
・ The debugging function can be realized using two communication control pins.
・ Useful on-chip debug functions include the following:
・ Built-in flash memory can be erased and written.
Pin name
used.
-
-
-
range 2.7 V to 4.5 V, functional limitations occur with some of the debug functions. For more detailed information, refer
to the emulator operating manual.
8 breaks function are provided (one of which can also be used as an event function).
A trace function that allows the newest two branch instructions to be stored in real time is provided.
Functions to display active memory and to overwrite active memory are provided.
Power sup-
Power sup-
Input/out-
Output
Input
Input
Input
Input
put
I/O
I/O
ply
ply
Communication control pin (clock control)
Communication control pin (data control)
Reset control pin
Mode control pin
4.5 V to 5.5 V (Note 1)
0 V
Can be used for an application in a target system
To be connected to an oscillator to put these pins in a state of self-oscillation
Page 389
Function
(Note 1)
P20 / TXD0 / SO0
P21 / RXD0 / SI0
RESET
MODE
(in MCU mode)
TMP89FH40
Pin name

Related parts for tmp89fh40