Preserve a Program Memory Range
By default, all program memory is erased during each programming cycle.
To prevent a range of program memory from being erased:
1
Open Project Properties window.
2
Check the box next to Preserve Program Memory
3
Specify addresses for Preserve Program Memory Start and Preserve Program Memory End.