FlowKit in-circuit debug system



Similar documents
LED board datasheet EB

Switch board datasheet EB

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

ECIO40P ECIO28P ECRM40. Page 1. USB programmable microcontrollers. 0.6 DIP footprint. Supplied with a free version of Flowcode. E-blocks compatible

CAN bus board. EB018

E-Blocks Easy Internet Bundle

Android, Bluetooth and MIAC

E-Blocks Easy RFID Bundle

RS232 Board datasheet

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

An Introduction to MPLAB Integrated Development Environment

Fondamenti su strumenti di sviluppo per microcontrollori PIC

FFT Frequency Detection on the dspic

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

Keep it Simple Timing

INSTALLING AND USING ENTEL PROGRAMMER IN WINDOWS 7 Technical Support Bulletin

AIM SOFTWARE AND USB DRIVER INSTALLATION PROCEDURE

USB 2.0 VGA ADAPTER USER MANUAL

USB Driver. Installation Manual

TE100-P21/TEW-P21G Windows 7 Installation Instruction

Designing VM2 Application Boards

Installing Global Logger USB Drivers

GSM Interfacing Board

Possum HC2006 SERO! Telephone. Firmware Upgrade and Software Manual firmware version 2.00+

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

MX PIC24F Educational Module User Manual

Installing the Gerber P2C Plotter USB Driver

Communication with BushingGard using computer USB port

Installing the USB driver for Firmware 7 or later For use with E-blocks programmer boards and PICmicro Development boards.

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

AC-PG-USBASP USBASP AVR Programmer

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

Verbatim Secure Data USB Drive. User Guide. User Guide Version 2.0 All rights reserved

Nuvoton Nu-Link Debug Adapter User Manual

Installing the IF-NMEASC & SC30 Windows XP Drivers & Software

Downloading a Sample Program over USB

MPLAB IDE 64-Bit USB Device Drivers Installation

Printer Driver Installation Guide

The Programming Interface

Brady IP Printer Installation Instructions

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

Accurate Measurement of the Mains Electricity Frequency

MED-AFEs Design Reference Manual

Ecomind Electricity Monitoring Software 2.1. Software Manual

SD Call Recorder and Desktop Software Reference Guide Version 2.0

CalDigit SuperSpeed PCI Express Card

USER S MANUAL TACHOTERMINAL PRO. Firmware

INF-USB2 and SI-USB Quick Start Guide

Programming Device Manual Booklet AVR Prog USB v2

ON-GUARD. Guard Management System. Table of contents : Introduction Page 2. Programming Guide Page 5. Frequently asked questions Page

PDA Software Manual For the Windows CE and Mobile Operating Systems

CM500 High Speed Cable Modem User Manual

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

BMV-602 Data Link Manual

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

Vodafone Mobile Broadband via the phone

XPort Universal Demo Board User Guide

Features Reference. About Unified Communication System. Before Using This Machine. Starting a Meeting. What You Can Do During the Meeting

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

ezsystem elab16m Project 1F: Alarm System (Full Project description)

Guide to Installing BBL Crystal MIND on Windows 7

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Installation Guide for RadioLabs USB Wifi Antennas/Adapters

User Manual. Thermo Scientific Orion

E-LINK FOR ARM. E-Link User maunal / 46

BASLER ACE QUICK INSTALLATION GUIDE

TECHNICAL BULLETIN. Configuring Wireless Settings in an i-stat 1 Wireless Analyzer

USB 2.0 Peripheral Switch USER MANUAL US221A / US421A

Config software for D2 systems USER S MANUAL

User Manual. Windows 7 / Vista / XP. iotablet Driver

1-10 The USB PIC K150 microcontroller programmer Hardware version V2.0 File version V2.0 Product Image

JEROME COMMUNICATIONS SOFTWARE (JCS) INSTALLATION and OPERATION MANUAL V1.02 for Windows XP

mdm-mp3 minidirector with MP3 Player

Applications Development on the ARM Cortex -M0+ Free On-line Development Tools Presented by William Antunes

TX3 Series TELEPHONE ACCESS SYSTEMS. Configurator Quick Start. Version 2.2 Mircom Copyright 2014 LT-973

Windows XP.. ELITE Firmware Update procedures.. v1.41

Legal Notes. Regarding Trademarks. Model supported by the KX printer driver KYOCERA MITA Corporation

Inserting the SIM card in the MobiGater device. Connecting the MobiGater Device

Applies to: F1PG200ENau Belkin Analogue Telephone Adapter (ATA) Firmware release notes

