• AVR Freaks

Hot!Program fails verify when done with IPE - PIC24FJ64GA702

Author
user2x
Super Member
  • Total Posts : 445
  • Reward points : 0
  • Joined: 2011/02/10 20:43:36
  • Location: 0
  • Status: offline
2020/09/21 19:03:40 (permalink)
0

Program fails verify when done with IPE - PIC24FJ64GA702

I use the MPLAB IPE  to program a .hex fuile into this chip.
 
I then use the same setup to verify.
 
I always get a verify failure on 
 

program memory
Address: 100 Expected Value: 20adcf Received Value: 0

 
According to the .map file, that address contains?
0x000100                  __resetPRI
 
Is this normal or why am I getting this failure?
 
#1

6 Replies Related Threads

    user2x
    Super Member
    • Total Posts : 445
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/21 19:41:48 (permalink)
    0
    I will attempt to answer this myself.
    Perhaps someone can confirm?
     
    I have the config setting:

    #pragma config GSS = STNDRD

     
     
    That is general segment protection = standard.
    I am now assuming that is causing the verify to fail.
     
     
     
    #2
    NorthGuy
    Super Member
    • Total Posts : 6407
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/21 20:55:30 (permalink)
    5 (1)
    user2x
    I am now assuming that is causing the verify to fail.



    Unlikely. The programmer should verify before protecting.
     
     
    There are two most probable causes:
     
    - a connection issue. For example, some noise on PGC produces an extra clock and derails the process
     
    or
     
    - some sort of firmware/IPE problem
    #3
    user2x
    Super Member
    • Total Posts : 445
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/21 21:09:12 (permalink)
    0
    I meant a manual verify after programming.
     
     
     
     
    #4
    ric
    Super Member
    • Total Posts : 28975
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/21 22:20:28 (permalink)
    4 (1)
    It should do a verify at the end of the program pass, BEFORE writing the CONFIG bits.
    As you say, if you try to do a manual verify later, and if you have enabled protection, it aint gonna work...

    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
    NorthGuy
    Super Member
    • Total Posts : 6407
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/22 05:49:50 (permalink)
    4 (1)
    user2x
    I meant a manual verify after programming.



    The goal of protection is to prevent reading. If programmer could verify, this would be a failure of the protection.
    #6
    user2x
    Super Member
    • Total Posts : 445
    • Reward points : 0
    • Joined: 2011/02/10 20:43:36
    • Location: 0
    • Status: offline
    Re: Program fails verify when done with IPE - PIC24FJ64GA702 2020/09/22 15:04:56 (permalink)
    0
    Yep.
    #7
    Jump to:
    © 2020 APG vNext Commercial Version 4.5