QP Development Kit for Renesas RX with HEW CompilerQP™ Development Kit (QDK) Renesas RX with HEWDocument Revision FOctober 2012Copyright © Quantum Lea
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx2.2 Setting up HEW PlaceholdersThe HEW project files in
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxDebug - this configuration is built with full debugging
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx2.4 Building the ExamplesThe examples accompanying this
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx2.5 Running the ExamplesYou program the code into the f
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxFigure 7: Screen shot from the QSPY run12 of 32
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx3 The Renesas RX CPUThis section provides a very quick
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxThe PSW has an interrupt control bit (PSW[I], bit 16) t
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxFigure 10: RX exception processingAfter vectoring to th
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx3.5 RX CPU Interrupt Processing (Software)The Renesas R
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx4 Non-Preemptive “Vanilla” PortThe “Vanilla” port shows
Copyright © Quantum Leaps, LLC. All Rights Reserved.Table of Contents1 Introduction
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx(12-13) The Renesas RX compiler requires this unusual s
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx4.3.2 Saving and Restoring the Accumulator in the ISRsT
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx(2-3) The idle LED (LED12 of the YRDKRX62N board) is to
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxListing 10: Startup code in resetprg.c #pragma sect
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx5 Preemptive QK PortThis section describes how to use Q
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx (8) --QK_intNest_; \ (9) if (QK_intNest_ == (u
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxNOTE: The extended QK scheduler is used, instead of the
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx5.4.2 Saving and Restoring the Accumulator in the ISRsT
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx5.4.3 Idle loop customization in the QK portAs describe
Copyright © Quantum Leaps, LLC. All Rights Reserved.1 IntroductionThis QP Development Kit™ (QDK) describes how to use the QP/C™ and QP™/C++ state mach
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx6 QS Software Tracing InstrumentationQuantum Spy (QS) i
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx(4) This omitted piece of code performs the hardware-sp
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx6.3 QS Time Stamp Callback QS_onGetTime() The platform-
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx7 Related Documents and ReferencesDocument Location[PSi
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx8 Contact InformationQuantum Leaps, LLC103 Cobble Ridge
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxThe actual hardware/software used to test this QDK is d
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxAs shown in Figure 2, QP consists of a universal UM-com
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rxFigure 3: The example model opened in the QM™ modeling
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx The GNU General Public License version 2 (GPL) as pub
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx2 Getting StartedThis section describes how to install,
Copyright © Quantum Leaps, LLC. All Rights Reserved.QDK™Renesas RX with HEWstate-machine.com/rx | | | | | +-bsp.c - BSP for the YRDKRX62N (non
Comments to this Manuals