I am using:

Pic Basic Pro 2.50 with patch 250b installed and all working OK.

My MCU chip is a PIC18F8722 and I need to read/write to an I2C EEPROM (24LC32) with a 400KHz clock frequency.

1. Using DEFINE OSC 10 i.e. run at 10 MHz - all is OK and the EEPROM happily reads and writes.

2. Using DEFINE OSC 40 ie. run at 40 MHz and programming with HSPLL- lots of garbled data .

3. Using DEFINE I2C_SLOW does not work either ?

4. I have PAUSE 10 after all read/writes and I'm only doing one read/write at a time.

HELP! Any ideas?

Regards Bill Legge