I'm attempting to use the the end of program space as some data storage.  Carefully going through the testing steps :

18F4682, 8MHz

ProgramErage(65280) works.
ProgramWrite(65280, 0) generates a compiler error:

Error: GCASM: Symbol EEDATH has not been defined

Also, This PIC has 80K of Program space, but it looks as if the ProgramRead and ProgramWrite commands can only access 64K.. Can you confirm this?  I can work around it, relocating code, etc.. Just wondering if there's something I'm missing…

Thanks Hugh!

Dan Damron
VE6IBM