JVC Monitor Calibration 2 User's Guide

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Home Wi-Fi Gateway Instructions

Windows Vista /Windows 7 Installation Guide

Please read and understand this instruction manual thoroughly before using this product.

PL2303HXA/XA Windows 8 Update Driver Installation. How to Update Driver to Support PL2303HXA/XA in Windows 8 Operating Systems

ROBOTC Software Inspection Guide with Additional Help Documentation

Get started _. All you need to know to get going.

DSO138 oscilloscope program upgrade method

SUDT AccessPort TM Advanced Terminal / Monitor / Debugger Version 1.37 User Manual

Assign a static IP address for your computer. Please refer to the T3 in Troubleshooting guide if you need assistance.

NEC USB PortBar with the Driver Installation Diskette

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

USB 2.0 to SATA/IDE Quick Installation Guide

Firmware & Software update procedures Amicroe TouchTAB IV.

EasyPen i405x. MousePen i608x. User Manual For Windows 7/Vista/XP

How To: Upload a Custom Tune to Your Predator or Trinity PREP:

If anything is damaged or missing, contact your dealer.

Transcription:

FlowKit in-circuit debug system www.matrixmultimedia.com HP299

Contents About this document 3 Board layout 3 General information 4 Detailed operation 4 Circuit diagram 7 2 Copyright

About this document This document concerns the HP299 FlowKit incircuit debug system. 1. Trademarks and copyright PIC and PICmicro are registered trademarks of Arizona Microchip Inc. E-blocks is a trademark of Matrix Multimedia Ltd. 2. Disclaimer The information provided within this document is correct at the time of going to press. Matrix Multimedia reserves the right to change specifications from time to time. 3. Testing this product It is advisable to test the product upon receiving it to ensure it works correctly. Matrix provides test procedures for all E-blocks, which can be found in the Support section of the website. 4. Product support If you require support for this product then please visit the Matrix website, which contains many learning resources for the E-blocks series. On our website you will find: How to get started with E-blocks - if you are new to E-blocks and wish to learn how to use them from the beginning there are resources available to help. Relevant software and hardware that allow you to use your E-blocks product better. Example files and programs. Ways to get technical support for your product, either via the forums or by contacting us directly. Board layout 1 5 FlowKit 2 6 3 E-blocks adaptor 11 8 9 1. USB in socket 2. Programming / debugging functionality selection switch 3. USB out socket 4. Signle pin in circuit debugger and analog scope connections 5. 10-way scope E-block Molex connector 6. 10-way in circuit debugger and scope Molex connector including analog scope pins 7. 10-way IDC cable 8. Upstream E-blocks conenctor 9. Downstream E-blocks connector 10. IDC connector 11. Single pin connector 4 10 7 IDC cable 3 Copyright

General information The FlowKit can be connected to hardware systems to provide a real time debug facility where it is possible to step through the Flowcode program on the PC and step though the program in the hardware at the same time. This function is available with Flowcode 4.2 or later. 1. Benefits A fast way to solve programming problems Seamless program and debug 2. Features Compatible with a variety of hardware systems including PICmicro and AVR E-blocks boards Compatible with ECIO, MIAC and Formula Flowcode systems via the USB lead Allows start, step and play of programs Allows users to see and alter variable values Compatible with third party hardware 3. Description Whilst Flowcode simulation allows debug of a system to a first pass, FlowKit takes debug to a new level by running the program in the hardware and on the screen at the same time. The system is controlled from within the Flowcode environment where controls allow users to start, stop, pause and step through their program one icon at a time. Under user control the Flowcode software shows the location of the program in the flow chart, the value of all variables in the program, and allows users to alter the variable values when the program is paused. The package includes the main FlowKit board, an E-blocks connection board, a 10-way IDC ribbon cable, and a USB lead. Detailed operation 1. The functionality switch There is a single large switch on the FlowKit device that controls the overall operation of the device. The switch has two positions marked ICD and PROG. When the switch is in the ICD position the USB cable from the PIC is routed to the microcontroller on board the FlowKit device. This allows Flowcode to communicate with the device, which in turn communicates with the development microcotroller via two ICD signals. These two ICD signals carry the data and clock required to drive the ICD and are marked on the boards as ICDD and ICDC. The callstack depth specifies the maximum stack depth of your program. This should remain at 8 unless you are using the BoostC software stack or a target device with a small or custom hardware stack. The communications speed is the amount of time the ICD will wait for communications. If you experience any problems with the ICD communication then you can try upping this value slightly. The override ICD pins allows you to define the pins on the target for use by the ICD. When using the EB006 2. The ICD operation The in-circuit debugger (ICD) operation is driven from within the Flowcode software (version 4.2 onwards). The ICD feature is activated in Flowcode by going into the Project Options window and ticking the box labelled ICD mode. This then allows some other options to become available. In the dialogue screen on the right: The breakpoint count specifies the maximum number of individual breakpoints you can set in your program 4 Copyright

