Skip to main content

Overview

Description

After the Monitor Program is written to the MCU and the Monitor Program communicates with the Debugger, the user program can be debugged. 

Features

  • Software for on-chip debugging on High-performance Embedded Workshop or KD3x.
  • The Monitor Program is automatically written to the MCU when the Debugger is started up. Therefore, there is no need to write the Monitor Program to the MCU using a flash programmer.
  • You can debug by the same pin handling as Standard Serial I/O Mode 2 for the flash programmer.
  • Initialize (erase) the user program area using a flash programmer before using the Monitor Program.
  • Use RS-232C for communication between the Debugger and the Monitor Program.
  • Learn More

Target Devices

Downloads

Documentation

Support

Support Communities

Support Communities

Get quick technical support online from Renesas Engineering Community technical staff.
Browse Articles

Knowledge Base

Browse our knowledge base for helpful articles, FAQs, and other useful resources.
Submit a Ticket

Submit a Ticket

Need to ask a technical question or share confidential information?

Additional Details

System Configuration

Image
System Configuration

Preparations

  • PC with Serial Port
  • Communication Cable
  • Target Board, Power Supply
  • Debugger

* You can download the Debugger from "Documentation & Downloads".

Process flow

Image
Process flow

Operating Environment

The operating environment depends on your debugger.

M16C R8C FoUSB/UART debugger (High-performance Embedded Workshop Version)

ItemDescription
PCIBM PC/AT or compatible PC with Intel Pentium III 600MHz or higher
OSWindows XP, Windows 2000, Windows ME, Windows 98 SE (98)
Memory128MB or higher
Interface9-pin D-SUB Serial Interface

M16C R8C FoUSB/UART debugger (KD30 Version)

ItemDescription
PCIBM PC/AT or compatible PC with Intel DX4 100MHz/Pentium II 75MHz or higher
OSWindows XP, Windows 2000, Windows ME, Windows 98 SE (98), Windows 95
Memory16MB or higher
Interface9-pin D-SUB Serial Interface

Note

ID Check Function

The ID check function, which provides protection against accidentally erasing the user program, is supported except in R8C/10 and R8C/11 Groups with Boot Program Version 0.90. This function checks the addresses in which the ID code is stored when the Debugger is started up, and executes the debugging program (erase internal ROM and download Monitor Program) only when the ID code is "all FFh".
When the ID code is not "all FFh", the Debugger displays a time-out error and KD30 will not operate (internal ROM will not be erased and Monitor Program will not be downloaded).

ID Code at Debug Completion

[R8C/10 and R8C/11 Groups Boot Program Ver.0.90]
The Monitor Program sets ID3, ID4, and ID6 to "00h". All other codes are set according to the ID code of the user program. For example, if the user program ID code is set to "all FFh", the codes will be as follows.
Therefore, we recommend setting the user program ID code to "all 00h" .

 ID1: FFh (address 0FFDFh)
ID2: FFh (address 0FFE3h)
ID3: 00h (address 0FFEBh)
ID4: 00h (address 0FFEFh)
ID5: FFh (address 0FFF3h)
ID6: 00h (address 0FFF7h)
ID7: FFh (address 0FFFBh)

[R8C/10 and R8C/11 Groups Boot Program Ver.1.00 or later and Other Groups of R8C Family]
The Monitor Program sets ID1 through ID7 to "all FFh". Therefore, regardless of what the ID code is set to in the user program, this will not be reflected in the final outcome. Accordingly, after debug is completed, the ID code will always be "all FFh".

Upgrade Information

Debugger (High-performance Embedded Workshop version / KD version)

<<KD debugger does not have a plan to revise any more.>>

* Target product : M32C M16C UART Monitor Program | R8C UART Monitor Program

High-performance Embedded Workshop version

[Latest Version]

  • Released Date : 1. July, 2007
  • Software name :
    • M16C R8C FoUSB/UART Debugger
    • M32C FoUSB/UART Debugger
  • Version : V.1.03 Release 00
  • New feature(s)
    • Comes with High-performance Embedded Workshop V.4.03.00
    • [Disconnect] function
    • Representational function of instruction format specifier in disassembly language
    • Assignment function to bit-field members
    • Some more improvements

[How to upgrade to the latest version]
Download free updates from the "Documentation & Downloads". Upgradable from any previous versions.

[How to install]
Each emulator and monitor debugger is not bundled with High-performance Embedded Workshop. Please download from the "Documentation & Downloads" on this page. Installing this emulator debugger add High-performance Embedded Workshop environment a debugging function.

KD version

[Latest Version]

Released DateSoftware nameVersion
9. June, 2004KD30
(M16C R8C FoUSB/UART Debugger)
Ver.4.10 Release 1
25. August, 2004KD3083
(M32C FoUSB/UART Debugger)
Ver.3.30 Release 1
28. May, 1999KD308*
(M32C UART Debugger)
Ver.1.00 Release 1

* : KD308 is a M16C/80 Group debugger for "M32C M16C UART Monitor Program". This product has no plan to support High-performance Embedded Workshop in the future.

[How to upgrade to the latest version]
Download free updates from the "Documentation & Downloads".

Target Devices

M16C R8C FoUSB/UART debugger (High-performance Embedded Workshop Version)

The debugger depends on your MCU. In addition, the High-performance Embedded Workshop version of the debugger is the successor debugger of the KD30/KD3083 version. The High-performance Embedded Workshop version is only scheduled for release in the future.

FamilySeriesGroupPart No.
R8CR8C/1xR8C/10R5F21102R5F21103R5F21104
R8C/11R5F21112R5F21113R5F21114
R8C/12R5F21122R5F21123R5F21124
R8C/13R5F21132R5F21133R5F21134
R8C/14R5F21142R5F21143R5F21144
R8C/15R5F21152R5F21153R5F21154
R8C/16R5F21162R5F21163R5F21164
R8C/17R5F21172R5F21173R5F21174
R8C/18R5F21181R5F21182R5F21183
R5F21184--
R8C/19R5F21191R5F21192R5F21193
R5F21194--
R8C/1AR5F211A1R5F211A2R5F211A3
R5F211A4--
R8C/1BR5F211B1R5F211B2R5F211B3
R5F211B4--
R8C/2xR8C/20R5F21206R5F21207R5F21208
R8C/21R5F21216R5F21217R5F21218
R8C/22R5F21226R5F21227R5F21228
R8C/23R5F21236R5F21237R5F21238
R8C/24R5F21244R5F21246R5F21247
R5F21248--
R8C/25R5F21254R5F21256R5F21257
R5F21258--
R8C/26R5F21262R5F21264R5F21265
R5F21266--
R8C/27R5F21272R5F21274R5F21275
R5F21276--
R8C/28R5F21282R5F21284R5F21286
R8C/29R5F21292R5F21294R5F21296
R8C/2AR5F212A7R5F212A8R5F212AA
R5F212AC--
R8C/2BR5F212B7R5F212B8R5F212BA
R5F212BC--
R8C/2CR5F212C7R5F212C8R5F212CA
R5F212CC--
R8C/2DR5F212D7R5F212D8R5F212DA
R5F212DC--
R8C/2ER5F212E2R5F212E4-
R8C/2FR5F212F2R5F212F4-
R8C/2GR5F212G4R5F212G5R5F212G6
R8C/2HR5F212H1R5F212H2-
R8C/2JR5F212J0R5F212J1-
R8C/2KR5F212K2R5F212K4-
R8C/2LR5F212L2R5F212L4-
R8C/3xR8C/32CR5F21321CR5F21322CR5F21324C
R8C/33CR5F21331CR5F21332CR5F21334C
R5F21335CR5F21336C-
R8C/34CR5F21344CR5F21345CR5F21346C
R8C/35CR5F21354CR5F21355CR5F21356C
R5F21357CR5F21358CR5F2135AC
R5F2135CC--
R8C/36CR5F21364CR5F21365CR5F21366C
R5F21367CR5F21368CR5F2136AC
R5F2136CC--
R8C/38CR5F21386CR5F21387CR5F21388C
R5F2138ACR5F2138CC-
R8C/32DR5F21321DR5F21322DR5F21324D
R8C/33DR5F21331DR5F21332DR5F21334D
R5F21335DR5F21336D-
R8C/35DR5F21354DR5F21355DR5F21356D
R8C/33TR5F21334TR5F21335TR5F21336T
R8C/32MR5F21321MR5F21322MR5F21324M
R8C/33MR5F21331MR5F21332MR5F21334M
R5F21335MR5F21336M-
R8C/34MR5F21344MR5F21345MR5F21346M
R8C/35MR5F21354MR5F21355MR5F21356M
R5F21357MR5F21358MR5F2135AM
R5F2135CM--
R8C/LxR8C/L35CR5F2L357CR5F2L358CR5F2L35AC
R5F2L35CC--
R8C/L36CR5F2L367CR5F2L368CR5F2L36AC
R5F2L36CC--
R8C/L38CR5F2L387CR5F2L388CR5F2L38AC
R5F2L38CC--
R8C/L3ACR5F2L3A7CR5F2L3A8CR5F2L3AAC
R5F2L3ACC--
R8C/MxR8C/M11AR5F2M111AR5F2M112A-
R8C/M12AR5F2M121AR5F2M122A-

M16C R8C FoUSB/UART debugger (KD30 Version)

FamilySeriesGroupPart No.
R8CR8C/1xR8C/10R5F21102
R8C/11R5F21112
R8C/12R5F21122
R8C/13R5F21132
R8C/14R5F21142
R8C/15R5F21152
R8C/16R5F21162
R8C/17R5F21172