How Do I Use High-Endurance Flash for Data, Not Code?

For devices that implement High-endurance Flash memory in the program memory space, the memory will need to be reserved so that the compiler does not use it for executable code (see How Do I Stop The Compiler From Using Certain Memory Locations?). Your device data sheet will indicate if your device has this memory implemented.