Re: Emulating I2C EEPROM for debugging
There have been requests that Microchip provide simulation objects for common peripheral chips like I2C RTCC chips, EEPROMS, temperature sensors and others for at least 20 years.
The simulation tools group has enough trouble getting a simulator that barely works some of the time. There are what I consider bugs in the simulation models for almost all of the 8-bit PIC controllers supported by the Microchip simulator. I would approach with fear and dead anything they would produce that is not actually built in to the silicon.
My petty sniping aside, it is possible to do what you suggest within the Simulation Control Language(SCL) but this is poorly documented with MLPABX and not documented at all in MLPAB v8.xx. I did use the SCL in MPLAB v8.xx for a project and it definitely was not worth the effort.
I have not seen anyone post an SCL simulation model on this forum so I doubt there is any interest in someone doing this for you.
You could just be glad you have working real hardware.