Microchip Technology MA330012 데이터 시트

다운로드
페이지 370
©
 2007 Microchip Technology Inc.
Preliminary
DS70165E-page 295
dsPIC33F
23.4
JTAG Interface
dsPIC33F devices implement a JTAG interface, which
supports boundary scan device testing, as well as
in-circuit programming. Detailed information on the
interface will be provided in future revisions of the
document.
23.5
Code Protection and 
CodeGuard™ Security
The dsPIC33F product families offer the advanced
implementation of CodeGuard™ Security. CodeGuard
Security enables multiple parties to securely share
resources (memory, interrupts and peripherals) on a
single chip. This feature helps protect individual
Intellectual Property in collaborative system designs.
When coupled with software encryption libraries,
CodeGuard™ Security can be used to securely update
Flash even when multiple IP are resident on the single
chip. The code protection features vary depending on
the actual dsPIC33F implemented. The following
sections provide an overview of these features.
The code protection features are controlled by the
Configuration registers: FBS, FSS and FGS.
23.6
 In-Circuit Serial Programming
dsPIC33F family digital signal controllers can be seri-
ally programmed while in the end application circuit.
This is simply done with two lines for clock and data
and three other lines for power, ground and the
programming sequence. This allows customers to
manufacture boards with unprogrammed devices and
then program the digital signal controller just before
shipping the product. This also allows the most recent
firmware or a custom firmware, to be programmed.
Please refer to the “dsPIC33F Flash Programming
Specification”
 (DS70152) document for details about
ICSP.
Any 1 out of 3 pairs of programming clock/data pins
may be used: 
• PGC1/EMUC1 and PGD1/EMUD1
• PGC2/EMUC2 and PGD2/EMUD2 
• PGC3/EMUC3 and PGD3/EMUD3
23.7
In-Circuit Debugger
When MPLAB
®
 ICD 2 is selected as a debugger, the
in-circuit debugging functionality is enabled. This func-
tion allows simple debugging functions when used with
MPLAB IDE. Debugging functionality is controlled
through the EMUCx (Emulation/Debug Clock) and
EMUDx (Emulation/Debug Data) pin functions. 
Any 1 out of 3 pairs of debugging clock/data pins may
be used: 
• PGC1/EMUC1 and PGD1/EMUD1
• PGC2/EMUC2 and PGD2/EMUD2 
• PGC3/EMUC3 and PGD3/EMUD3
To use the in-circuit debugger function of the device,
the design must implement ICSP connections to
MCLR, V
DD
, V
SS
, PGC, PGD and the EMUDx/EMUCx
pin pair. In addition, when the feature is enabled, some
of the resources are not available for general use.
These resources include the first 80 bytes of data RAM
and two I/O pins. 
Note:
Refer to GodeGuard Security Reference
Manual (DS70180) for further information
on usage, configuration and operation of
CodeGuard Security.