Datasheet

© 2008-2012 Microchip Technology Inc. DS70318F-page 271
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
21.8 Code Protection and
CodeGuard™ Security
The dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 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 (IP) 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 a single chip.
TABLE 21-3: CODE FLASH SECURITY
SEGMENT SIZES FOR
6-Kbyte DEVICES
The code protection features are controlled by the
Configuration registers: FBS and FGS.
Secure segment and RAM protection is not implemented
in dsPIC33FJ06GS101/X02 and
dsPIC33FJ16GSX02/X04 devices.
TABLE 21-4: CODE FLASH SECURITY
SEGMENT SIZES FOR
16-Kbyte DEVICES
Configuration Bits
BSS<2:0> = x11
0K
BSS<2:0> = x10
256
BSS<2:0> = x01
768
BSS<2:0> = x00
1792
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
GS = 1792 IW
000FFEh
001000h
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
000FFEh
001000h
GS = 1536 IW
BS = 256 IW
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
000FFEh
001000h
GS = 1024 IW
BS = 768 IW
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
000FFEh
001000h
BS = 1792 IW
Note: Refer to Section 23. “CodeGuard™
Security” (DS70199) for further informa-
tion on CodeGuard Security usage, con-
figuration and operation.
Configuration Bits
BSS<2:0> = x11
0K
BSS<2:0> = x10
256
BSS<2:0> = x01
768
BSS<2:0> = x00
1792
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
GS = 5376 IW
000FFEh
001000h
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
000FFEh
001000h
GS = 5120 IW
BS = 256 IW
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
000FFEh
001000h
GS = 4608 IW
BS = 768 IW
002BFEh
0001FEh
000200h
000000h
VS = 256 IW
0003FEh
000400h
0007FEh
000800h
GS = 3584 IW
000FFEh
001000h
BS = 1792 IW