Save EEprom

General discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
igeorge
Posts: 593
Joined: 28 Dec 2005 09:15

Save EEprom

#1 Post by igeorge » 14 Mar 2020 03:19

I am using easyPic V7 and Pic18F46K22.
Everytime i program from easypic, the eeprom is erased.
What to do to protect eeprom during programing only.
The eeprom it might get written during the run of the program, but i do not want to be erased when i program the chip again.
Thank you
Experience is something you don't get until just after you need it

hexreader
Posts: 1786
Joined: 27 Jun 2010 12:07
Location: England

Re: Save EEprom

#2 Post by hexreader » 14 Mar 2020 03:32

If you are using mikroProg:

Run the mikroProg utility stand-alone

Select your PIC and load your hex file

Clear "Load/Save" data tick box

Click on "options"

tick "preserve data"

click "write"
Last edited by hexreader on 14 Mar 2020 03:38, edited 1 time in total.
Start every day with a smile...... (get it over with) :)

igeorge
Posts: 593
Joined: 28 Dec 2005 09:15

Re: Save EEprom

#3 Post by igeorge » 14 Mar 2020 03:35

Thank you
Works
Experience is something you don't get until just after you need it

Post Reply

Return to “mikroBasic PRO for PIC General”