16F628A EEPROM compile error.
Posted: Sun Sep 25, 2011 2:49 pm
When using EEPROM component, flowchart does not successfully compile.
So I changed Define3=#define MX_EE_TYPE3
to
Define3=#define MX_EE_TYPE1
within attached 16F628A.fcd
Now flowchart compiles OK.
Unable to test with real hardware as I was PM'd by someone who could not compile flowchart, so I have not got correct chip to test with.
However It works in the simulator I use for testing.
Would someone who has 16F628A mind testing solution and confirm if works on real hardware please.
The test flowchart:
If EEPROM is reading and writing OK, then LEDS connected to RA0 and RA1 will both change state after 2 seconds.
LED connected to RA2 is just flashing at 1Hz to test configuration settings and OSC speed are correct.
Thanks
Martin
So I changed Define3=#define MX_EE_TYPE3
to
Define3=#define MX_EE_TYPE1
within attached 16F628A.fcd
Now flowchart compiles OK.
Unable to test with real hardware as I was PM'd by someone who could not compile flowchart, so I have not got correct chip to test with.
However It works in the simulator I use for testing.
Would someone who has 16F628A mind testing solution and confirm if works on real hardware please.
The test flowchart:
If EEPROM is reading and writing OK, then LEDS connected to RA0 and RA1 will both change state after 2 seconds.
LED connected to RA2 is just flashing at 1Hz to test configuration settings and OSC speed are correct.
Thanks
Martin