Datasheet
dsPIC33FJ32MC202/204 and dsPIC33FJ16MC304
DS70283K-page 218 © 2007-2012 Microchip Technology Inc.
21.8 Code Protection and
CodeGuard™ Security
The dsPIC33FJ32MC202/204 and
dsPIC33FJ16MC304 devices offer the intermediate
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, Code-
Guard™ Security can be used to securely update Flash
even when multiple IPs reside on the single chip.
The code protection features are controlled by the
Configuration registers: FBS and FGS.
Secure segment and RAM protection is not
implemented in dsPIC33FJ32MC202/204 and
dsPIC33FJ16MC304 devices.
TABLE 21-3: CODE FLASH SECURITY
SEGMENT SIZES FOR
32 KBYTE DEVICES
TABLE 21-4: CODE FLASH SECURITY
SEGMENT SIZES FOR
16 KBYTE DEVICES
Note: Refer to Section 23. “CodeGuard™
Security” (DS70199) in the
“dsPIC33F/PIC24H Family Reference
Manual” for further information on usage,
configuration and operation of
CodeGuard Security.
CONFIG BITS
BSS<2:0>=x11
0K
BSS<2:0>=x10
256
BSS<2:0>=x01
768
BSS<2:0>=x00
1792
0x0057FE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
GS = 11008 IW
0x003FFE
0x004000
0x0057FE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
0x003FFE
0x004000
GS = 10240 IW
BS = 768 IW
0x0057FE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
0x003FFE
0x004000
GS = 7168 IW
BS = 3840 IW
0x0057FE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
GS = 3072 IW
0x003FFE
0x004000
BS = 7936 IW
CONFIG BITS
BSS<2:0>=x11
0K
BSS<2:0>=x10
256
BSS<2:0>=x01
768
BSS<2:0>=x00
1792
0x002BFE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
GS = 5376 IW
0x002BFE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
GS = 4608 IW
BS = 768 IW
0x002BFE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
GS = 1536 IW
BS = 3840 IW
0x002BFE
0x0001FE
0x000200
0x000000
VS = 256 IW
0x0007FE
0x000800
0x001FFE
0x002000
BS = 5376 IW