EEPROM on 18F27J13

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
ianjoh
Posts: 41
Joined: Tue Nov 13, 2018 11:53 am
Has thanked: 2 times
Contact:

EEPROM on 18F27J13

Post by ianjoh »

Hi all
Just delving into the world of onboard storage and learning about it so I can use it in a project but have got stuck at the first hurdle. From the wiki I have downloaded the FC for a 16F877A and it runs in simulation but when I port it to my favourite 18F27J13 (only because it is set up and running other projects!) it will not run in simulation. It will read but not write to the EEPROM, not a chance of it compiling either!
There may be something in the settings I may have missed.
Thanks Ian
Attachments
EEPROM 18f27j13.fcfx
(9.8 KiB) Downloaded 117 times

User avatar
AbhijitR
Posts: 298
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 279 times
Been thanked: 78 times
Contact:

Re: EEPROM on 18F27J13

Post by AbhijitR »

Hello! Ian

If i have not mistaken this chip (PIC18F27J13) do not have onboard EEPROM.

Abhi
Attachments
PIC18F27J13_Info.JPG
PIC18F27J13_Info.JPG (54.44 KiB) Viewed 1775 times
PIC16F877A_Info.JPG
PIC16F877A_Info.JPG (36.23 KiB) Viewed 1775 times

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: EEPROM on 18F27J13

Post by medelec35 »

Hi Ian,
Abhi is indeed correct.
If you go to the main Flowcode v9 website, then select Embedded from the top menus.
You can then scroll down to supported embedded devices.
Enter partial (or full) microcontroller you're intrusted in:
Embedded Devices1.png
Embedded Devices1.png (137.46 KiB) Viewed 1762 times
Just enter 18f to compare all the compatible 18f devices etc.
You can see from the table, your device does not have EEPROM.
There is one exception to the EEPROM available.
I requested for EEPROM on the 16F153xx series as they use SAF (Storage Area Flash)
As I already had working C code, that was added as they are very good devices.
I will have a word about that with matrix to perhaps show a star when SAF is used for EEPROM
You could request EEPROM to be added but my guess is won't happen for FC v8?
These devices just have a rewritable flash program memory.
Or select a different target device.
Martin

ianjoh
Posts: 41
Joined: Tue Nov 13, 2018 11:53 am
Has thanked: 2 times
Contact:

Re: EEPROM on 18F27J13

Post by ianjoh »

Ah! that'll be why...
Partly assumed that a pic with lots of bells and whistles would have it and also confused with the flash memory that can be written to whilst the code is running. I need to read up about the differences between them.
I will also have a look at the V9
Thanks all your for help, this forum never lets me down!

Ian

Post Reply