DM240011 Microchip Technology, DM240011 Datasheet

KIT STARTER MPLAB FOR PIC24F MCU

DM240011

Manufacturer Part Number
DM240011
Description
KIT STARTER MPLAB FOR PIC24F MCU
Manufacturer
Microchip Technology
Series
MPLAB®r
Type
MCUr
Datasheet

Specifications of DM240011

Contents
Board, Cable, CD
Processor To Be Evaluated
PIC24F
Data Bus Width
16 bit
Interface Type
USB
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC24
Silicon Core Number
PIC24F
Silicon Family Name
PIC24FJxxGBxxx
Kit Contents
Board Cables CD Docs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC24F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM240011
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM240011
Manufacturer:
MICROCHIP
Quantity:
12 000
MPLAB Starter Kit
for PIC24F User’s Guide
© 2008 Microchip Technology Inc.
DS51725A

Related parts for DM240011

DM240011 Summary of contents

Page 1

... PIC24F User’s Guide © 2008 Microchip Technology Inc. MPLAB Starter Kit DS51725A ...

Page 2

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, 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. ...

Page 3

... Troubleshooting ............................................................................................ 25 Chapter 5. Hardware 5.1 Application Functional Overview .................................................................. 27 5.2 Programmer/Debugger Functional Overview ............................................... 28 5.3 Board Components ...................................................................................... 29 Appendix A. Starter Kit Schematics........................................................................... 31 Index ............................................................................................................................. 37 Worldwide Sales and Service .................................................................................... 38 © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F Table of Contents USER’S GUIDE DS51725A-page iii ...

Page 4

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page iv © 2008 Microchip Technology Inc. ...

Page 5

... Chapter 5. Hardware – This chapter provides a functional overview of the starter kit and identifies the major hardware components. • Appendix A. Starter Kit Schematics – This appendix provides detailed schematic diagrams of the starter kit. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F Preface NOTICE TO CUSTOMERS USER’ ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2008 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... Microchip web site or from your local sales office. ® MPLAB ASM30, MPLAB This document helps you use Microchip Technology’s language tools for PIC24F devices based on GNU technology. The language tools discussed are the MPLAB ASM30 Assembler, MPLAB LINK30 Linker, MPLAB LIB30 Archiver/Librarian and other 16-bit device utilities. ...

Page 8

... MPLAB SIM Simulator, as well as general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 device programmer and the PICSTART development programmers. DS51725A-page 4 ® ® Plus and PICkit 1 and 2 © 2008 Microchip Technology Inc. ...

Page 9

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (March 2008) • Initial Release of this Document © 2008 Microchip Technology Inc. DS51725A-page 5 ...

Page 10

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page 6 © 2008 Microchip Technology Inc. ...

Page 11

... Chapter 1. Introduction to the Starter Kit Thank you for purchasing Microchip Technology’s MPLAB Starter Kit for PIC24F. This board is intended to introduce and demonstrate the capabilities and features of PIC24F microcontrollers. In addition, the starter kit has on-board in-circuit debug circuitry so that you may develop and debug your own applications. ...

Page 12

... USB. If this does not work, refer to Section 4.8 “Troubleshooting”. FIGURE 1- mini-B USB Cable DS51725A-page 8 STARTER KIT SETUP Starter Kit M USB Flash Drive (not included) © 2008 Microchip Technology Inc. ...

Page 13

... At 16 MIPS, the PIC24FJ256GB106 microcontroller has more than enough processing power for this type of application. FIGURE 2-1: © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F STARTER KIT MENU DISPLAY (MAIN MENU SHOWN) PIC24F Starter Kit ...

Page 14

... Otherwise, one or more of the individual pads may be incorrectly calibrated, and the application may act erratically or start responding to “phantom” inputs. DS51725A-page 10 CAPACITIVE TOUCH PAD LEFT CENTER 3 DOWN RIGHT © 2008 Microchip Technology Inc. ...

Page 15

... Use the up/down touch pads to select a color component, and the left/right touch pads to adjust that color’s intensity. When finished, press the center touch pad to extinguish the LED and return to the main display. FIGURE 2-4: © 2008 Microchip Technology Inc. SET DATE/TIME DISPLAY Set Date/Time i ...

Page 16

... To exit the demo and return to the main menu, press the center touch pad. FIGURE 2-6: DS51725A-page 12 TYPICAL DISPLAYS FOR THE FLASH DRIVE INTERFACE \THUMB i .\SUBDIR~1 .\TRANSFER CAPTURE.CSV DATA GRAPHING DISPLAY Potentiometer Graph i © 2008 Microchip Technology Inc. ...

Page 17

... Users may find that the three demos provided (“Shu Box”, “Shapelet” and “Blaster”) similar to some vintage video games. As such, the operations of these demos are regarded to be self-explanatory. Users who require more information will find additional instructions in the comments accompanying the application source code. © 2008 Microchip Technology Inc. DATA GRAPHING DISPLAYS Pot. Capture i ...

Page 18

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page 14 © 2008 Microchip Technology Inc. ...

Page 19

... The programmer side cable provides the interface to MPLAB IDE, while the application side cable provides the interface between the device and host applications. Both cables provide power to the board. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F USER’S GUIDE ...

Page 20

