d sau taz 0011265

1
To 9 VDC center-positive power adapter To computer COM port A PIC16F87X can be plugged into either the 28-pin or 40-pin DIP socket in the MPLAB ICD Demo Board* or your own target board. Connecting the MPLAB ICD Module directly to your own target board requires a modular cable connection that meets the specification shown to the right. * The MPLAB ICD Demo Board is included only in the MPLAB ICD Evaluation Kit (p/n DV164001). If you have the MPLAB ICD Module (p/n DV164002), the MPLAB ICD Demo Board is not included and you must connect to a target board. To 9 VDC center-positive power adapter To computer COM port Two 20-pin male-to-male stand-offs are pictured. If you are debugging a 28-pin part, use two 14-pin male-to-male stand-offs to connect the MPLAB ICD Header to the demo or target board. * The MPLAB ICD Header and MPLAB ICD Demo Board are included in the MPLAB ICD Evaluation Kit (p/n DV164001). If you have the MPLAB ICD Module (p/n DV164002), this section is not applicable. this part on the Header PIC16F870 PIC16F871 PIC16F871 PIC16F871 PIC16F872 connect directly PIC16F873 PIC16F874 PIC16F874 PIC16F874 PIC16F876 PIC16F877 PIC16F877 PIC16F877 To debug Use this part Install the MPLAB IDE software, making sure the MPLAB ICD Debugger Support Files component is selected. Launch MPLAB IDE and select Options > Development Mode. Select MPLAB ICD Debugger and the processor you are going to use. Click OK to continue. In the MPLAB ICD dialog you can select the COM port to which you have attached the MPLAB ICD. To speed up debug operations, change All Registers to Minimum & Watch Windows. MPLAB ICD uses the following on-chip resources: MCLR/VPP is shared for programming. Low-voltage ICSP programming is disabled. RB6 and RB7 are reserved for programming and in-circuit debugging. One stack level is not available. Six or seven general purpose file registers are reserved for debug monitor (depending on device – see table below). The first program memory location (0x0000) must be a NOP instruction. The last 256 or 288 words of program memory area are reserved for Debug Code (see table below). Processor File Registers Used Program Memory Used PIC16F870/871/872 0x70, 0xF0, 0x170, 0x1F0, 0x0700-0x07FF 0xBB-0xBF, 0x18E-0x18F, 0x1BB-0x1BF PIC16F873/874 0x6D, 0xEB-0xF0, 0x16D, 0x0EE0-0x0FFF 0x18E-0x18F, 0x1EB-0x1F0 PIC16F876/877 0x70, 0xF0, 0x170, 0x1F00-0x1FFF 0x18E-0x18F, 0x1EB-0x1F0 Note: The modular cable must be connected directly to the MPLAB ICD Header. Pin Signal 1 RB3 2 RB6 3 RB7 4 Ground 5 +VDD 6 VPP Demo/Target Board Modular Connector Pinout © 2001 Microchip Technology Inc., 11/01 DS50032D www.microchip.com *DS50032D*

Upload: joseph-bernard

Post on 21-Dec-2015

224 views

Category:

Documents


4 download

DESCRIPTION

dsa

TRANSCRIPT

Page 1: d Sau Taz 0011265

To 9 VDC center-positivepower adapter

To computerCOM port

A PIC16F87X can be plugged into either the 28-pin or 40-pin DIP socket in the MPLAB ICD Demo Board* or your own target board.

Connecting the MPLAB ICD Module directly to your own target board requires a modular cable connection that meets the specification shown to the right.

* The MPLAB ICD Demo Board is included only in the MPLAB ICD Evaluation Kit (p/n DV164001). If you have the MPLAB ICD Module (p/n DV164002), the MPLAB ICD Demo Board is not included and you must connect to a target board.

To 9 VDC center-positivepower adapter

To computerCOM port

Two 20-pin male-to-male stand-offs are pictured. If you are debugging a 28-pin part, use two 14-pin male-to-male stand-offs to connect the MPLAB ICD Header to the demo or target board.

* The MPLAB ICD Header and MPLAB ICD Demo Board are included in the MPLAB ICD Evaluation Kit (p/n DV164001). If you have the MPLAB ICD Module (p/n DV164002), this section is not applicable.

this part on the HeaderPIC16F870 PIC16F871PIC16F871 PIC16F871PIC16F872 connect directlyPIC16F873 PIC16F874PIC16F874 PIC16F874PIC16F876 PIC16F877PIC16F877 PIC16F877

To debug Use this part

Install the MPLAB IDE software, making sure the MPLAB ICD Debugger Support Files component is selected.

Launch MPLAB IDE and select Options > Development Mode. Select MPLAB ICD Debugger and the processor you are going to use.

Click OK to continue.

In the MPLAB ICD dialog you can select the COM port to which you have attached the MPLAB ICD.

To speed up debug operations, change All Registers to Minimum & Watch Windows.

MPLAB ICD uses the following on-chip resources:• MCLR/VPP is shared for programming.• Low-voltage ICSP programming is disabled.• RB6 and RB7 are reserved for programming

and in-circuit debugging.• One stack level is not available.

• Six or seven general purpose file registers are reserved for debug monitor (depending on device – see table below).

• The first program memory location (0x0000) must be a NOP instruction.

• The last 256 or 288 words of program memory area are reserved for Debug Code (see table below).

Processor File Registers Used Program Memory UsedPIC16F870/871/872 0x70, 0xF0, 0x170, 0x1F0, 0x0700-0x07FF

0xBB-0xBF, 0x18E-0x18F,0x1BB-0x1BF

PIC16F873/874 0x6D, 0xEB-0xF0, 0x16D, 0x0EE0-0x0FFF0x18E-0x18F, 0x1EB-0x1F0

PIC16F876/877 0x70, 0xF0, 0x170, 0x1F00-0x1FFF0x18E-0x18F, 0x1EB-0x1F0

Note: The modular cable must be connected directly to the MPLAB ICD Header.

Pin Signal1 RB32 RB63 RB74 Ground5 +VDD

6 VPP

Demo/Target BoardModular Connector Pinout

© 2001 Microchip Technology Inc., 11/01 DS50032D

www.microchip.com *DS50032D*