Renesas R8C/17 Manual de usuario

Busca en linea o descarga Manual de usuario para Redes Renesas R8C/17. Renesas R8C/17 User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 28
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
QP state machine frameworks for M16C
QDK™
Renesas R8C/Tau-NC30
Document Revision A
August 2008
Copyright © Quantum Leaps, LLC
www.quantum-leaps.com
www.state-machine.com
Vista de pagina 0
1 2 3 4 5 6 ... 27 28

Indice de contenidos

Pagina 1 - Renesas R8C/Tau-NC30

QP state machine frameworks for M16C QDK™ Renesas R8C/Tau-NC30 Document Revision A August 2008 Copyright © Quantum Leaps, LLC www.quantum-leap

Pagina 2 - Table of Contents

QDK™ R8C/Tau-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-ing.

Pagina 3 - 1 Introduction

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c Figure 5 Screen shot from the QSPY output. timestamp QS trace record command-line options used data lost

Pagina 4 - 1.2 Licensing QP

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 3 The Vanilla QP Port The “vanilla” port shows how to use QP on a “bare metal” M16C/R8C-based system wit

Pagina 5 - 2 Getting Started

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c #include "qep_port.h" /* QEP port */ #include

Pagina 6

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 3.3 ISRs in the Non-preemptive “Vanilla” Configuration The NC30 compiler supports writing interrupts in

Pagina 7

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 3.4 QP Idle Loop Customization in QF_onIdle() The cooperative “vanilla” kernel can very easily detect th

Pagina 8 - 2.3 Building the Examples

QDK™ R8C/Tau-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 the “

Pagina 9 - 2.4 Running the Examples

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c (4) The macro QK_ISR_EXIT() is designed to be called upon the exit from an ISR programmed in C. The macro

Pagina 10

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c } Listing 8 QK_onIdle() callback for R8C Copyright © Quantum Leaps, LLC. All Rights Reserved. 16 of 26

Pagina 11

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 5 Board Support Package The Board Support Package (BSP) for R8with the non-preemptive Vanilla kernel is

Pagina 12 - 3 The Vanilla QP Port

Table of Contents 1 Introduction... 1 1.1 What’s

Pagina 13

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 5.2 Linker Options Used 5.2.1 Specifying Program Sections The HEW IDE allows to specify very precisely a

Pagina 14

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 5.2.2 Specifying Stack and Heap Sizes This QDK-M16C/R8C does not use the heap1 uses only the Interrupt St

Pagina 15

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c cm13 = 1; /* Xin Xout */ cm15 = 1;

Pagina 16 - 4 The QK Port

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 5.6 Assertion Handling Policy in Q_onAssert() As described in Chapter 6 of [PSiCC2], all QP components u

Pagina 17

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 6 The Quantum Spy (QS) Instrumentation This QDK demonstrates how to use the QS software tracing instrume

Pagina 18

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c * b5 NCH Data output select bit * b6 CKPOL Clock polarity selected,TX

Pagina 19 - 5 Board Support Package

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c (4) The l_nTimerA1Underflows variable is used to count the number of underflows (transitions 0x0000 ->

Pagina 20 - 5.2 Linker Options Used

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 7 Related Documents and References Document Location [PSiCC2] “Practical UML Statecharts in C/C++, Sec

Pagina 21 - 5.4 BSP initialization

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 8 Contact Information Quantum Leaps, LLC 103 Cobble Ridge Drive Chapel Hill, NC 27516 USA +1 866 450 L

Pagina 22

1 Introduction This QP™ Development Kit (QDK) describes how to use QP™ event-driven platform with the Re-nesas R8C processors, the Renesas N

Pagina 23

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c The actual hardware/software used to validate this QDK is described below (see Figure 1): 1. Renesas R8C

Pagina 24

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 2 Getting Started This section describes how to install, build, and use the QDK-R8C-NC30_TAU based two e

Pagina 25

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c | | | | +-make_r8c.bat - make script for building the QP libraries for R8C target | | | | +-qep_port

Pagina 26

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 2.2 Building the QP Libraries All QP components are deployed as libraries that you statically link to yo

Pagina 27

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 2.3 Building the Examples The examples included in this QDK are based on the standard Dining Philosopher

Pagina 28 - 8 Contact Information

QDK™ R8C/Tau-NC30 www.state-machine.com/m16c 1. Connect the E8 debugger to the TAU board with the provided ribbon cable as described in the Quick St

Comentarios a estos manuales

Sin comentarios