Information
© 2010 Microchip Technology Inc. DS70152H-page 13
dsPIC33F/PIC24H PROGRAMMING SPECIFICATION
BWRP FBS Boot Segment Program Memory Write Protection
1 = Boot Segment program memory is not write-protected
0 = Boot Segment program memory is write-protected
RSS<1:0> FSS Secure Segment Data RAM Code Protection
11 = No Data RAM is reserved for Secure Segment
10 = Small-Sized Secure RAM
[(256
– N) bytes of RAM are reserved for Secure Segment in all other devices.]
01 = Medium-Sized Secure RAM
[(2048
– N) bytes of RAM are reserved for Secure Segment in all other devices.]
00 = Large-Sized Secure RAM
[(4096
– N) bytes of RAM are reserved for Secure Segment in all other devices.]
where N = Number of bytes of RAM reserved for Boot Sector.
Note 1: If the defined Boot Segment size is greater than or equal to the defined
Secure Segment, then the Secure Segment size selection has no effect
and the Secure Segment is disabled.
SSS<2:0> FSS Secure Segment Program Memory Code Protection
111 = No Secure Segment
110 = Standard security, Small-sized Secure Program Flash
[Secure Segment ends at 0x001FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x003FFF in other
devices.]
101 = Standard security, Medium-sized Secure Program Flash
[Secure Segment ends at 0x003FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x007FFF in other
devices.]
100 = Standard security, Large-sized Secure Program Flash
[Secure Segment ends at 0x007FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x00FFFF in other
devices.]
011 = No Secure Segment
010 = High security, Small-sized Secure Program Flash
[Secure Segment ends at 0x001FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x003FFF in other
devices.]
001 = High security, Medium-sized Secure Program Flash
[Secure Segment ends at 0x003FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x007FFF in other
devices.]
000 = High security, Large-sized Secure Program Flash
[Secure Segment ends at 0x007FFF for dsPIC33FJ64GPXXX/
dsPIC33FJ64MCXXX/PIC24HJ64GPXXX devices, and at 0x00FFFF in other
devices.]
SWRP FSS Secure Segment Program Memory Write Protection
1 = Secure Segment program memory is not write-protected
0 = Secure Segment program memory is write-protected
GSS<1:0> FGS General Segment Code-Protect bit
11 = Code protection is disabled
10 = Standard security code protection is enabled
0x = High security code protection is enabled
GWRP FGS General Segment Write-Protect bit
1 = General Segment program memory is not write-protected
0 = General Segment program memory is write-protected
TABLE 3-2: dsPIC33F/PIC24H CONFIGURATION BITS DESCRIPTION (CONTINUED)
Bit Field Register Description