• AVR Freaks

AnsweredHot!"Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean?

Author
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
2019/05/22 11:29:09 (permalink)
0

"Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean?

Hello,
We are in the process of converting all our PIC16F87x products to PIC16F88x.  I replaced the PIC16F877A processor on one of our boards to a PIC16F887.  When I tried to program it with a PM3 with a hex file built using MPLAB 8 of a source converted to the PIC16F887, I get "Calibration bits are invalid.  The current operation cannot continue.".  Does this mean that the device is bad?  I did a Blank Check which said that different portions of the chip were blank.  From this, I am assuming that the PM3 was able to talk to the device.  
 
Thank you for any help you can give me regarding this problem,
Al Schatte
Delta Electronics Group
#1
DevMod1
Administrator
  • Total Posts : 452
  • Reward points : 0
  • Joined: 2009/02/10 09:34:30
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/23 09:02:06 (permalink) ☼ Best Answerby AlvinSchatte 2019/05/24 09:37:15
0
What version of MPLAB X are you using??  The 16f887 has osc calibration values stored and these values are checked to make sure they are valid.

_____________________________

Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.
#2
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/23 17:42:57 (permalink)
0
We are using MPLAB 8.63 running a PM3.
#3
DevMod1
Administrator
  • Total Posts : 452
  • Reward points : 0
  • Joined: 2009/02/10 09:34:30
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/24 09:19:23 (permalink)
0
Maybe try the latest MPLAB X to see if the issue is still there.  MPLAB 8.63 is really really old.

_____________________________

Please read the forum posting guidelines. Do not double post, please help keep these forums professional and comments respectful.
Please notify the moderators of problems/spam/trolls.
#4
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/24 09:39:15 (permalink)
0
Thanks, I will see what I can do.  The programmer worked fine for PIC16F882 & PIC16F886 which were the first two conversions done.
post edited by AlvinSchatte - 2019/05/24 09:45:14
#5
PStechPaul
Super Member
  • Total Posts : 2251
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: online
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/24 20:38:19 (permalink) ☄ Helpfulby AlvinSchatte 2019/05/25 17:07:17
0
I question the value of converting from one very old device to another of similar vintage. There are much newer pin compatible devices with more features, better performance, and lower cost.

 
#6
NKurzman
A Guy on the Net
  • Total Posts : 17340
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/24 21:22:55 (permalink) ☄ Helpfulby AlvinSchatte 2019/05/25 17:10:14
0
You may want to try MPLab 8.92. The last of that series. It’s possible that it’s an old bug
But note it may update the PM3 firmware.
To go back to 8.63 would require manual action.
#7
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/25 17:10:05 (permalink)
0
I'll pass this on to the engineer who made the decision.  We have many products based in this family and, I think, he was looking for something that required minimal f/W changes so that we can transfer production smoothly.  We might go for the cost upgrade after all the products are back in production.
post edited by AlvinSchatte - 2019/05/25 17:13:41
#8
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/25 17:12:02 (permalink)
0
Thanks for the tip.  This change will be easier to sell those who are responsible for the programmer than the MPLAB X, just because it is an incremental change.
 
#9
AlvinSchatte
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2018/10/31 14:30:02
  • Location: 0
  • Status: offline
Re: "Calibration bits are invalid" programming a PIC16F887 on a PM3- What does it mean? 2019/05/28 12:05:21 (permalink)
0
We are going to try the MPLAB 8.92 version change first to see if it solves the problem.  Thanks for the information and tips.  Hopefully, I will be able to let you know how things go.
#10
Jump to:
© 2019 APG vNext Commercial Version 4.5