DV164037 Microchip Technology, DV164037 Datasheet

KIT EVAL ICD3 WITH EXPLORER 16

DV164037

Manufacturer Part Number
DV164037
Description
KIT EVAL ICD3 WITH EXPLORER 16
Manufacturer
Microchip Technology
Series
MPLAB® ICD 3r
Type
MCUr
Datasheet

Specifications of DV164037

Contents
2 Boards, ICD3 Debugger
Processor To Be Evaluated
PIC24F, PIC24H, dsPIC33
Data Bus Width
16 bit
Interface Type
RS-232, USB
Operating Supply Voltage
9 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC24, DsPIC33
Silicon Core Number
PIC24F, DsPIC33F
Silicon Family Name
PIC24FJxxGAxxx, DsPIC33FJxxGPxxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC24F, PIC24H, dsPIC33
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164037
Manufacturer:
MICROCHIP
Quantity:
12 000
Explorer 16 Development Board
User’s Guide
© 2005 Microchip Technology Inc.
DS51589A

DV164037 Summary of contents

Page 1

... Explorer 16 Development Board © 2005 Microchip Technology Inc. User’s Guide DS51589A ...

Page 2

... PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance and WiperLock 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. ...

Page 3

... A.3 Development Board Schematics .................................................................. 34 Appendix B. Updating the USB Connectivity Firmware B.1 Introduction .................................................................................................. 43 B.2 Updating the PICkit 2 Microcontroller Programmer ..................................... 43 B.3 Other USB Firmware Updates ..................................................................... 44 Index ............................................................................................................................. 45 Worldwide Sales and Service .................................................................................... 46 © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE Table of Contents DS51589A-page iii ...

Page 4

... Explorer 16 Development Board User’s Guide NOTES: DS51589A-page iv © 2005 Microchip Technology Inc. ...

Page 5

... Appendix A. “Explorer 16 Development Board Schematics” provides a block diagram and detailed schematics of the Explorer 16 board. • Appendix B. “Updating the USB Connectivity Firmware” describes how to upgrade the Explorer 16 board’s USB connectivity subsystem. © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE Preface NOTICE TO CUSTOMERS ® ...

Page 6

... WARRANTY REGISTRATION Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in the Warranty Registration Card entitles users to receive new product updates. Interim software releases are available at the Microchip web site. © 2005 Microchip Technology Inc. Represents MPLAB Referenced books ...

Page 7

... PIC24 MCUs, dsPIC30F and dsPIC33F DSCs. PIC24H Family Overview (DS70166) This document provides an overview of the functionality of the new PIC24H product family. It helps determine how the PIC24H high-performance, 16-bit microcontrollers fit a specific product application. DS51589A-page 3 © 2005 Microchip Technology Inc. ...

Page 8

... Microchip consultant program member listing • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives © 2005 Microchip Technology Inc. Preface ® DS51589A-page 4 ...

Page 9

... Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (November 2005) This is the initial release of this Document. DS51589A-page 5 ® II device programmers and the Plus and PICkit™ 1 development programmers. ® © 2005 Microchip Technology Inc. ...

Page 10

... NOTES: © 2005 Microchip Technology Inc. Preface DS51589A-page 6 ...

Page 11

... Chapter 1. Introducing the Explorer 16 Development Board 1.1 INTRODUCTION Thank you for purchasing Microchip Technology’s Explorer 16 Development Board Kit. The development board provides a low-cost, modular development system for Microchip’s new line of 16-bit microcontroller families, including the PIC24, PIC24H and the 16-bit digital signal controller family, dsPIC33F. ...

Page 12

... Explorer 16 Development Board Kit anticipated that one device each of the PIC24 and dsPIC33F families will always be included. Also in the future, the included PIC24 device will be soldered onto the board and only the dsPIC33F device will be provided as a PIM. © 2005 Microchip Technology Inc. DS51589A-page 8 ...

Page 13

... Appendix A. “Explorer 16 Development Board Schematics”. Refer to Chapter 3. “Explorer 16 Tutorial Programs” for details on the demonstration code operation. DS51589A-page 9 EXPLORER 16 DEVELOPMENT BOARD LAYOUT ® device PIM, carefully remove the PIC24 PIM and install the © 2005 Microchip Technology Inc. ...

Page 14

... PRO MATE You can obtain these reference documents from your nearest Microchip sales office (listed in the back of this document downloading them from the Microchip web site (www.microchip.com). © 2005 Microchip Technology Inc. EXPLORER 16 PIM MODULE, SHOWING NOTCHED CORNER MARKING PIC24FJ128GA010 II User’ ...

Page 15

... Program the chip with the MPLAB ICD 2 There are three steps to this tutorial: 1. Creating a project in MPLAB IDE. 2. Assembling and linking the code. 3. Programming the chip with the MPLAB ICD 2. © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE DS51589A-page 11 ...

Page 16

... FIGURE 2-1: 5. From the Device drop-down list, select “PIC24FJ128GA010” or “dsPIC33FJ256GP710PS”, depending on the PIM being used. Click Next >. The Project Wizard Step Two dialog will be displayed (see Figure 2-2). © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial SELECTING THE DEVICE DS51589A-page 12 ...

Page 17

... C:\Program Files\Microchip\MPLAB C30\bin\pic30-as.exe. 4. With MPLAB LINK 30 Object Linker (pic30-ld.exe) selected in Toolsuite Contents, click Browse... and navigate to C:\Program Files\Microchip\MPLAB C30\bin\pic30-Id.exe. 5. Click Next > to continue. The Project Wizard Step Three dialog displays (Figure 2-3). DS51589A-page 13 SELECTING THE TOOLSUITE © 2005 Microchip Technology Inc. ...

Page 18

... In the Project Directory box, click Browse... and navigate to C:\Tutorial to place your project in the Tutorial folder. 3. Click Next > to continue. The Project Wizard Step Four dialog displays (Figure 2-4). FIGURE 2-4: © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial NAMING YOUR PROJECT ADDING FILES TO THE PROJECT DS51589A-page 14 ...

Page 19

... A project and workspace has now been created in MPLAB IDE. MyProject.mcw is the workspace file and MyProject.mcp is the project file. Double-click the PIC24ExplDemo.c file (for PIC24) or main_rtc.c file (for dsPIC33F) in the Project window to open the file. MPLAB IDE should now look similar to Figure 2-6. DS51589A-page 15 PROJECT WINDOW © 2005 Microchip Technology Inc. ...

Page 20

... This line causes a standard include file to be used. Microchip provides these files with all the Special Function Register (SFR) labels already defined for convenience. To build the code, select Build Options > Project from the Project menu. The Build Options dialog displays (Figure 2-7). © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial ® MPLAB ...

Page 21

... Check Link for ICD2. 5. Click OK. The text box closes while the linker reserves space for the debug code used by the MPLAB ICD 2. 6. Click OK again to save these changes. The project is now ready to build. DS51589A-page 17 BUILD OPTIONS © 2005 Microchip Technology Inc. ...

Page 22

... From the menu bar of the main MPLAB IDE window, select Project > Make . The Build Output window displays (Figure 2-9). Observe the progress of the build. When the “BUILD SUCCEEDED” message displays, you are ready to program the device. FIGURE 2-9: © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial ® MPLAB LINK30 BUILD OPTIONS ...

Page 23

... Before proceeding, make sure that the USB driver for the MPLAB ICD 2 has been installed on the PC (see the MPLAB User’s Guide (DS51331) for more details regarding the installation of the MPLAB ICD 2). Set Up the Device Configuration ® ICD 2 In-Circuit Debugger © 2005 Microchip Technology Inc. ...

Page 24

... MPLAB IDE may need to download new firmware if this is the first time the MPLAB ICD 2 is being used with a PIC24FJ device. Allow so. If any errors are shown, double-click the error message to get more information. FIGURE 2-11: © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial CONFIGURATION SETTINGS (PIC24) ® ...

Page 25

... From the Debugger menu, select Program to program the part. The Output window (Figure 2-12) displays the program steps as they occur. 2. Observe the results of the programming. When “MPLAB ICD 2 Ready” displays, the device is programmed and ready to run. FIGURE 2-12: DS51589A-page 21 PROGRAMMING THE DEVICE © 2005 Microchip Technology Inc. ...

Page 26

... NOTES: © 2005 Microchip Technology Inc. Explorer 16 Programming Tutorial DS51589A-page 22 ...

Page 27

... Each press of S4 moves the cursor sequentially through the digits of the time display, then the month, day and year. Pressing S3 at any time in the process returns to the regular clock/calendar display. © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE ...

Page 28

... Yes Is S4 pressed? Clock Setup mode: S3 – Exit Setup mode S4 – Accept Selection, Adjust Next Value S5 – Decrement Selection S6 – Increment Selection © 2005 Microchip Technology Inc. Explorer 16 Tutorial Programs PIC24 TUTORIAL PROGRAM FLOWCHART Power-up Display “Explorer 16 Development Board” Display ...

Page 29

... The variable, rtc_lcd_update, is evaluated in the main loop to determine if there is a new time of day value which can be converted and displayed on the LCD. The primary code modules associated with the operation of the Timer1 module and display are: • init_timer1.c • isr_timer1.c • hexdec.c DS51589A-page 25 © 2005 Microchip Technology Inc. ...

Page 30

... FIGURE 3-2: © 2005 Microchip Technology Inc. Explorer 16 Tutorial Programs dsPIC33F TUTORIAL PROGRAM FLOWCHART Power-up Display “dsPIC33 Demo” “Press S3 to cont” pressed? Yes Initialize Timer1 Display “Time 00:00:00” “R6 = 0.00 VDC” Initialize A/D Converter No Update time? Yes ...

Page 31

... Do not attempt to power the Explorer 16 board using the MPLAB ICD 2 module not designed USB bus power source. One green LED (D1) is provided to show when the Explorer 16 board is powered up. The power-on LED indicates the presence of +3.3V. © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE DS51589A-page 27 ...

Page 32

... An alternate configuration option allows the use of RD3:RD0 as four of the data lines, instead of RE7:RE4 this, the user must cut the trace jumpers at R60/62/64/66 and create solder bridges from the pads for R61/63/65/67 (see Figure 4-1). © 2005 Microchip Technology Inc. Explorer 16 Development Hardware . For more information on which pins of the ...

Page 33

... MHz crystal (Y1). 4.2.13 Serial EEPROM A 25LC256 256K (32K x 8) serial EEPROM (U5) is included for nonvolatile firmware storage also used to demonstrate SPI bus operation. DS51589A-page 29 MODIFICATIONS TO R60-R67 FOR LCD CONFIGURATION (SCALE ENHANCED FOR VISIBILITY) Add Solder Bridges Here © 2005 Microchip Technology Inc. ...

Page 34

... PICtail Plus interface. When a control pin is asserted low, the corresponding pin pair functions are swapped. Table 4-1 details the relationship between the control pins and SPI1/UART1 functions on the interface. © 2005 Microchip Technology Inc. Explorer 16 Development Hardware ® ...

Page 35

... When connecting SPI and UART peripherals on two Explorer 16 boards, use crossover connection on only one of the boards. DS51589A-page 31 LOCATION OF SPI1 AND UART1 PINS ON PICtail™ PLUS INTERFACE UART1 Control Pins Control Pin RB14 Control Pin RB13 U1TX U1CTS SPI1 Control Pin RB12 U1RTS SDI1 SDO1 © 2005 Microchip Technology Inc. ...

Page 36

... NOTES: © 2005 Microchip Technology Inc. Explorer 16 Development Hardware DS51589A-page 32 ...

Page 37

... PIC18LF4550 ICD/ICSP JTAG Temperature Sensor * Hardware support only; firmware support for SPI™, JTAG and ICSP™ via USB are not available at this time. © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE 16x2 LCD Display SPI* PIC24FJ128GA010 dsPIC33FJ256GP710 ...

Page 38

... Explorer 16 Development Board Schematics A.3 DEVELOPMENT BOARD SCHEMATICS FIGURE A-2: EXPLORER 16 BOARD SCHEMATIC, SHEET (PIM SOCKET © 2005 Microchip Technology Inc. 100-Pin PIM DS51589A-page 34 ...

Page 39

... Explorer 16 Development Board User’s Guide FIGURE A-3: EXPLORER 16 BOARD SCHEMATIC, SHEET (BOARD MOUNTED PIC24FJ128GA010 MCU, WHEN INSTALLED DS51589A-page 35 .1 μF 10 μF PIC24FJ128GA010 © 2005 Microchip Technology Inc ...

Page 40

... Explorer 16 Development Board Schematics FIGURE A-4: EXPLORER 16 BOARD SCHEMATIC, SHEET (MPLAB PICkit™ 2 AND PICtail™ Plus CONNECTORS) ® MPLAB ICD 2 Connector .1 μF PICkit™ 2 Programmer © 2005 Microchip Technology Inc. ® ICD 2, JTAG, DS51589A-page 36 ...

Page 41

... Explorer 16 Development Board User’s Guide FIGURE A-5: EXPLORER 16 BOARD SCHEMATIC, SHEET (PICtail™ PLUS EDGE AND SOCKET CONNECTORS) DS51589A-page 37 © 2005 Microchip Technology Inc. ...

Page 42

... Explorer 16 Development Board Schematics FIGURE A-6: EXPLORER 16 BOARD SCHEMATIC, SHEET (SWITCHES, MULTIPLEXERS AND POTENTIOMETER) © 2005 Microchip Technology Inc μ μ μF DS51589A-page 38 ...

Page 43

... FIGURE A-7: EXPLORER 16 BOARD SCHEMATIC, SHEET (EEPROM, TEMPERATURE SENSOR, LEDs, OSCILLATOR CIRCUITS AND POWER SUPPLY 25LC256 TC1047A V V OUT μF 32 kHz μF .1 μF DS51589A-page 39 .1 μF 8 MHz μF .1 μF 47 μF .1 μF .1 μF .1 μF .1 μF .1 μF 47 μF 47 μF © 2005 Microchip Technology Inc. ...

Page 44

... Explorer 16 Development Board Schematics FIGURE A-8: EXPLORER 16 BOARD SCHEMATIC, SHEET (USB AND UART SUBSYSTEMS) PIC18F4550_QFN44 μF .1 μF .1 μF .1 μF .1 μF © 2005 Microchip Technology Inc μF .1 μ μF .1 μF V BUS .1 μF 20 MHz DS51589A-page 40 ...

Page 45

... Explorer 16 Development Board User’s Guide FIGURE A-9: EXPLORER 16 BOARD SCHEMATIC, SHEET (LCDs AND OPTIONAL LCD CONNECTIONS) 4.7 μF 4.7 μF 4.7 μF 4.7 μF 1 μF 1 μF 1 μF 1 μF 1 μF DS51589A-page 41 Alternative LCD Configurations μ © 2005 Microchip Technology Inc. ...

Page 46

... Explorer 16 Development Board Schematics NOTES: © 2005 Microchip Technology Inc. DS51589A-page 42 ...

Page 47

... Connect the Explorer 16 board to the PC via a standard USB cable. 5. Launch the PICkit 2 programmer software. From the menu bar, select Tools > Download PICKit 2 Operating System (Figure B-1). FIGURE B-1: © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE DOWNLOAD PICkit™ 2 OPERATING SYSTEM ...

Page 48

... OTHER USB FIRMWARE UPDATES It is anticipated that various USB connectivity firmwares will be made available in the future. Users are encouraged to periodically check the Microchip web site (www.microchip.com) for new and revised code. © 2005 Microchip Technology Inc. SELECT PICkit™ 2 OPERATING SYSTEM DS51589A-page 44 ...

Page 49

... LCD, Alphanumeric........................................8 LCD, Graphic .................................................8 LEDs ..............................................................8 Multiplexers....................................................8 Oscillator Options ..........................................8 PICkit 2 Connector.........................................8 PICtail Plus Card Edge Connectors...............8 Power Indicator LED ........................................... 8 Power Supply.................................................8 © 2005 Microchip Technology Inc. EXPLORER 16 DEVELOPMENT BOARD USER’S GUIDE Index Processor Support ........................................ 8 Prototype Area .................................................... 8 RS-232 Serial Port ........................................ 8 Serial EEPROM ............................................ 8 Switches........................................................ 8 Temperature Sensor ...

Page 50

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2005 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords