High-Endurance Flash in pic12f1612

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
JustinS
Flowcode v5 User
Posts: 40
Joined: Wed Sep 12, 2012 1:59 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

High-Endurance Flash in pic12f1612

Post 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 :(

User avatar
QMESAR
Valued Contributor
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

Post 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

User avatar
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

Post 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?

medelec35
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

Post 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.
Martin

Post Reply