Renesas R8C/17 Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Sítě Renesas R8C/17. Renesas R8C/17 User`s manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 0
1 2 3 4 5 6 ... 27 28

Shrnutí obsahu

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 5 - 2 Getting Started

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

Strany 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

Strany 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

Strany 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 “

Strany 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

Strany 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

Strany 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

Strany 12 - 3 The Vanilla QP Port

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

Strany 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

Strany 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

Strany 15

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

Strany 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

Strany 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

Strany 18

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

Strany 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 ->

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Komentáře k této Příručce

Žádné komentáře