Renesas RX Cores

From SEGGER Knowledge Base
Jump to navigation Jump to search

Renesas RX Cores are a number of cores used by Renesas' RX family of MCUs, that combine design elements of CISC and RISC cores.

J-Link and Flasher support

Both J-Link and Flasher support a growing number of Renesas RX devices.

Debugger Authentication

The on-chip debugging functions of RX devices include a protection through a 128 bit ID called ID Code.
The necessity of the debugger authentication depends on the device / device family.

Authentication process

J-Link / Flasher perform that authentication during the connect sequence.
Before performing the authentication itself, the RX core is identified, to decide which authentication mechanism is used.

  1. Check the authentication state
    1. Check if authentication is required
    2. Check if debugger is already authenticated
  2. Try to perform authentication [1] by sending three different ID Codes
    1. using all 0xFF
    2. using all 0x00
    3. using a custom ID Code, that can be defined multiple ways
    • Check if debugger was successfully authenticated after each try.


  1. Depending on the specific core different registers and sequences are used to send the ID Code.

Debug Mode

FINE interface

In order to maintain the target connection under all circumstances (e.g. after a reset), a debug mode is enabled on the target device.
That debug mode is enabled as part of the connect sequence and disabled on debug session close.
Doing so requires writing to the flash or other types of non-volatile memory, which will be logged as a flash download during the connect sequence.

Please be aware that certain operations on the device (e.g. erasing, downloading an application) could potentially break the debugger interface.
This happens when the register that enables the debug mode is overwritten and a reset is performed. J-Link will not preserve the register content or interfere with flash downloading in that case.

  • Make sure that your download file only affects valid sections of option setting, code and data memory.
  • Do not reset after erasing the entire option setting memory.

Supported families

RX100 series

RX200 series

RX600 series

RX700 series