Page 1 of 1

16F628A EEPROM compile error.

Posted: Sun Sep 25, 2011 2:49 pm
by medelec35
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

Re: 16F628A EEPROM compile error.

Posted: Mon Sep 26, 2011 8:54 am
by medelec35
It has just been confirmed, using the attached fcd file will allow EEPROM to work on 16F628A hardware without any issues.

Martin

Re: 16F628A EEPROM compile error.

Posted: Mon Sep 26, 2011 9:56 am
by Benj
Cheers Martin,

I will add this information to my working set of FCD files.

Re: 16F628A EEPROM compile error.

Posted: Mon Sep 26, 2011 1:23 pm
by medelec35
No problem Ben.
So long as it helps.

Martin

Re: 16F628A EEPROM compile error.

Posted: Tue Sep 27, 2011 8:09 pm
by mauro
Thank you Martin,

Checked on hardware... all ok.. :D

Re: 16F628A EEPROM compile error.

Posted: Tue Sep 27, 2011 8:15 pm
by medelec35
mauro wrote:Thank you Martin,

Checked on hardware... all ok.. :D
Your welcome mauro.
Thanks for confirming fix works on hardware.

Martin