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
16F628A EEPROM compile error.
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
16F628A EEPROM compile error.
- Attachments
-
- 16F628A_EEPROM test.fcf
- (8 KiB) Downloaded 455 times
-
- 16F628A.fcd
- (10.4 KiB) Downloaded 463 times
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 16F628A EEPROM compile error.
It has just been confirmed, using the attached fcd file will allow EEPROM to work on 16F628A hardware without any issues.
Martin
Martin
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 16F628A EEPROM compile error.
Cheers Martin,
I will add this information to my working set of FCD files.
I will add this information to my working set of FCD files.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: 16F628A EEPROM compile error.
Your welcome mauro.mauro wrote:Thank you Martin,
Checked on hardware... all ok..
Thanks for confirming fix works on hardware.
Martin
Martin