QP state machine frameworks for M16C QDK™ Renesas M16C/Neutrino-NC30 Document Revision A August 2008 Copyright © Quantum Leaps, LLC www.quantu
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c An example run of the DPP application is shown in Figure 1. The three user LEDs should start blink
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c This will start the QSPY host application to listen on COM2 serial port with baud rate 115200. (Ple
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 3 The Vanilla QP Port The “vanilla” port shows how to use QP on a “bare metal” M16C-based system w
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c #include "qep_port.h" /* QEP port */ #i
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 3.3 ISRs in the Non-preemptive “Vanilla” Configuration The NC30 compiler supports writing interrup
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 3.4 QP Idle Loop Customization in QF_onIdle() The cooperative “vanilla” kernel can very easily det
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 4 The QK Port The QP port with the preemptive kernel (QK) is remarkably simple and very similar to
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c (5) The flags register is set to zero, which accomplishes two things at the same time. First, the i
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 5 Board Support Package The Board Support Package (BSP) for M16C with the non-preemptive Vanilla k
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 5.2 Linker Options Used 5.2.1 Specifying Program Sections The HEW IDE allows to specify very preci
Table of Contents 1 Introduction... 1 1.1 What’s
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 5.2.2 Specifying Stack and Heap Sizes This QDK-nano-M16C does not use the heap1 uses only the Inter
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c /* initialize the clock... */ prc1 = 1;
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c case of assertion failure by providing the callback function Q_onAssert(). Typically, you would put
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 6 The Quantum Spy (QS) Instrumentation This QDK demonstrates how to use the QS software tracing in
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c * b2 Reserved, set to 0 * b3 TXEPT Transmit register empty
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c (2) You should adjust the QS buffer size (in bytes) to your particular application (3) You might wa
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 7 Related Documents and References Document Location [PSiCC2] “Practical UML Statecharts in C/C+
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 8 Contact Information Quantum Leaps, LLC 103 Cobble Ridge Drive Chapel Hill, NC 27516 USA +1 866
1 Introduction This QP™ Development Kit (QDK) describes how to use QP™ event-driven platform with the Re-nesas M16C processors, the Renesas
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c The actual hardware/software used to validate this QDK is described below (see Figure 1): 1. Renes
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 2 Getting Started This section describes how to install, build, and use the QDK-M16C-NC30_NEUTRINO
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c | | | | +-make_m16c.bat - make script for building the QP libraries for M16C target | | | | +-
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 2.2 Building the QP Libraries All QP components are deployed as libraries that you statically link
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 2.3 Building the Examples The examples included in this QDK are based on the standard Dining Philo
QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c 1. Connect the E8 debugger to the NEUTRINO board with the provided ribbon cable as described in t
Comentarios a estos manuales