these pins are locked to the default programming pins, normally RB6 and RB7. Once you have selected the ICD mode tick box you can compile your project, and program your device. When you have done this, the device will wait at the start of the program until it is told to begin. The LEDs on the bottom of the FlowKit device indicate the status of the ICD operation: LED activity Solid Pulsing (rapid) Pulsing (slow) ICD status ICD is currently disabled / Target is stopped ICD is active & Target microcontroller is running ICD is active & Target microcontroller is paused demo board, can be powered and debugged by simply plugged the 6-way header directly into this socket. Connection type 1 Product Matrix USB MIAC ECIO Formula Flowcode Locktronics PIC 3. The ICD operation The FlowKit tool is capable of connecting to a multitude of different devices. This section explains the different connections and their usage. 5 Copyright 1. USB Out socket The USB Out socket is used for communicating with Matrix PICmicro products that contain a USB boot loader (MIAC, Formula Flowcode, ECIO). When the FlowKit switch is in the PROG position the FlowKit is bypassed and the USB In is connected directly to the USB out. This allows users to reprogram devices without having to connect and disconnect USB cables. 2. Molex header and adaptor board The Molex headers and adapter board provide a means of connecting to an E-blocks system. There are two double row Molex headers on the FlowKit. One contains the in-circuit debug pins, the analog scope pins and 4 digital scope pins (not implemented in software). The second Molex header provides 8 digital scope pins. The adapter board can simply be used to interface to an upstream programmer board or can be used in between an upstream programmer and a downstream E-Block. The adapter board connects to the FlowKit via a 10-way IDC cable that is supplied with the product. 3. Single pin wire connections The third connector on the FlowKit provides a means to connect to any other third party hardware. The connector allows the in-circuit debug pins and the analog scope pins to be freely allocated to any pin on your target system. The connector also provides 5V and ground connections which may also need to be connected to allow the in-circuit debug or analogue connections to work correctly. Microchip PICkit compatible boards, such as the low pin count Connection type 2 Product E-blocks HP488 - Dev EB006 - PIC EB019 - AVR EB185 - ARM EB061 - ECIO Connection type 3 Product 3 rd party Microchip Atmel Etc... Diagram showing the orientation of the IDC cable for the E-blocks adapter board

4. Troubleshooting the ICD If your ICD is not starting correctly then here are a few things for you to try: If the Flowcode program changes at all then a small star will appear next to the program name on the title bar. This means that the program requires saving and also means that you will have to recompile and reprogram your device before ICD operations can be resumed. The ICD pins must be completely untouched by your program to allow the communications to work correctly. For example if you are using an output or an input icon in your program that is on the same port as the ICD pins then you must use the pin masking to ensure that the ICD pins are untouched. If you are using the FlowKit tool then make sure that the ICD pins defined in Flowcode are appropriate for your connections. If you are using a USB cable in the USB out socket of the FlowKit and you are using a target other than the type 1 targets listed above then you will need to disconnect this USB cable from your device before the ICD will work. Check your target device configuration settings. If the program does not run with ICD disabled then it will not work with ICD enabled. If any additional hardware is connected to your ICD pins try disconnecting it and trying again. A large pull up current or a short to another signal source will cause the ICD functionality to fail. Unplug the USB cable to the FlowKit ICD tool, reset the target device and then re-insert the USB and try running the ICD again. 3. Click Next 4. Click Accept and then click Next 5. There may be a warning displayed for newer operating systems stating that Microsoft has not tested the device. If this appears then click Yes: Install anyway 6. Click finish 5. Installing the drivers 1. Download the latest drivers from the drivers page on the Matrix website: www.matrixmultimedia.com/eblock_datasheets.php 2. Depending on your operating system open the appropriate file: For 32-bit operating systems - dpinst_x86.exe For 64-bit operating systems - dpinst_amd64. exe or dpinst_ia64.exe 6 Copyright

Circuit diagram 7 Copyright

Circuit diagram 8 Copyright

Matrix Ltd. The Factory 33 Gibbet Street Halifax, HX1 5BA, UK t: +44 (0)1422 252380 e: sales@matrixmultimedia.co.uk www.matrixmultimedia.com HP299-30-1