Renesas R8C/17 User Manual

Browse online or download User Manual for Networking Renesas R8C/17. Renesas R8C/17 User`s manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 28
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 0
1 2 3 4 5 6 ... 27 28

Summary of Contents

Page 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

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

Page 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

Page 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

Page 5 - 2 Getting Started

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

Page 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

Page 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

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

Page 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

Page 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

Page 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

Page 12 - 3 The Vanilla QP Port

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

Page 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

Page 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

Page 15

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

Page 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

Page 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

Page 18

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

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments