To patch data into the EEPROM of a Microchip pic device, some special circumstances of the Microchip IDE have to be considered. A good starting point is a look into the generated HEX file.