Note the following details of the code protection feature on Microchip devices:
•
•
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
•
•
•
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active
Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB,
rfPICDEM, Select Mode, Smart Serial, SmartTel, Total
Endurance, UNI/O, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2006, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona, Gresham, Oregon and Mountain View, California. The
Company’s quality system processes and procedures are for its
PIC
®
8-bit MCUs, K
EE
L
OQ
®
code hopping devices, Serial EEPROMs,
microperipherals, nonvolatile memory and analog products. In addition,
Microchip’s quality system for the design and manufacture of
development systems is ISO 9001:2000 certified.
DS70099D-page ii
©
2006 Microchip Technology Inc.
dsPICDEM™ 1.1 PLUS
DEVELOPMENT BOARD
USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. Introduction
1.1 Introduction ..................................................................................................... 9
1.2 Highlights ........................................................................................................ 9
1.3 dsPICDEM™ 1.1 Plus DEVELOPMENT BOARD Kit .................................... 9
1.4 dsPICDEM™ 1.1 Plus Development Board Features .................................. 10
1.5 Supported Plug-In Modules .......................................................................... 11
1.6 Running the dsPICDEM™ 1.1 Plus Demonstration Program ...................... 12
Chapter 2. Using dsPIC30F Devices
2.1 Introduction ................................................................................................... 13
2.2 Highlights ...................................................................................................... 13
2.3 Tutorial Overview ......................................................................................... 13
2.4 Creating the Project ...................................................................................... 14
2.5 Building the Code ......................................................................................... 19
2.6 Programming the Chip ................................................................................. 21
2.7 Debugging the Code .................................................................................... 25
Chapter 3. dsPIC30F Demonstration Program Operation
3.1 Introduction ................................................................................................... 29
3.2 Highlights ...................................................................................................... 29
3.3 Demonstration Program Operation .............................................................. 29
3.4 Data and Control Flow .................................................................................. 36
3.5 dsPIC30F Demonstration Performance Metrics ........................................... 39
3.6 Board Self-Test Code Module Summary ...................................................... 42
Chapter 4. Using dsPIC33F and PIC24H/24F Devices
4.1 Introduction ................................................................................................... 43
4.2 Highlights ...................................................................................................... 43
4.3 Tutorial Overview ......................................................................................... 43
4.4 Creating the Project ...................................................................................... 44
4.5 Building the Code ......................................................................................... 49
4.6 Programming the Chip ................................................................................. 51
4.7 Debugging the Code .................................................................................... 55
4.8 Additional Code Examples ........................................................................... 59
Chapter 5. dsPICDEM™ 1.1 Development Hardware
5.1 dsPICDEM™ 1.1 Plus Development Board Hardware Overview ................. 61
©
2006 Microchip Technology Inc.
DS70099D-page iii
dsPICDEM™ 1.1 Plus Development Board User’s Guide
Appendix A. Hardware Drawings and Schematics
A.1 Introduction .................................................................................................. 67
A.2 Highlights ..................................................................................................... 67
Appendix B. LCD Controller Specification
B.1 Overview ...................................................................................................... 75
B.2 LCD Controller Interface .............................................................................. 75
B.3 Commands ................................................................................................... 76
B.4 General Commands ..................................................................................... 78
B.5 Character commands ................................................................................... 79
B.6 Pixel commands ........................................................................................... 81
B.7 Column commands ...................................................................................... 82
B.8 Examples ..................................................................................................... 83
Index .............................................................................................................................85
Worldwide Sales and Service .....................................................................................88
DS70099D-page iv
©
2006 Microchip Technology Inc.
dsPICDEM™ 1.1 PLUS
DEVELOPMENT BOARD
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
®
IDE on-line help.
Select the Help menu, and then Topics to open a list of available on-line help files.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
dsPICDEM™ 1.1 Plus Development Board. Items discussed in this chapter include:
•
•
•
•
•
•
•
•
About This Guide
Conventions Used in this Guide
Warranty Registration
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Document Revision History
ABOUT THIS GUIDE
This document describes how to use the dsPICDEM™ 1.1 Plus Development Board as
a development tool to emulate and debug firmware on a target board. The manual
layout is as follows:
•
Chapter 1: Introduction
– This chapter introduces the dsPICDEM™ 1.1 Plus
Development Board and provides a brief description of the hardware.
•
Chapter 2: Using dsPIC30F Devices
– This chapter goes through a basic
step-by-step process for getting your dsPICDEM™ 1.1 Plus Development Board
up and running with the MPLAB
®
In-Circuit Debugger 2 (ICD 2) using dsPIC30F
devices.
•
Chapter 3: Demonstration Program Operation
– This chapter presents a
detailed description of the operational functionality of the sample code, which is
preprogrammed into the dsPIC30F device.
©
2006 Microchip Technology Inc.
DS70099D-page 1