• AVR Freaks

Hot!How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE

Author
shuimianbao
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2013/05/26 23:34:39
  • Location: 0
  • Status: offline
2019/06/18 18:39:29 (permalink)
0

How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE

Hi all,
I had stored some calibration data in High Endurance Flash. so when I re-program the new code, I hope the data can be presrved.
In IPE, I unselect the Erase All before Program in Setting menu, Manual select the range of Program Memory Range and Preserve Flash on Program in MEMORY SETTINGS TAB. But the High Endurance Flash area was still been erased.
I didn't find any other setting in IPE. Can anyone give some hints??
Thank you very much.
#1

5 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 17485
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE 2019/06/18 18:47:02 (permalink)
    0
    What version of MPLabX?
    #2
    shuimianbao
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2013/05/26 23:34:39
    • Location: 0
    • Status: offline
    Re: How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE 2019/06/18 18:57:40 (permalink)
    0
    V5.1
    #3
    shuimianbao
    New Member
    • Total Posts : 5
    • Reward points : 0
    • Joined: 2013/05/26 23:34:39
    • Location: 0
    • Status: offline
    Re: How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE 2019/06/18 23:13:12 (permalink)
    0
    Dose someone have the same situation?
    #4
    ric
    Super Member
    • Total Posts : 22647
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE 2019/06/18 23:22:55 (permalink)
    +1 (1)

    Manual select the range of Program Memory Range and Preserve Flash on Program in MEMORY SETTINGS TAB.

    What exactly did you put in those fields?
    (A screen capture would be good)
     
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #5
    Danno
    Super Member
    • Total Posts : 259
    • Reward points : 0
    • Joined: 2005/09/07 10:12:10
    • Status: offline
    Re: How to preserve the High Endurance Flash in PIC16F1778 when program new code in IPE 2019/06/25 15:23:10 (permalink)
    0
    In IPE, go to advanced mode (On the Settings drop down).
    Select the Memory tile on the left.
    Click on "Preserve Program Memory on Program" and provide the range.
     
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 4.5