5.7.5.6 xc-dsc-ld - Code Guard Category

Table 5-14. Code Guard Options
OptionDescriptionCommand Line
Boot RAMSpecify the boot RAM segment: none, small, medium or large.--boot=option_ram
Boot FlashSpecify the boot Flash segment: none, small, medium, or large standard or none, small, medium, or large high.--boot=option_flash_std

--boot=option_flash_high

Boot EEPROMSpecify the boot EEPROM segment.--boot=eeprom
Boot write-protectSpecify the boot write protected segment.--boot=write_protect
Secure RAMSpecify the secure RAM segment: none, small, medium or large.--secure=option_ram
Secure FlashSpecify the secure Flash segment: none, small, medium, or large standard or none, small, medium, or large high.--secure=option_flash_std

--secure=option_flash_high

Secure EEPROMSpecify the secure EEPROM segment.--secure=eeprom
Secure write-protectSpecify the secure write protected segment.--secure=write_protect
General write-protectSpecify the general write protected segment.--general=write_protect
General code-protectSpecify the secure code protected segment: standard or high.--general=code_protect_std

--general=code_protect_high

For more information on CodeGuard™ options, see “Options that Specify CodeGuard Security Features” in the “MPLAB® XC-DSC Assembler, Linker and Utilities User’s Guide for dsPIC33C/E/F and dsPIC30 DSC” (DS-50003590).
Note: Not all development tools support CodeGuard programming. See tool documentation for more information.