Sonsivri

Electronics => Projects => Topic started by: ALLPIC on February 17, 2010, 02:51:30 14:51



Title: Need to change Device ID of PIC16F676
Post by: ALLPIC on February 17, 2010, 02:51:30 14:51
I am trying to Change Device ID of PIC16F676 so that PICKit2 can able to Identify device. Can any one help me

Thanks in advance

regards

ALLPIC


Title: Re: Need to change Device ID of PIC16F676
Post by: pickit2 on February 17, 2010, 03:29:51 15:29
the pickit2 should be able to show you have 16F676 connected by default.
have you tried to reinstalling the pickit2 and mplab software.
or you can select device by manual selection.


Title: Re: Need to change Device ID of PIC16F676
Post by: ALLPIC on February 17, 2010, 05:58:04 17:58
actually my bos is asking, if any one try to read IC through PICkit2 or any programer, the componant number should not shown by programer. means I should able to erase deive ID of microchip. If I am not wrong

regards



Title: Re: Need to change Device ID of PIC16F676
Post by: pickit2 on February 17, 2010, 08:57:37 20:57
sorry I just looked the programing specs for the pic16F6xxx.

4.1 Device ID Word
The device ID word for the PIC12F6XX/16F6XX is
located at 2006h. This location cannot be erased.
so only option for you is, to use code & data protection.  
 (unless there is a way to edit location 2006h in the hex file)


Title: Re: Need to change Device ID of PIC16F676
Post by: Parmin on February 17, 2010, 10:17:17 22:17
Maybe you can erase or change the device ID if you are using Microchip's PM3 programmer..
I believe it can also put in a serial number into the ID location.


Title: Re: Need to change Device ID of PIC16F676
Post by: manish12 on February 19, 2010, 03:22:27 03:22
or chip may faulty ,partial working ,full working but some ex pins may damage , that may be the case


Title: Re: Need to change Device ID of PIC16F676
Post by: solutions on February 20, 2010, 07:55:42 07:55
You cannot change device IDs by design, so I wouldn't waste a lot of time on it, especially for a hundred parts...it's a pretty common procedure to differentiate devices (features, price, yield, speed grade, etc) in the semiconductor industry, even though they all are the SAME CHIP, so they can charge you more when the feature has a VALUE to you (we all share the profit pot is the rule - don't get greedy.....you don't want your chip vendor to go out of business or not provide you with new innovative devices do you?). 

The IDs are usually electrically (sometimes laser link blown) programmed at wafer test, though occasionally it'll be a mask level ROM, right in front of that memory map register location you mentioned

This is to keep unscrupulous companies from buying a cheaper version of the chip and turning on features that weren't meant to be in that ID.  Now you know why pinouts are eerily similar....sometimes it'll be a nonconnected chip pad as well to keep people from hacking to a more expensive, longer test time, chip functionality as well.

Note that you are also risking turning on UNTESTED features if you should ever succeed in hacking the device ID.


Title: Re: Need to change Device ID of PIC16F676
Post by: ALLPIC on February 20, 2010, 01:56:05 13:56
I tried in this 2 days but each time I tried I lost a chip. so I think this is enough time I waste on this. And I also personally feel that there is no point to erase device ID if your code is up to mark. :)