• AVR Freaks

IPE V1.4 - Program memory options

New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2011/08/20 05:57:29
  • Location: 0
  • Status: offline
2012/09/11 06:13:29 (permalink)

IPE V1.4 - Program memory options

Two small quires,
1.When trying to programme a device with the IPE V1.4, I get the following message......

You are trying to change protected boot memory.
In order to do this you must select the "Boot, Secure and General Segments" option on the debug tool Secure Segment properties page.
Failed to program device
Does anybody know how to change the settings as you would with MPLABx to allow programming of protected memory?

2. Where can I find a manual for the IPE v1.4, the 'Help' -> 'User Guide' fails saying ' Failed to open the User Guide?'

2 Replies Related Threads

    Starting Member
    • Total Posts : 38
    • Reward points : 0
    • Joined: 2012/06/07 07:03:09
    • Location: 0
    • Status: offline
    Re:IPE V1.4 - Program memory options 2012/09/11 06:20:20 (permalink)
    I had the same question with 1.3 and no one could answer it.
    Super Member
    • Total Posts : 440
    • Reward points : 0
    • Joined: 2008/02/11 14:19:16
    • Location: 0
    • Status: offline
    Re:IPE V1.4 - Program memory options 2012/09/14 13:18:00 (permalink)
    The device is code protected and can't be erased or programmed without going to the Secure Segment properties page and indicating that you do indeed want to program over a code protected device. This is a security feature that is particular to some dsPIC/PIC24 devices. Unfortunately, the IPE does not support secure segment programming so the security check should not be made in the IPE (at least not until the support is added). We will look into this. In the mean time, you can erase the device in with MPLAB X. Erasing it will clear the code protection and allow you to program it in the IPE.
    Make sure to make the proper secure segment selection in MPLAB X before you try to erase the device or you will get the same warning you got in the IPE. To get to the secure segment property page in MPLAB X, click the debug tool node of the project properties. Then expand the Option Categories drop down box and select Secure Segment. From there, select the segments to be programmed. If you are trying to program all of program memory then you'll want the Boot, Secure and general segments.
    Jump to:
    © 2020 APG vNext Commercial Version 4.5