Re: Flash Program Memory on PIC16F1768 causing crashes?
The report file from the linker have all that information.
it have a name something like 'projectname'.map
It is in one of the subdirectories created by MPLAB.
One way is to declare a const array with the size and address of the area to be reserved,
There is a section about this in C Compiler User's Guide:
22.214.171.124 ABSOLUTE OBJECTS IN PROGRAM MEMORY
When such an area is declared, the linker will know, and avoid overwriting.
There may be a side-effect that Linker may want to initialize or clear such an area.
You may try with something like:
extern const int Dummy[0x70] __at(0xAD0)