Page 1 of 1

High-Endurance Flash in pic12f1612

Posted: Thu Oct 22, 2020 10:28 am
by JustinS
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 :(

Re: High-Endurance Flash in pic12f1612

Posted: Fri Dec 11, 2020 9:30 am
by QMESAR
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

Re: High-Endurance Flash in pic12f1612

Posted: Fri Dec 11, 2020 1:37 pm
by Benj
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?

Re: High-Endurance Flash in pic12f1612

Posted: Fri Dec 11, 2020 9:18 pm
by medelec35
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.