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) (

Similar documents
Switch board datasheet EB

LED board datasheet EB

FlowKit in-circuit debug system

RS232 Board datasheet

CAN bus board. EB018

Fondamenti su strumenti di sviluppo per microcontrollori PIC

E-Blocks Easy Internet Bundle

E-Blocks Easy RFID Bundle

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

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

MX PIC24F Educational Module User Manual

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Android, Bluetooth and MIAC

Lab Experiment 1: The LPC 2148 Education Board

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

ET-BASE AVR ATmega64/128

An Introduction to MPLAB Integrated Development Environment

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

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

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

Accurate Measurement of the Mains Electricity Frequency

FFT Frequency Detection on the dspic

PICmicro tm Development Board

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

STK User Guide

QL-PROG Microchip MCU Programmer User s Manual Qianlongsheng Electronic Technology Co., Ltd.

EasyPIC4 User s Manual

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

K8048 PIC PROGRAMMER BOARD

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

AN-812 APPLICATION NOTE

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

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

RC2200DK Demonstration Kit User Manual

Automotive electronics CAN and LIN buses. Copyright 2006 Matrix Multimedia Limited

Electronic Rotary Table Divider V2.1 Construction

GSM Interfacing Board

EXERCISE 3: String Variables and ASCII Code

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Nuvoton Nu-Link Debug Adapter User Manual

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

Chapter 13. PIC Family Microcontroller

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Section 28. In-Circuit Serial Programming (ICSP )

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Controller for AD9850 DDS Modules Andy Talbot G4JNT

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

HC(S)08-System for Development and Training

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

PCAN-MicroMod Evaluation Test and Development Environment for the PCAN-MicroMod. User Manual. Document version ( )

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

DSO138 oscilloscope program upgrade method

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

Wireless Temperature

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

FLYPORT Wi-Fi G

Introducing AVR Dragon

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

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

0832 Dot Matrix Green Display Information Board User s Guide

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Testing Data Radio Modem with Serial Port Tool V1.20

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

Chapter 6 PLL and Clock Generator

New Product Brief 750 Naples Street San Francisco, CA (415)

PCAN-ISA. CAN Interface for ISA. User Manual

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

Introduction. Getting familiar with chipkit Pi

Processor Extension Pak and Header Specification

Web Streamed SDR s in Service at GB2RHQ Hack Green Bunker

Development of Low Cost Private Office Access Control System(OACS)

Real Time Clock USB Evaluation Board V3.0

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

MOD-ENC28J60 development board Users Manual

Analog-to-Digital Converters

Designing VM2 Application Boards

STEPPER MOTOR SPEED AND POSITION CONTROL

PLL frequency synthesizer

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet

Lecture N -1- PHYS Microcontrollers

Advanced Data Capture and Control Systems

SM1231 USER GUIDE SM1231 RF MODULE USER GUIDE

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

AN3252 Application note

PICAXE RF CONNECT KIT (AXE213)

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

PIC-MAXI-WEB development board Users Manual

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Keep it Simple Timing

Evo Laser Firmware Developer s Manual

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Controlling a Dot Matrix LED Display with a Microcontroller

dspic30f4012 Microcontroller

Transcription:

dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix 1 Circuit diagram Copyright Matrix Multimedia Limited 2010 page 1

1. About this document This document concerns the E-blocks dspic / PIC24 Multiprogrammer board code EB064 version 1. 1. Trademarks and copyright PIC and PICmicro are registered trademarks of Arizona Microchip Inc. E-blocks is a trademark of Matrix Multimedia Limited. 2. Other sources of information There are various other documents and sources that you may find useful: Getting started with E-Blocks.pdf E This describes the E-blocks system and how it can be used to develop complete systems for learning electronics and for PICmicro programming. PPP Help file This describes the PPP software and its functionality. PPP software is used for transferring hex code to a PICmicro microcontroller. C and assembly strategies This is available as a free download from our web site. 3. Disclaimer The information in this document is correct at the time of going to press. Matrix Multimedia reserves the right to change specifications from time to time. This product is for development purposes only and should not be used for any life-critical application. 4. Technical support If you have any problems operating this product then please refer to the troubleshooting section of this document first. You will find the latest software updates, FAQs and other information on our web site: www.matrixmultimedia.com Copyright Matrix Multimedia Limited 2010 page 2

2. General information 1. Description The dspic and PIC24 microcontroller programmer connects to your PC via USB to provide you with one of the world s lowest cost and most flexible 16-Bit PIC microcontroller programmers. This board can be used with Assembly, C or Flowcode and comes complete with a programming utility provided by Matrix Multimedia. The board will program a range of PIC24, dspic30 and dspic33 microcontroller devices using the flexible programming software provided. The board also provides clean access to all I/O lines on the relevant PICmicro MCU devices. When used with Flowcode for PIC24 & dspic microcontrollers V4.2 and greater, the board has additional In-Circuit Debug facilities. Please note: dspic30 devices have an operating voltage of 5V whereas PIC24 and dspic33 devices have an operating voltage of 3.3V. Care should be taken to ensure that the voltage levels presented on I/O pins are within the specification of the chip. More details on the chips I/O tolerances can be found in the microcontroller device datasheet. You should also be aware that the chip sockets are voltage specific so the 40 and 18 pin sockets are for dspic30 devices only and the 28 and 20 pin sockets are for PIC24 and dspic33 devices only. 2. Features E-blocks compatible PIC24 / dspic30 / dspic33 compatible 5V and 3.3V supply terminals Powered from USB or 8-14V external supply Onboard 5V to 12.5V programming voltage generation In Circuit Debugging (ICD) using Flowcode Socketed crystal oscillator PICkit interface 3. Supported devices PIC24 Devices 24F08KA101, 24F16KA101, 24F08KA102, 24F16KA102, 24FJ16GA002, 24FJ32GA002, 24FJ32GA102, 24FJ32GB002, 24FJ48GA002, 24FJ64GA002, 24FJ64GA102, 24FJ64GB002, 24HJ12GP202, 24HJ32GP202, 24HJ32GP302, 24HJ64GP202, 24HJ64GP502, 24HJ128GP202 dspic30 Devices 30F2011, 30F3012, 30F3014, 30F4013 dspic33 Devices 33FJ12MC201, 33FJ12GP202, 33FJ12MC202, 33FJ32GP202, 33FJ32GP302, 33FJ32MC202, 33FJ32MC302, 33FJ64GP202, 33FJ64GP802, 33FJ64MC202, 33FJ64MC802, 33FJ128GP202, 33FJ128GP802, 33FJ128MC202, 33FJ128MC802 Copyright Matrix Multimedia Limited 2010 page 3

3. Board layout EB064-74-1.cdr 1) PSU input socket 2) USB socket 3) USB LED 4) PSU / USB power source selection jumper 5) USB PPP Microcontroller 6) 5V regulator 7) 3.3V regulator 8) 5V to 12.5V charge pump circuitry 9) Power LED 10) Programming pins selection jumper 11) PICkit header 12) PICkit / PPP selection jumper 13) I/O Pin assignment jumper 14) 20 Pin PIC24 / dspic33 socket 15) 28 Pin PIC24 / dspic33 socket 16) Crystal oscillator 17) 40 Pin dspic30 socket 18) 18 Pin dspic30 socket 19) Reset push button 20) Port A downstream socket 21) Port B Low downstream socket 22) Port B High downstream socket 23) Port D downstream socket 24) Port F downstream socket Copyright Matrix Multimedia Limited 2010 page 4

4. Testing this product The following program will test the circuit. The test file can be downloaded from www.matrixmultimedia.com. 1. System Setup 1 x Multi-programmer board (EB064) with: EB064 Options Power supply Power Supply Jumper PIC device 18Pin Socket Programming Pins Jumper I/O pin jumper PICkit Jumper Xtal frequency Setting External, 8-14V PSU dspic30f2011 C Don t care USB 12MHz 2. Test Procedure 1. Setup the system as shown above. 2. Power up the Multiprogrammer by connecting and switching on the power supply. 3. Using the mloader software send the EB064_A.hex program to the 30F2011 device. 4. Connect a LED E-block (EB004) to ports A, BL and D one at a time and check that the following LEDs light up. No two LEDs should be on at any one time. Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 PORTA - - X X - - - - PORTBL X X X X X X X X PORTD X - - - - - - - 5. Using the mloader software send the EB064_B.hex program to the 30F2011 device. 6. Connect a LED E-block (EB004) to ports A, BL and D one at a time and check that the following LEDs light up. No two LEDs should be on at any one time. Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 PORTA - - X X - - - - PORTBL X X X X X X X X PORTD X - - - - - - - If tests 4 and 6 both complete ok, all LEDs are lighting up and no more then 1 LED is on at any one time then the board has passed the test routine correctly. If the microcontroller fails to ID or program correctly then check your board settings match those shown above. If programming completes correctly but the LEDs fail to light then check that you have a 12MHz crystal inserted into the crystal socket and that it is making a good contact with the socket connections. If you are still having problems then try using an alternate dspic or PIC24 device to test out the board connections to ensure it is not the microcontroller device itself that is damaged. Copyright Matrix Multimedia Limited 2010 page 5