... The cable provides both power and data connection to the host side application, making it a bus-powered application. FIGURE 3-2: DS51725A-page 16 STARTER KIT SETUP (DEVICE, DEBUG MODE) Starter Kit M STARTER KIT SETUP (DEVICE, DEBUG MODE) Starter Kit mini-B (Application mini-B (Application) © 2008 Microchip Technology Inc. ...

Page 21

... J1. If you externally power V disconnect any USB cables connected to a computer or hub. Otherwise, damage to the PC’s USB port or the external hub may result. © 2008 Microchip Technology Inc. and GND test points on the board. BUS BUS and ground connections from the external power supply to the ...

Page 22

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page 18 © 2008 Microchip Technology Inc. ...

Page 23

... Programming the Debugged Application • Creating Other Applications • Determining Device Support and Reserved Resources • Debug Version Information • Troubleshooting © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F USER’S GUIDE ® IDE, the free intergrated DS51725A-page 19 ...

Page 24

... Debug executive code is automatically programmed in the upper program memory of the starter kit device when the starter kit is selected as a debug- ger. Debug code must be programmed into the target device to use the in-circuit debugging capabilities of the starter kit. DS51725A-page 20 STARTER KIT AS DEBUG TOOL 4 3 © 2008 Microchip Technology Inc. ...

Page 25

... Watch windows, to aid in application code debugging. This section includes: • Editing Application Code • Using Breakpoints and Mouseovers • Using Watch Windows © 2008 Microchip Technology Inc. Run Halt Animate Step Into Step Over ...

Page 26

... Note: This feature must be set up. From the menu bar, select Edit>Properities; from the Properties dialog, select the Tooltips tab, then click the checkbox for “Enable Variable Mouseover Values”. DS51725A-page 22 EXAMPLE PROJECT Existing Code File © 2008 Microchip Technology Inc. ...

Page 27

... Watch window, or click in the “Address” column and enter an absolute address. A Watch window populated with the SFRs and Symbols will look like Figure 4-4. For more on using Watch windows, see MPLAB IDE Help. FIGURE 4-4: © 2008 Microchip Technology Inc. EXAMPLE BREAKPOINT EXAMPLE WATCH DS51725A-page 23 ...

Page 28

... Starter Kit Settings dialog. Currently, there is only one (Info) tab on this dialog, displaying the following information: • Firmware Version: The version of firmware on the starter kit board. • Debug Exec Version: The version of the debug executive that is loaded into the PIC24F device program memory to enable debug operation. DS51725A-page 24 © 2008 Microchip Technology Inc. ...

Page 29

... If during the course of developing your own application you can no longer pro- gram the device on the starter kit, you may have set device Configuration bits to code-protect or some other state that prevents programming. To view the settings of the Configuration bits, select Configure>Configuration Bits. © 2008 Microchip Technology Inc. DS51725A-page 25 ...

Page 30

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page 26 © 2008 Microchip Technology Inc. ...

Page 31

... S1. The values from these channels are analyzed with the CTMU to determine when a touch-and-release event occurs on any of the pads. The application firmware determines which action to take based on the application’s current context. © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F Chapter 5. Hardware PIC24FJ256GB106 ...

Page 32

... A Microchip 25LC010A serial EEPROM is used to store the starter kit’s serial number and debug control information. DS51725A-page 28 Debug 12 MHz LED Crystal USB Data PIC18F67J50 BUS Power SPI LED Serial EEPROM 25LC010A saturation PNP transistor (Q1) configured CE ICSP™ To Application Side (PIC24FJ256GB106) © 2008 Microchip Technology Inc. ...

Page 33

... D3. MCP1727 Voltage Regulator (U1): The 3.3V linear regulator regulates the USB unregulated voltage to 3.3 volts (with respect to V with system power. D4. Target Power LED (D4): When lit, indicates that power is being supplied to the application side of the starter kit from V the V test point). BUS © 2008 Microchip Technology Inc ...

Page 34

... A8. Potentiometer (R44): Provides an analog input to the microcontroller for certain demo applications. A9. OLED Voltage Boost Circuitry: L3, D5 and Q4 (along with other passive components) are connected in a voltage boost topology. This provides the OLED display with its nominal operating voltage DS51725A-page © 2008 Microchip Technology Inc. ...

Page 35

... Figure A-2: Programmer/Debugger USB Interface, Target Power Switching and Regulation Application: • Figure A-3: Application Microcontroller, Touch Switches and Associated Components • Figure A-4: OLED Display, LED and Application Side USB Connectors © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F USER’S GUIDE DS51725A-page 31 ...

Page 36

... MPLAB Starter Kit for PIC24F User’s Guide FIGURE A-1: STARTER KIT SCHEMATIC, SHEET 1: PROGRAMMER/DEBUGGER CONTROL SYSTEM AND EEPROM DS51725A-page 32 © 2008 Microchip Technology Inc. ...

Page 37

... FIGURE A-2: STARTER KIT SCHEMATIC, SHEET 2: PROGRAMMER/DEBUGGER USB INTERFACE, TARGET POWER SWITCHING AND REGULATION © 2008 Microchip Technology Inc. DS51725A-page 33 ...

Page 38

... MPLAB Starter Kit for PIC24F User’s Guide FIGURE A-3: STARTER KIT SCHEMATIC, SHEET 3: APPLICATION MICROCONTROLLER, TOUCH SWITCHES AND ASSOCIATED COMPONENTS DS51725A-page 34 © 2008 Microchip Technology Inc. ...

Page 39

... FIGURE A-4: STARTER KIT SCHEMATIC, SHEET 4: OLED DISPLAY, LED AND APPLICATION SIDE USB CONNECTORS © 2008 Microchip Technology Inc. DS51725A-page 35 ...

Page 40

... MPLAB Starter Kit for PIC24F User’s Guide NOTES: DS51725A-page 36 © 2008 Microchip Technology Inc. ...

Page 41

... Time and Date .................................................. 11 Touch Interface................................................. 10 Calibration ................................................. 10 USB Flash Drive Interface ................................ 12 Device, Debug Mode ............................................... 15 Device, Release Mode ............................................. 16 Documentation Conventions ........................................................ 2 Layout ................................................................. 1 © 2008 Microchip Technology Inc. MPLAB STARTER KIT FOR PIC24F Index E Embedded Host, Debug Mode................................. 15 Embedded Host, Release Mode .............................. 17 H Halt........................................................................... 21 Host Computer Requirements.................................... 7 I Initial Board Setup ...

Page 42

... 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 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 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