User`s manual
Copyright © Quantum Leaps, LLC. All Rights Reserved.
QDK™
Renesas RX with HEW
state-machine.com/rx
2 Getting Started
This section describes how to install, build, and use the QDK-RX-Renesas. This section assumes that 
you have the YRDKRX62N board, and have downloaded and installed the Renesas HEW IDE and 
Renesas RX Toolset on your machine. Also this section assumes that you have downloaded and installed 
the QP™ Baseline Code, available for a separate download from www.state-machine.com/downloads.
NOTE: To avoid repetitions, every QDK™ contains only the QP ports and example(s) pertaining to 
the specific MCU and compiler, but does not include the platform-independent baseline code of 
QP™, which is available for a separate download. It is strongly recommended that you read Chapter 
12 in [PSiCC2] before you start with this QDK™. The QP directory structure is described in detail in a 
separate Quantum Leaps Application Note: “QP Directory Structure” [QL AN-Directory 07]).
2.1 Installing the QDK-RX-HEW
The QDK code is distributed in a ZIP archive (
qdkc_rx-renesas_yrdkrx62n.zip
 for QP/C and 
qdkcpp_rx-renesas_yrdkrx62n.zip
 for QP/C++, for the Renesas-RX compielr, and 
dkc_rx-
gnu_yrdkrx62n.zip
 for QP/C and 
qdkcpp_rx-gnu_yrdkrx62n.zip
 for QP/C++, for the GNU-RX 
compielr). You need to unzip this archive into the same directory, into which you've installed QP. The 
following Listing 1 shows the directory structure and selected files after you complete the QP and QDK-
RX-Renesas installation. (Please note that the QP directory structure is described in detail in a separate 
Quantum Leaps Application Note: “QP Directory Structure”).
Listing 1: Selected directories and files after installing QP and the QDK-RX-HEW code.
The boldface indicates directories and files included in the QDK.
qpc\ - QP installation directory
 +-doc\
 | +-AN_DPP.pdf - Application Note “Dining Philosopher Problem Example”
 | +-QDK_RX-HEW.pdf – This QDK Manual “QDK RX with HEW”
 |
 +-include\ - QP platform-independent include files
 +-qep\ - QEP platform-independent source code
 +-qf\ - QF platform-independent source code
 +-qk\ - QK platform-independent source code
 +-qs\ - QS platform-independent source code
 |
 +-examples\ - subdirectory containing the QP examples
 | +-rx\ - Renesas RX examples
 | | +-vanilla\ - Ports to the non-preemptive “vanilla” kernel
 | | | +-renesas\ - Renesas-RX compiler (gnu for the GNU-RX compiler)
 | | | | +-dpp_yrdkrx62n\ - DPP example for (non-preemptive) for YRDKRX62N
 | | | | | +-Debug\ - directory containing the Debug build
 | | | | | | +- dpp_yrdkrx62n.abs - image of the DPP application
 | | | | | +-Release\ - directory containing the Release build
 | | | | | +-Spy\ - directory containing the Spy build
 | | | | | |
 | | | | | +-dbsct.c - Definition of program sections
 | | | | | +-intprg.c - Interrupt Service Routines (ISRs)
 | | | | | +-resetprg.c - Reset exception handler (startup code)
 | | | | | +-stacksct.h - Stack size specification
 | | | | | +-vect.h - Interrupt vector declarations
 | | | | | +-vecttbl.c - Fixed vector table for the RX CPU
 | | | | | |
6 of 32