5. Circuit description 1. Chip Compatibility The design of this product enables you to use this device with many standard PIC24, dspic30 and dspic33 microcontroller devices. This is achieved by identifying the microcontroller, then by selecting the corresponding jumper settings on the EB064 dspic and PIC24 board. Microcontroller Socket Programming pins selection jumper I/O Pin assignment jumper 30F2011 18 Pin C position N/A 30F3012 18 Pin C position N/A 24F08KA101 20 Pin B position I/O position 24F16KA101 20 Pin B position I/O position 33FJ12MC201 20 Pin B position Vrail position 24F08KA102 28 Pin B position I/O position 24F16KA102 28 Pin B position I/O position 24FJ16GA002 28 Pin B position Vrail position 24FJ32GA002 28 Pin B position Vrail position 24FJ32GA102 28 Pin B position Vrail position 24FJ32GB002 28 Pin B position Vrail position 24FJ48GA002 28 Pin B position Vrail position 24FJ64GA002 28 Pin B position Vrail position 24FJ64GA102 28 Pin B position Vrail position 24FJ64GB002 28 Pin B position Vrail position 24HJ12GP202 28 Pin B position Vrail position 24HJ32GP202 28 Pin B position Vrail position 24HJ32GP302 28 Pin B position Vrail position 24HJ64GP202 28 Pin B position Vrail position 24HJ64GP502 28 Pin B position Vrail position 24HJ128GP202 28 Pin B position Vrail position 33FJ12GP202 28 Pin B position Vrail position 33FJ12MC202 28 Pin B position Vrail position 33FJ32GP202 28 Pin B position Vrail position 33FJ32GP302 28 Pin B position Vrail position 33FJ32MC202 28 Pin B position Vrail position 33FJ32MC302 28 Pin B position Vrail position 33FJ64GP202 28 Pin B position Vrail position 33FJ64GP802 28 Pin B position Vrail position 33FJ64MC202 28 Pin B position Vrail position 33FJ64MC802 28 Pin B position Vrail position 33FJ128GP202 28 Pin B position Vrail position 33FJ128GP802 28 Pin B position Vrail position 33FJ128MC202 28 Pin B position Vrail position 33FJ128MC802 28 Pin B position Vrail position 30F3014 40 Pin A position N/A 30F4013 40 Pin A position N/A Please note that the I/O pin assignment jumper is only applicable for the PIC24 and dspic33 range of devices. Also note that powering a device using an incorrect pin assignment setting could potentially damage certain I/O of your microcontroller device or cause it not to run as expected. Copyright Matrix Multimedia Limited 2010 page 6

2. Power Supply The multiprogrammer board comes complete with the circuitry for a charge pump to allow the 5V dspic30 devices to be programmed in high voltage mode from a single 5V supply. This allows you to run and reprogram the microcontroller situated on the board using either the USB supply or an external power supply. External power supply voltage should be between 8V and 14V. There is a bridge rectifier fitted to the board so there are no polarity problems with using an external power supply. If an external power supply is being used then the supply voltage is also available on the +14V screw terminal. If the USB supply is being used then the +14V screw terminal is left disconnected. 3. Oscillator configuration The multiprogrammer board features an onboard removable crystal allowing you to drive the microcontrollers at varying speeds. Most of the PIC24 and dspic devices contain onboard phase locked loop (PLL) hardware that can be used to multiply and or divide the microcontroller program clock frequency. To work directly with the crystal speed and miss out the PLL the HS oscillator configuration setting can be used for crystal values over 10MHz. Alternatively crystals under 10MHz will need to use the XT oscillator configuration setting. Some devices also require that you write values to registers at the start of your program before things like the PLL oscillator will startup. For help on setting up your oscillator please refer to the datasheet for the microcontroller device you are using. 4. 5V and 3.3V operation This board is fully compatible with downstream boards operating off 3.3V or 5V. When a dspic30 device is being used then downstream boards should be placed into 5V mode and the +5V screw terminal should be used to wire a +V signal to the board. When a PIC24 or a dspic33 device is being used then downstream boards should be placed into 3.3V mode where available and the +3.3V screw terminal should be used to wire a +V signal to the board. Downstream boards requiring a larger supply voltage such as the graphical LCD E-block will have to be powered from the +14V screw terminal output and an external power supply of that voltage should be used to drive the multiprogrammer. 5. PICkit Connection The board comes complete with a PICkit header allowing you to re-program your PIC24 and dspic devices using a PICkit rather then using the PPP software. You must ensure that the 4-way jumper is in the correct position to allow either the PPP or the PICkit programming to link to the microcontroller correctly. You will also need to ensure that the programming pins jumper is correct for the specific microcontroller you are using. 6. I/O connections Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 PORTA RA0 RA1 RC13 RC14 RA4 RA11 RA6 RA7 PORTBL RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 PORTBH RB8 RB9 RB10 RB11 RB12 RB13 RB14 RB15 PORTD RD0 RD1 RD2 RD3 RD8 RD9 - - PORTF RF0 RF1 RF2 RF3 RF4 RF5 RF6 - Not all pins are available on each port so we have arranged the I/O onto the ports in a way that allows for the maximum amount of flexibility whilst keeping everything as straightforward as possible. Copyright Matrix Multimedia Limited 2010 page 7

Appendix 1 Circuit diagram

Appendix 1 Circuit diagram

Appendix 1 Circuit diagram