
Originally Posted by
Luciano
Alain,
The oscillator speed of your PIC is 20MHz.
Can you try to change "DEFINE OSC 20" in "DEFINE OSC 25" and flash
the PIC running at 20 MHz with this code? If you try that you will
probably increase the EEPROM writing time and see if ONE write is
enough. This is just a test.
Best regards,
Luciano
EDIT:
Are you absolutely sure that the oscillator speed is correct?
-
Hi,Luciano
Sorry, but that won't give anything ... as the EEPROM writing time is controlled by the PIC Hardware ...
For the Osc speed, it's correct : 1.52 ms input signals give ( 279 + 7H ) Hex.
( EEPROM addresses are: 01 high byte, 02 low byte, and 30 Offset )
Thanks for the idea ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks