Thanks for the link Raflex, but I want to write to PIC internal eeprom, so the program inside the PIC can access the value and run the program accordingly.