Renesas M16C/6N Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Mise en réseau Renesas M16C/6N. Renesas M16C/6N User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 27
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
QP state machine frameworks for M16C
QDK™
Renesas M16C/Neutrino-NC30
Document Revision A
August 2008
Copyright © Quantum Leaps, LLC
www.quantum-leaps.com
www.state-machine.com
Vue de la page 0
1 2 3 4 5 6 ... 26 27

Résumé du contenu

Page 1 - Renesas M16C/Neutrino-NC30

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

Page 2 - Table of Contents

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

Page 3 - 1 Introduction

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

Page 4 - 1.2 Licensing QP

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

Page 5 - 2 Getting Started

QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c #include "qep_port.h" /* QEP port */ #i

Page 6

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

Page 7

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

Page 8 - 2.3 Building the Examples

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

Page 9 - 2.4 Running the Examples

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

Page 10

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

Page 11

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

Page 12 - 3 The Vanilla QP Port

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

Page 13

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

Page 14

QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c /* initialize the clock... */ prc1 = 1;

Page 15

QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c case of assertion failure by providing the callback function Q_onAssert(). Typically, you would put

Page 16 - 4 The QK Port

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

Page 17

QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c * b2 Reserved, set to 0 * b3 TXEPT Transmit register empty

Page 18 - 5 Board Support Package

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

Page 19 - 5.2 Linker Options Used

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

Page 20 - 5.4 BSP initialization

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

Page 21

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

Page 22

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

Page 23

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

Page 24

QDK™ M16C/Neutrino-NC30 www.state-machine.com/m16c | | | | +-make_m16c.bat - make script for building the QP libraries for M16C target | | | | +-

Page 25

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

Page 26

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

Page 27 - 8 Contact Information

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

Commentaires sur ces manuels

Pas de commentaire