Can flexible data-rate (fd) protocol module (116 pages)
Summary of Contents for Microchip Technology PICkit 2
Page 1
EN : Th is Dat asheet is pr esent ed by t he m anuf act ur er . Please v isit our websit e f or pr icing and av ailabilit y at w w w.hest or e.hu.
Page 3
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 5
PICkit 2 User’s Guide 3.4.1 The application circuit is powered by the PICkit 2 Microcontroller Programmer ....................21 3.4.2 The application circuit is powered externally ..........21 3.4.3 Bulk Erase is used ..................21 3.5 V ....................... 22 3.6 Other Considerations ................... 22 Chapter 4.
Page 7
The manual layout is as follows: • Chapter 1. “PICkit™ 2 Overview” – Provides an overview of the PICkit 2 Microcontroller Programmer. • Chapter 2. “Getting Started” – Provides Instructions on how to get started using ®...
Page 9
For the latest information on using the PICkit™ 2 Debug Express, read the “Readme for PICkit 2 Debug Express.txt” file (an ASCII text file) in the Readmes sub- directory of the MPLAB IDE installation directory. The Readme file contains updated information and known issues that may not be included in this user’s guide.
PICkit 2 User’s Guide PROGRAMMING SOFTWARE Start the PICkit™ 2 Programming Software by selecting Start > Programs > PICkit 2 Microcontroller Programmer > PICkit 2. The programming interface appears, as shown in Figure 1-3. For more information on how to us the PICkit™ 2 Programming Software, see Chapter 2.
• Check Board – Verifies communication with the PICkit™ 2 Microcontroller Programmer and reads the device ID of the target MCU. • Download PICkit 2 Operating System – Performs a download of the PICkit™ 2 Microcontroller Programmer firmware operating system.
PICkit 2 USER’S GUIDE Chapter 2. Getting Started INTRODUCTION This chapter gives instruction on how to get started using the PICkit 2 Microcontroller ® Programmer to program Flash-based PICmicro microcontroller units (MCU). For information on how to use the PICkit 2 Microcontroller Programmer with In-Circuit Serial Programming™...
The PICkit 2 Microcontroller Programmer is capable of programming a variety of ® Flash-based Microchip PICmicro microcontrollers. The first step in using the PICkit 2 Microcontroller Programmer is to select the device family by clicking on the Device Family menu as shown in Figure 2-2. FIGURE 2-2: SELECT DEVICE FAMILY 2.3.2...
CAUTION The USB port current limit is set to 100 mA. If the target plus PICkit 2 Microcontroller Programmer exceed this current limit, the USB port will turn off. The target may be powered externally if more power is required.
Write operation is displayed in the status bar located under the Device Configuration window. Note: The device will be erased prior to programming. The PICkit 2 Microcontroller Programmer uses the bulk erase method that requires V voltage between 4.5 to 5.5V...
) is +5V. CAUTION The USB port current limit is set to 100 mA. If the target plus PICkit 2 Microcontroller Programmer exceeds this current limit, the USB port will turn off. The target may be powered externally if more power is required.
Minimize the distance the ICSP signals must travel by placing the ICSP connector as close to the application circuit PICmicro MCU as possible. Minimize any cable length between the PICkit 2 Microcontroller Programmer and application circuit PICmicro MCU. The goal is to keep the ICSP signals within the level and slew rate specifications for successful programming.
Debug Express requires MPLAB IDE 7.40 version, or later. PICkit™ 2 DEBUG EXPRESS This section explains how to debug programs using the PICkit 2 Debug Express. It is intended for those new to debugging programs, but familiar with the MPLAB IDE software.
PICkit™ 2 User’s Guide 7. Select Debugger > Connect to connect to the PICkit 2 Microcontroller Program- mer. The Output window displays communication status between the PICkit 2 Microcontroller Programmer and Target Board. FIGURE 4-6: PICkit 2 MICROCONTROLLER PROGRAMMER CONNECT 4.2.3...
Page 34
In Step Four, add the project files: 1. From the left pane window, go to C:\Program Files\Microchip\PICkit 2\PIC16F917 Debug Demo.asm. Select and highlight the “PIC16F917 Debug Demo.asm” file and click the Add button. The file will be placed into the right pane window.
CONFIGURATION BIT SETTINGS 4.2.8 Loading Program Code for Debugging • Select Debugger > Select Tool > PICkit 2 to select the PICkit 2 Microcontroller Programmer as the debug tool. • Select Debugger > Program to program the PIC16F917 Debug Demo.hex file into the PIC16F917 on the 44-Pin Demo Board.
Page 38
PICkit™ 2 Debug Express FIGURE 4-19: Programming will only take a few seconds. During programming, the PICkit 2 Microcontroller Programmer tab of the Output dialog window will display the current phase of operation. When programming is complete, the dialog should look similar to Figure 4-20.
4.2.9 PIC16F917 Debug Demo The PICkit 2 Microcontroller Programmer executes in either Real-Time or Step mode. Real-Time execution occurs when the PIC16F917, on the 44-Pin Demo Board, is in the MPLAB IDE Run mode. Step mode execution can be accessed after the processor is halted.
The PICkit 2 Microcontroller Programmer must be reprogrammed for the changes to take effect. 16. Select Debugger > Program to reprogram the PICkit 2 Microcontroller Program- mer with the changes. When the PICkit 2 Microcontroller Programmer dialog indicates “Programming Succeeded”, the program is ready to run again.
Step 1. Download the latest PICkit 2 Operating System from the Microchip web site at www.microchip.com. Step 2. From the menu, select Tools > Download PICKit 2 OS Firmware, as shown in Figure 5-1. FIGURE 5-1: DOWNLOAD PICkit 2 OPERATING SYSTEM Step 3.
Need help?
Do you have a question about the PICkit 2 and is the answer not in the manual?
Questions and answers