INTERNAL EEPROM

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

Moderator: Benj

Genilsonsa
Posts: 150
Joined: Mon Oct 15, 2012 5:19 pm
Has thanked: 12 times
Been thanked: 18 times
Contact:

INTERNAL EEPROM

Postby Genilsonsa » Thu Mar 19, 2020 10:08 pm

hello to everyone I would like to use the internal Eeprom of the chip with flowcode 6, I write very well at address 0 with the value 10, but when I restart the Chip I always read it starting at 0. Can someone please help me ?? I remember having already done a project with Flowcode 5 using the internal memory and it worked very well.
Attachments
EEPROM.fcfx
(9.53 KiB) Downloaded 17 times

User avatar
Benj
Matrix Staff
Posts: 14786
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4750 times
Been thanked: 4358 times
Contact:

Re: INTERNAL EEPROM

Postby Benj » Fri Mar 20, 2020 12:00 pm

Hello,

The EEPROM component initialiser property sets the initial value of address 0 to 0. Your EEVal count value is also initialised to 0.

Hope this helps.
These users thanked the author Benj for the post:
Genilsonsa (Fri Mar 20, 2020 10:12 pm)
Rating: 5%
 

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

Re: INTERNAL EEPROM

Postby AbhijitR » Fri Mar 20, 2020 12:20 pm

Hello!

In my opinion you should delete the existing data (0,1,0x2,0x03,'A','b',"Hello") from the EEPROM-->Properties-->Initial Values.
And I notice you read "dado" and also display the same on the screen on second line, I think if you want to see the last value saved in the EEPROM then instead of "dado" you should call "EEVal" and show the same.

I hope I understood your point.

Abhi
These users thanked the author AbhijitR for the post (total 3):
Genilsonsa (Fri Mar 20, 2020 10:13 pm) • medelec35 (Sat Mar 21, 2020 3:32 am) • Benj (Mon Mar 23, 2020 10:41 am)
Rating: 15%
 

Genilsonsa
Posts: 150
Joined: Mon Oct 15, 2012 5:19 pm
Has thanked: 12 times
Been thanked: 18 times
Contact:

Re: INTERNAL EEPROM

Postby Genilsonsa » Fri Mar 20, 2020 10:16 pm

Resolved, AbhijitR and Benj thanks for helping me. Thankful and no more.
These users thanked the author Genilsonsa for the post:
Benj (Mon Mar 23, 2020 10:40 am)
Rating: 5%