PIC16C505/JW

MPLAB
®
ICE 2000
DS51140J-page 4 2004 Microchip Technology Inc.
4.3.2 CLOCK SOURCE FROM THE TARGET
APPLICATION
If the Target Application is selected to provide the clock
source, the target board must also be selected to
power the emulator processor (see the MPLAB ICE
2000 on-line help file in MPLAB IDE (Help>Topics
) or
the MPLAB ICE 2000 User’s Guide (DS51488), “Using
a Target Board Clock”).
At low voltage, the maximum speed of the processor
will be limited to the rated speed of the device under
emulation.
An oscillator circuit on the device adapter generates a
clock to the processor module and buffers the clock
circuit on the target board. In this way, the MPLAB ICE
2000 emulator closely matches the oscillator options of
the actual device. All oscillator modes are supported
(as documented in the device’s data sheet) except as
noted in Section 3.0 Emulator-Related Issues. The
OSC1 and OSC2 inputs of the device adapter have a
5 pF to 10 pF load. Be aware of this when using a
crystal in HS, XT, LP or LF modes, or an RC network in
RC mode.
The frequency of the emulated RC network may vary
relative to the actual device due to emulator circuitry. If
a specific frequency is important, adjust the RC values
to achieve the desired frequency. Another alternative
would be to allow the emulator to provide the clock as
described in Section 4.3.1 Clock Source from
Emulator.
When using the target board clock, the system’s
operating voltage is between 2.5V and 5.5V.
4.4 ESD Protection and Electrical
Overstress
All CMOS chips are susceptible to electrostatic
discharge (ESD). In the case of the processor modules,
the pins of the CMOS emulator are directly connected
to the target connector, making the chip vulnerable to
ESD. ESD can also induce latch-up in CMOS chips,
causing excessive current through the chip and possi-
ble damage. MPLAB ICE 2000 has been designed to
minimize potential damage by implementing over-
current protection and transient suppressors. However,
care should be given to minimizing ESD conditions
while using the system.
During development, contention on an I/O pin is
possible (e.g., when an emulator pin is driving a ‘1’ and
the target board is driving a ‘0’). Prolonged contention
may cause latch-up and damage to the emulator chip.
One possible precaution is to use current limiting
resistors (~100 ) during the development phase on
bidirectional I/O pins. Using limiting resistors can also
help avoid damage to modules, device adapters and
pods that occurs when a voltage source is accidentally
connected to an I/O pin on the target board.
4.5 Freeze Mode
The MPLAB ICE 2000 system allows the option of
“freezing” peripheral operation or allowing them to
continue operating when the processor is halted. This
option is configured in the MPLAB IDE. The Freeze
function is available on all processor modules except
the PCM16XA0.
This function is useful to halt an on-board timer while at
a break point. At a break point and while single
stepping, interrupts are disabled.
5.0 DEVICE ADAPTER ISSUES
This section details processor-specific considerations
that have been made on device adapters. Only
adapters with special considerations are listed.
There will be a max of 10 mA of current draw from the
target system even when the emulator processor mod-
ule is being powered by the emulator system, and
running internal clock. This is due to components on
the device adapter being powered by the target board.
2004 Microchip Technology Inc. DS51140J-page 5
Processor Module and Device Adapter Specification
5.1 DVA12XP080
5.2 DVA12XP081
This device adapter is intended for use with PIC12C50X
8-pin DIP devices. It has four mechanical switches that
allow target pins GP2 to GP5 to be routed to the emulator
silicon on the PCM16XA0 processor module or the
oscillator chip on the device adapter, as shown in Table 5-1.
In addition, a 24C00 EEPROM (U1) is connected to
RA0 and RA1 of the emulator silicon to support the
EEPROM capabilities of the PIC12CE51X family devices.
For information on how to use EEPROM memory, see the
MPLAB IDE on-line device-specific limitations for the
PCM16XA0 (PIC12CE518/519) devices by selecting
Debugger>Settings
, clicking the Limitations tab, and then
clicking the Details button.
TABLE 5-1: DVA12XP080 DEVICE ADAPTER SWITCH ASSIGNMENT
Desired Function Switch Positions
RB2 Set S4 to RB2
RB3 Set S3 to RB3
RB4 Set S2 to RB4
RB5 Set S1 to RB5
MCLR
Set S3 to MCLR
External Oscillator Input Set S1 to OSC1 and
set S2 to OSC2
TIMER0 Clock Input Set S4 to T0CKI
This device adapter is intended for use with PIC12C67X
8-pin DIP devices. It has two mechanical switches that
allow target pins GP4 and GP5 to be routed to the emulator
silicon on the PCM12XA0 processor module or the
oscillator device on the device adapter, as shown in
Table 5-2.
TABLE 5-2: DVA12XP081 DEVICE ADAPTER SWITCH ASSIGNMENT
Desired Function Switch Positions
GP4 Set S2 to GP4
GP5 Set S1 to GP5
External Oscillator Input Set S1 to OSC1 and
set S2 to OSC2
MPLAB
®
ICE 2000
DS51140J-page 6 2004 Microchip Technology Inc.
5.3 DVA14XP280
5.4 DVA16XP140
This device adapter is intended for use with the PIC14000
28-pin DIP device. It has two mechanical switches that
allow target pins OSC1 and OSC2 to be routed to the
emulator silicon on the PCM14XA0 processor module or
the oscillator device on the device adapter, as shown in
Table 5-3.
TABLE 5-3: DVA14XP280 DEVICE ADAPTER SWITCH ASSIGNMENT
Desired Function Switch Position
IN Mode Set S1 to OSC2INT
Set S2 to OSC1INT
HS Mode Set S1 to OSC2EXT
Set S2 to OSC1EXT
This device adapter is intended for use with the PIC16C505
14-pin DIP device. It has four mechanical switches. Two of
the switches allow target pins RB4 and RB5 to be routed to
the emulator silicon on the PCM16XA0 processor module or
the oscillator device on the device adapter. The other two
switches control the routing of RB3 and RC5 signals. RB3
can be a general-purpose input or MCLR
. RC5 can be a
general purpose I/O or can drive the TOCKI input, as shown
in Table 5-4.
TABLE 5-4: DVA16XP140 DEVICE ADAPTER SWITCH ASSIGNMENT
Desired Function Switch Positions
RC5 Set S4 to RC5
RB3 Set S3 to RB3
RB4 Set S2 to RB4
RB5 Set S1 to RB5
MCLR
Set S3 to MCLR
External Oscillator Input Set S1 to OSC1 and
set S2 to OSC2
TIMER0 Clock Input Set S4 to T0CKI

PIC16C505/JW

Mfr. #:
Manufacturer:
Description:
IC MCU 8BIT 1.5KB EPROM 14CDIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union