Hot!Programming 18LF1320 at 3.6 volts - Row Erase?

Author
tunelabguy
Super Member
  • Total Posts : 1685
  • Reward points : 0
  • Joined: 2005/04/03 08:30:19
  • Location: Hopkins, MN USA
  • Status: offline
2017/08/10 15:04:51 (permalink)
0

Programming 18LF1320 at 3.6 volts - Row Erase?

(Sorry - posted to the wrong forum.  I meant to post in Microcontrollers.)
 
I need to program my 18LF1320 in a circuit that includes components (a RN4871) that cannot tolerate more than 3.6 volts.  Unfortunately the 18LF1320 does not bulk erase reliably below 4.5 volts, according to the programming specs.  I am at the early development stage, so there will be lots of erase/program cycles for a while.
 
I am currently using an ICD-3 with MPLAB to do the programming.  I have heard that a Row Erase can be done down to 2.0 volts, but I don't see any way to make the ICD-3 use Row Erase when programming.  Is there another programming device I can buy that can be forced to use Row Erase?  Or is there a way to make the ICD-3 do it?  Please do not suggest diodes or jumpers between my PIC and the rest of the circuit.  There are too many interconnections for that to be practical, and I want to keep the total circuit area as small as possible.
post edited by tunelabguy - 2017/08/10 15:08:56

Robert Scott
Hopkins, MN
 
#1

5 Replies Related Threads

    qhb
    Superb Member
    • Total Posts : 5512
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: Programming 18LF1320 at 3.6 volts - Row Erase? 2017/08/10 15:19:59 (permalink)
    #2
    NorthGuy
    Super Member
    • Total Posts : 4396
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Programming 18LF1320 at 3.6 volts - Row Erase? 2017/08/10 15:35:38 (permalink)
    3 (1)
    tunelabguy
    Is there another programming device I can buy that can be forced to use Row Erase?



    NSDSP can do it: http://www.northernsoftware.com/dev/pic18lf/pic18lf1320.htm
     
    Scroll down to "Target voltage below 4.5V".
     
    Note that it won't work if the device is code protected - removing protection requires bulk erase.
    #3
    NorthGuy
    Super Member
    • Total Posts : 4396
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Programming 18LF1320 at 3.6 volts - Row Erase? 2017/08/10 15:39:22 (permalink)
    0
    Something really wrong happened to my account so I hardly can post anything.
     
    Wanted to add a note - NSDSP is LVP only.
    #4
    tunelabguy
    Super Member
    • Total Posts : 1685
    • Reward points : 0
    • Joined: 2005/04/03 08:30:19
    • Location: Hopkins, MN USA
    • Status: offline
    Re: Programming 18LF1320 at 3.6 volts - Row Erase? 2017/08/12 15:23:10 (permalink)
    3 (1)
    NorthGuy
     
    Wanted to add a note - NSDSP is LVP only.




    Well, that is a real bummer!  I have been avoiding LVP like the plague, based on the warnings I have heard about accidental programming when LVP is enabled.

    Robert Scott
    Hopkins, MN
     
    #5
    NorthGuy
    Super Member
    • Total Posts : 4396
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Programming 18LF1320 at 3.6 volts - Row Erase? 2017/08/12 18:32:18 (permalink)
    4 (2)
    tunelabguy
    I have been avoiding LVP like the plague, based on the warnings I have heard about accidental programming when LVP is enabled.



    Unfounded. There are some ancient PICs (like yours) with a PGM pin. These PICs require that the PGM pin be grounded when LVP is enabled. However, some of them have errata and the PGM pin has to be grounded even with LVP disabled. IMHO, PGM pin isn't a good idea because of a different reason - you don't really want to sacrifice a pin without good reason. 
     
    But modern PICs (anything less than about 10 years old) don't have the PGM pin.
    #6
    Jump to:
    © 2017 APG vNext Commercial Version 4.5