PIC12F1612 has no EEPROM.
It does have Flash Memory (PFM).
Can you please indicate how to use this memory?
I did not find a component in Flowcode 8
High-Endurance Flash in pic12f1612
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: High-Endurance Flash in pic12f1612
Hi.
I am quite sure that there is no component to handle Flash writes however one of the forum users might have something to help you
as far as I know you can do it in a C code icon with C code
I am quite sure that there is no component to handle Flash writes however one of the forum users might have something to help you
as far as I know you can do it in a C code icon with C code
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- 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: High-Endurance Flash in pic12f1612
I've had a stab at adding it in Flowcode v9, it's been a while since I did it so not sure how well implemented it got but it certainly was working on some devices.
What compiler / software are you using?
What compiler / software are you using?
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: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: High-Endurance Flash in pic12f1612
The devices that use Flash for storage , use what is known as SAF (Storage Area Flash) .
That was implemented by Ben on the PIC16F15xxx range of devices.
In order to get the EPPROM component to work with those devices, The SAF enable within configuration settings must be set to enable.
However the pic12f1612 is different in the fact that is does not have SAF but High-Endurance Flash as already mentioned.
Ben would know, but the code that was created for SAF ,I don't believe would be compatible.
Therefore would have to be started from scratch.
That was implemented by Ben on the PIC16F15xxx range of devices.
In order to get the EPPROM component to work with those devices, The SAF enable within configuration settings must be set to enable.
However the pic12f1612 is different in the fact that is does not have SAF but High-Endurance Flash as already mentioned.
Ben would know, but the code that was created for SAF ,I don't believe would be compatible.
Therefore would have to be started from scratch.
Martin