User`s manual
Copyright © Quantum Leaps, LLC. All Rights Reserved.
Table of Contents
1 Introduction                 .....................................................................................................................................................   1 
1.1 About QP™               ....................................................................................................................................................   2 
1.2 About QM™                  ...................................................................................................................................................   3 
1.3 About this QDK-RX                ........................................................................................................................................   3 
1.4 Licensing QP™                ..............................................................................................................................................   4 
1.5 Licensing QM™            ..............................................................................................................................................   5 
2 Getting Started                ................................................................................................................................................   6 
2.1 Installing the QDK-RX-HEW                  ..........................................................................................................................   6 
2.2 Setting up HEW Placeholders              ........................................................................................................................   8 
2.3 Building the QP™ Libraries              ............................................................................................................................   8 
2.4 Building the Examples            ....................................................................................................................................   10   
2.5 Running the Examples               ...................................................................................................................................   11   
3 The Renesas RX CPU                  .....................................................................................................................................   13   
3.1 RX CPU Register Set              .....................................................................................................................................   13   
3.2 RX CPU Modes              ..............................................................................................................................................   14   
3.3 RX CPU Stacks              ..............................................................................................................................................   14   
3.4 RX CPU Interrupt Processing (Hardware)            ......................................................................................................   14   
3.5 RX CPU Interrupt Processing (Software)              .......................................................................................................   16   
4 Non-Preemptive “Vanilla” Port                ......................................................................................................................   17   
4.1 The qep_port.h Header File                ...........................................................................................................................   17   
4.2 The qf_port.h Header File                ..............................................................................................................................   17   
4.3 The Board Support Package for the “Vanilla” Port              .........................................................................................   19   
5 Preemptive QK Port                ........................................................................................................................................   23   
5.1 The qep_port.h Header File                ...........................................................................................................................   23   
5.2 The qf_port.h Header File                ..............................................................................................................................   23   
5.3 The qk_port.h Header File                 .............................................................................................................................   23   
5.4 The Board Support Package for the QK Port              .................................................................................................   25   
6 QS Software Tracing Instrumentation             ...........................................................................................................   28   
6.1 QS initialization in QS_onStartup()           .................................................................................................................   28   
6.2 QS Trace Output in QF_onIdle()/QK_onIdle()             ................................................................................................   29   
6.3 QS Time Stamp Callback QS_onGetTime()             ..................................................................................................   30   
6.4 Running the QSpy host application              ................................................................................................................   30   
7 Related Documents and References              .............................................................................................................   31   
8 Contact Information               ........................................................................................................................................   32   
i










