Pular para o conteúdo principal
Knowledgebase
Home
Renesas Brasil - Knowledgebase

How to debug the pin functions whose user port is multiplexed with the microcontroller pins used for communication with the on-chip debugging emulator

Last Updated:04/26/2017

Question:

Can I debug the pin functions whose user port is multiplexed with the microcontroller pins used for communication with the on-chip debugging emulator (hereafter referred to as OCD)? (These multiplexed pin functions are hereafter referred to as pin functions.)

Answer:

Since the pin functions used for communication with the on-chip debugging emulator (hereafter referred to as OCD) are exclusively used by the emulator, they cannot be debugged.
However, the pin functions exclusively used by the emulator can be debugged in the following cases.

When the microcontroller in use supports another communication method, using that method for communicating with the microcontroller enables debugging of the relevant pin functions.
For details, refer to the hardware manual or OCD manual.

When there is a debugging MCU board for the microcontroller in use, using that debugging MCU board enables debugging of all microcontroller pin functions. 
(Though a debugging MCU board is also provided for the RH850 family, pin restrictions could not be worked around in the debugging MCU board for the RH850 family.)
The debugging MCU board supports only some MCUs in the RX, SH, and H8S families. For details, refer to the following: 
For the RX family (used in combination with E20 emulator)
For the SH family (used in combination with E10A-USB emulator)
For the H8S family (used in combination with E10A-USB emulator)

When a full-spec emulator is supporting the microcontroller in use, using that full-spec emulator enables debugging of all microcontroller pin functions. Confirm the microcontrollers supported by a full-spec emulator from the web page of each product.
When not falling under any of the above cases, check the operation of the relevant pin functions during stand-alone operation of the microcontroller.
 

Suitable Products
On-chip Debuggers