By default, the entire program memory range will be selected.
To restrict programming to a specific range of program memory:
Open Project Properties window.
Check the box next to Program Memory
Specify addresses for Program Memory Start and Program Memory End.
To prevent any program memory location from being programmed:
Uncheck the box next to Program Memory
The address range does not apply to the Erase function. The Erase function will erase all data on the device unless it is set to be preserved as described in the next section.