tmp89fm42k TOSHIBA Semiconductor CORPORATION, tmp89fm42k Datasheet - Page 405

no-image

tmp89fm42k

Manufacturer Part Number
tmp89fm42k
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
chip debug emulator RTE870/C1, the user is able to perform software debugging in the on-board environment. This
emulator 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 and SIO0 functions 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 TMP89FM42K has an on-chip debug function. Using a combination of this function and the TOSHIBA on-
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 TMP89FM42K 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-
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.
-
-
-
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
3.0 V to 3.6 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 387
Function
(Note 1)
P20 / TXD0 / SO0
P21 / RXD0 / SI0
RESET
MODE
(in MCU mode)
TMP89FM42K
Pin name

Related parts for tmp89fm42k