Working on reading/writing functions for accessing the PIC24's flash memory.  So far I have managed to successfully write a 16-bit integer to a location in flash memory.  However, after performing this operation, the PIC24 cannot read the initial value from the RA8875 to make sure it's connected and powered up.  Something's wrong, it may be that I am writing over an important piece of program memory and corrupting my own program.