• AVR Freaks

Hot!Checksum feature seems broken on MPLAB X IPE v5.30

Author
lslonim@our3cats.com
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2020/01/17 06:19:44
  • Location: 0
  • Status: offline
2020/01/20 07:42:46 (permalink)
0

Checksum feature seems broken on MPLAB X IPE v5.30

Hi,
I'm using MPLAB X IPE v5.30 and it seems like the checksum feature on the screen does not work. The first time I load a HEX file it shows a number, then I change the HEX file and reload it and the 32 bit checksum does not change. Interestingly, the 64 bit CRC does change. The checksum is a more convenient number for me to use. Is there a way to get it to update, or am I missing something basic? If it matters I'm using it with a PM3 programmer, but that's not involved in loading the file into IPE.
Thanks,
Lloyd
#1

9 Replies Related Threads

    tech24x7
    Junior Member
    • Total Posts : 100
    • Reward points : 0
    • Joined: 2013/10/14 21:38:52
    • Location: 0
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/21 20:51:04 (permalink)
    0
    Hi Lloyd,
    It seems it works for me with v5.30, I tried using 2 hex images with different checksum.
    1) Load 1st Hex - CSM updated on screen (Both CRC32 and Checksum)
    2) Load 2nd Hex - CSM updated on screen  (Both CRC32 and Checksum)
     
    I tried loading hex with both import menu and browse button. If possible you can create a dummy hex and share it with the device name. Will look into it.
     
    Note: You are right, Tool doesn't matter for this use case.   
    #2
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11982
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/21 21:50:02 (permalink)
    0
    How different are your hex files?  Slightly different files might have the same checksum, but wouldn't have the same CRC.
    #3
    lslonim@our3cats.com
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2020/01/17 06:19:44
    • Location: 0
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/27 09:47:38 (permalink)
    0
    Hi, I can easily reproduce the problem on my PC and I have 2 files ready. But this is for a commercial product. If you are a Microchip employee, is there a private way I can send you the two hex files?
    Lloyd
    #4
    ric
    Super Member
    • Total Posts : 28363
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/27 14:53:41 (permalink)
    0
    jtemples is not a Microchip employee (neither am I).
    There are very few Microchip employees on this forum.
    The only way to guarantee you are talking to an employee is to submit a "Support Request" via support.microchip.com
     

    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
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11982
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/27 16:06:11 (permalink)
    0
    It's very unlikely it's a problem with IPE.  Checksums are very weak, and if you do something like rearrange constants in an array, you can end up with the same checksum. Been, there done that, and yes, it confuses customers.
    #6
    tech24x7
    Junior Member
    • Total Posts : 100
    • Reward points : 0
    • Joined: 2013/10/14 21:38:52
    • Location: 0
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/27 22:05:45 (permalink)
    0
    Agreed, Forum is not medium to share confidential data.  Kindly raise support ticket at 
    https://microchipsupport.force.com/
     
     
     
    #7
    ric
    Super Member
    • Total Posts : 28363
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/27 22:14:23 (permalink)
    0
    tech24x7
    Agreed, Forum is not medium to share confidential data.  Kindly raise support ticket at 
    https://microchipsupport.force.com/

    n.b. The link I posted will take you to this same address.
    I stick to posting the generic address, as Microchip have a habit of changing the ultimate destination address every few years, rendering old posts obsolete if you post the ultimate address...
     

    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!
    #8
    lslonim@our3cats.com
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2020/01/17 06:19:44
    • Location: 0
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/28 06:23:54 (permalink)
    5 (1)
    Thanks for the advice. I have more experience with the TI forums where almost all questions are answered by employees. I'll file the support request and come back with the answer once I get it.
    Thanks,
    Lloyd
    #9
    lslonim@our3cats.com
    New Member
    • Total Posts : 6
    • Reward points : 0
    • Joined: 2020/01/17 06:19:44
    • Location: 0
    • Status: offline
    Re: Checksum feature seems broken on MPLAB X IPE v5.30 2020/01/31 11:31:45 (permalink)
    4 (1)
    I filed a support case and got the answer: my config bits were set for Code Protection, which prevents the generation of a checksum. I turned it off and the checksum did just what it is supposed to. I will turn it back on before release to production, but during development I want to see the checksums to make sure I am working with the file I think I am.
    Thanks for the suggestions from the group
    Lloyd
    #10
    Jump to:
    © 2020 APG vNext Commercial Version 4.5