Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #380157 > unrolled thread

OT: PIC16F648A "mismatch"

Started byRobert Baer <robertbaer@localnet.com>
First post2015-10-04 02:17 -0700
Last post2015-10-06 20:45 -0400
Articles 14 — 7 participants

Back to article view | Back to sci.electronics.design


Contents

  OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-04 02:17 -0700
    Re: OT: PIC16F648A "mismatch" Syd Rumpo <usenet@nononono.co.uk> - 2015-10-04 11:47 +0100
      Re: OT: PIC16F648A "mismatch" Chris Jones <lugnut808@spam.yahoo.com> - 2015-10-04 23:15 +1100
        Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-04 17:43 -0700
          Re: OT: PIC16F648A "mismatch" Sylvia Else <sylvia@not.at.this.address> - 2015-10-06 16:30 +1100
            Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-06 09:40 -0700
        Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-04 17:49 -0700
    Re: OT: PIC16F648A "mismatch" TTman <pcw1.cad@ntlworld.com> - 2015-10-04 17:51 +0100
      Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-04 17:46 -0700
    Re: OT: PIC16F648A "mismatch" "P E Schoen" <paul@pstech-inc.com> - 2015-10-05 01:24 -0400
      Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-05 22:21 -0700
        Re: OT: PIC16F648A "mismatch" piglet <erichpwagner@hotmail.com> - 2015-10-06 09:32 +0100
          Re: OT: PIC16F648A "mismatch" Robert Baer <robertbaer@localnet.com> - 2015-10-06 13:36 -0700
            Re: PIC16F648A "mismatch" "P E Schoen" <paul@pstech-inc.com> - 2015-10-06 20:45 -0400

#380157 — OT: PIC16F648A "mismatch"

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-04 02:17 -0700
SubjectOT: PIC16F648A "mismatch"
Message-ID<O86Qx.70701$_E1.24684@fx01.iad>
   Been doing a lot of experimental programming on a PIC16F648A.
   This morning when i fired up the MPlab PICkit3, and target board,i 
got a message like "Device mismatch target id 0000 0000 does not match 
expected device id 0000 1100".
   So now it cannot be erased.

   WTH?

[toc] | [next] | [standalone]


#380158

FromSyd Rumpo <usenet@nononono.co.uk>
Date2015-10-04 11:47 +0100
Message-ID<muqvvn$nr$1@dont-email.me>
In reply to#380157
On 04/10/2015 10:17, Robert Baer wrote:
>    Been doing a lot of experimental programming on a PIC16F648A.
>    This morning when i fired up the MPlab PICkit3, and target board,i
> got a message like "Device mismatch target id 0000 0000 does not match
> expected device id 0000 1100".
>    So now it cannot be erased.
>
>    WTH?

I've had that a few times for one of two reasons - either the 
programming header has a poor connection or the PIC is dead, probably 
static damage via the programming header.

Cheers
-- 
Syd

[toc] | [prev] | [next] | [standalone]


#380166

FromChris Jones <lugnut808@spam.yahoo.com>
Date2015-10-04 23:15 +1100
Message-ID<zL8Qx.75399$oH6.41135@fx36.am4>
In reply to#380158
On 04/10/2015 21:47, Syd Rumpo wrote:
> On 04/10/2015 10:17, Robert Baer wrote:
>>    Been doing a lot of experimental programming on a PIC16F648A.
>>    This morning when i fired up the MPlab PICkit3, and target board,i
>> got a message like "Device mismatch target id 0000 0000 does not match
>> expected device id 0000 1100".
>>    So now it cannot be erased.
>>
>>    WTH?
>
> I've had that a few times for one of two reasons - either the
> programming header has a poor connection or the PIC is dead, probably
> static damage via the programming header.
>
> Cheers

Just recently I had a PICkit3 die on me, and I wasn't knowingly abusing 
it at the time. MCLR line does not go above VDD any more. Strangely, the 
circuitry inside the PICKit3 connected to the programming pins seems ok, 
but there is no drive signal to R23 of the dead PicKit3.

Chris

[toc] | [prev] | [next] | [standalone]


#380219

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-04 17:43 -0700
Message-ID<MIjQx.30394$1w6.27682@fx21.iad>
In reply to#380166
Chris Jones wrote:
> On 04/10/2015 21:47, Syd Rumpo wrote:
>> On 04/10/2015 10:17, Robert Baer wrote:
>>> Been doing a lot of experimental programming on a PIC16F648A.
>>> This morning when i fired up the MPlab PICkit3, and target board,i
>>> got a message like "Device mismatch target id 0000 0000 does not match
>>> expected device id 0000 1100".
>>> So now it cannot be erased.
>>>
>>> WTH?
>>
>> I've had that a few times for one of two reasons - either the
>> programming header has a poor connection or the PIC is dead, probably
>> static damage via the programming header.
>>
>> Cheers
>
> Just recently I had a PICkit3 die on me, and I wasn't knowingly abusing
> it at the time. MCLR line does not go above VDD any more. Strangely, the
> circuitry inside the PICKit3 connected to the programming pins seems ok,
> but there is no drive signal to R23 of the dead PicKit3.
>
> Chris
>
...which brings me to the question: is there a schematic available?

[toc] | [prev] | [next] | [standalone]


#380444

FromSylvia Else <sylvia@not.at.this.address>
Date2015-10-06 16:30 +1100
Message-ID<d7h4jrFmjudU1@mid.individual.net>
In reply to#380219
On 5/10/2015 11:43 AM, Robert Baer wrote:
> Chris Jones wrote:
>> On 04/10/2015 21:47, Syd Rumpo wrote:
>>> On 04/10/2015 10:17, Robert Baer wrote:
>>>> Been doing a lot of experimental programming on a PIC16F648A.
>>>> This morning when i fired up the MPlab PICkit3, and target board,i
>>>> got a message like "Device mismatch target id 0000 0000 does not match
>>>> expected device id 0000 1100".
>>>> So now it cannot be erased.
>>>>
>>>> WTH?
>>>
>>> I've had that a few times for one of two reasons - either the
>>> programming header has a poor connection or the PIC is dead, probably
>>> static damage via the programming header.
>>>
>>> Cheers
>>
>> Just recently I had a PICkit3 die on me, and I wasn't knowingly abusing
>> it at the time. MCLR line does not go above VDD any more. Strangely, the
>> circuitry inside the PICKit3 connected to the programming pins seems ok,
>> but there is no drive signal to R23 of the dead PicKit3.
>>
>> Chris
>>
> ...which brings me to the question: is there a schematic available?
>

There's one in the user guide.

http://ww1.microchip.com/downloads/en/DeviceDoc/51795B.pdf

Sylvia.

[toc] | [prev] | [next] | [standalone]


#380518

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-06 09:40 -0700
Message-ID<BPSQx.3459$cJ6.1299@fx08.iad>
In reply to#380444
Sylvia Else wrote:
> On 5/10/2015 11:43 AM, Robert Baer wrote:
>> Chris Jones wrote:
>>> On 04/10/2015 21:47, Syd Rumpo wrote:
>>>> On 04/10/2015 10:17, Robert Baer wrote:
>>>>> Been doing a lot of experimental programming on a PIC16F648A.
>>>>> This morning when i fired up the MPlab PICkit3, and target board,i
>>>>> got a message like "Device mismatch target id 0000 0000 does not match
>>>>> expected device id 0000 1100".
>>>>> So now it cannot be erased.
>>>>>
>>>>> WTH?
>>>>
>>>> I've had that a few times for one of two reasons - either the
>>>> programming header has a poor connection or the PIC is dead, probably
>>>> static damage via the programming header.
>>>>
>>>> Cheers
>>>
>>> Just recently I had a PICkit3 die on me, and I wasn't knowingly abusing
>>> it at the time. MCLR line does not go above VDD any more. Strangely, the
>>> circuitry inside the PICKit3 connected to the programming pins seems ok,
>>> but there is no drive signal to R23 of the dead PicKit3.
>>>
>>> Chris
>>>
>> ...which brings me to the question: is there a schematic available?
>>
>
> There's one in the user guide.
>
> http://ww1.microchip.com/downloads/en/DeviceDoc/51795B.pdf
>
> Sylvia.
   Thanks,

[toc] | [prev] | [next] | [standalone]


#380221

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-04 17:49 -0700
Message-ID<GOjQx.43820$SU1.16086@fx26.iad>
In reply to#380166
Chris Jones wrote:
> On 04/10/2015 21:47, Syd Rumpo wrote:
>> On 04/10/2015 10:17, Robert Baer wrote:
>>> Been doing a lot of experimental programming on a PIC16F648A.
>>> This morning when i fired up the MPlab PICkit3, and target board,i
>>> got a message like "Device mismatch target id 0000 0000 does not match
>>> expected device id 0000 1100".
>>> So now it cannot be erased.
>>>
>>> WTH?
>>
>> I've had that a few times for one of two reasons - either the
>> programming header has a poor connection or the PIC is dead, probably
>> static damage via the programming header.
* Then most likely the PIC is dead.

>>
>> Cheers
>
> Just recently I had a PICkit3 die on me, and I wasn't knowingly abusing
> it at the time. MCLR line does not go above VDD any more. Strangely, the
> circuitry inside the PICKit3 connected to the programming pins seems ok,
> but there is no drive signal to R23 of the dead PicKit3.
>
> Chris
>

[toc] | [prev] | [next] | [standalone]


#380182

FromTTman <pcw1.cad@ntlworld.com>
Date2015-10-04 17:51 +0100
Message-ID<murl9t$gh9$1@dont-email.me>
In reply to#380157
On 04/10/2015 10:17, Robert Baer wrote:
>    Been doing a lot of experimental programming on a PIC16F648A.
>    This morning when i fired up the MPlab PICkit3, and target board,i
> got a message like "Device mismatch target id 0000 0000 does not match
> expected device id 0000 1100".
>    So now it cannot be erased.
>
>    WTH?
No power to target or no target Vcc supplied my the progger ?

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

[toc] | [prev] | [next] | [standalone]


#380220

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-04 17:46 -0700
Message-ID<rLjQx.30395$1w6.12630@fx21.iad>
In reply to#380182
TTman wrote:
> On 04/10/2015 10:17, Robert Baer wrote:
>> Been doing a lot of experimental programming on a PIC16F648A.
>> This morning when i fired up the MPlab PICkit3, and target board,i
>> got a message like "Device mismatch target id 0000 0000 does not match
>> expected device id 0000 1100".
>> So now it cannot be erased.
>>
>> WTH?
> No power to target or no target Vcc supplied my the progger ?
   Absolutely not. External power from a 12V SLA and there is an 
on-board LED monitor directly wired to the Vcc pin.

>
> ---
> This email has been checked for viruses by Avast antivirus software.
> http://www.avast.com
>

[toc] | [prev] | [next] | [standalone]


#380254

From"P E Schoen" <paul@pstech-inc.com>
Date2015-10-05 01:24 -0400
Message-ID<mut1fc$tl5$1@dont-email.me>
In reply to#380157
"Robert Baer"  wrote in message news:O86Qx.70701$_E1.24684@fx01.iad...

>   Been doing a lot of experimental programming on a PIC16F648A.
>   This morning when i fired up the MPlab PICkit3, and target board,i got a 
> message like "Device mismatch target id 0000 0000 does not match expected 
> device id 0000 1100".
>   So now it cannot be erased.

I have had something like that happen due to contaminants from soldering and 
handling, especially in the presence of high humidity. Try cleaning the 
board with flux remover (alcohol) followed by detergent and hot water, 
rinse, and hot air to dry thoroughly.

Paul 

[toc] | [prev] | [next] | [standalone]


#380441

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-05 22:21 -0700
Message-ID<5TIQx.41985$Rj5.1445@fx02.iad>
In reply to#380254
P E Schoen wrote:
> "Robert Baer" wrote in message news:O86Qx.70701$_E1.24684@fx01.iad...
>
>> Been doing a lot of experimental programming on a PIC16F648A.
>> This morning when i fired up the MPlab PICkit3, and target board,i got
>> a message like "Device mismatch target id 0000 0000 does not match
>> expected device id 0000 1100".
>> So now it cannot be erased.
>
> I have had something like that happen due to contaminants from soldering
> and handling, especially in the presence of high humidity. Try cleaning
> the board with flux remover (alcohol) followed by detergent and hot
> water, rinse, and hot air to dry thoroughly.
>
> Paul
   I baked the PIC at the low temp of 125F and it can now be erased and 
programmed; same error.
   Going to try 200F.

[toc] | [prev] | [next] | [standalone]


#380475

Frompiglet <erichpwagner@hotmail.com>
Date2015-10-06 09:32 +0100
Message-ID<mv00rj$9i4$1@dont-email.me>
In reply to#380441
On 06/10/2015 06:21, Robert Baer wrote:
>    I baked the PIC at the low temp of 125F and it can now be erased and
> programmed; same error.
>    Going to try 200F.
>

Never heard that trick before, must remember in case of trouble. Cool! 
(or rather, Hot!)

piglet

[toc] | [prev] | [next] | [standalone]


#380543

FromRobert Baer <robertbaer@localnet.com>
Date2015-10-06 13:36 -0700
Message-ID<IhWQx.3$VR.1@fx01.iad>
In reply to#380475
piglet wrote:
> On 06/10/2015 06:21, Robert Baer wrote:
>> I baked the PIC at the low temp of 125F and it can now be erased and
>> programmed; same error.
>> Going to try 200F.
>>
>
> Never heard that trick before, must remember in case of trouble. Cool!
> (or rather, Hot!)
>
> piglet
   I tried a better temperature and time: 200F and one hour.
   Looks perfectly good. NO device complaints.
   I used the ASS-u-ME-ption that a static charge was stored and holding 
one or more gates at a fixed level.
   So, this simply anneals out the damage, and the higher temperature 
allows a more free flow of stored charge.

[toc] | [prev] | [next] | [standalone]


#380563 — Re: PIC16F648A "mismatch"

From"P E Schoen" <paul@pstech-inc.com>
Date2015-10-06 20:45 -0400
SubjectRe: PIC16F648A "mismatch"
Message-ID<mv1prd$823$1@dont-email.me>
In reply to#380543
"Robert Baer"  wrote in message news:IhWQx.3$VR.1@fx01.iad...

>   I tried a better temperature and time: 200F and one hour.
>   Looks perfectly good. NO device complaints.
>   I used the ASS-u-ME-ption that a static charge was stored and holding 
> one or more gates at a fixed level.
>   So, this simply anneals out the damage, and the higher temperature 
> allows a more free flow of stored charge.

Was the problem fixed only while the device was at the elevated temperature, 
or was it also OK at normal temperature? The problem I had was leakage 
between pins and to other parts of the circuit on the soldered proto-board, 
and I could see some white deposits on the solder which was probably flux or 
salty contaminants that became conductive with humidity.

The programming pins, particularly PCLK and PDAT, are sensitive to loading 
and capacitance, so be careful about what is connected to them if you are 
using ICSP. Also, make sure that unused pins are terminated with a pull-up 
or other load, or programmed as an output. And be careful to set the ANSEL 
properly - the default is often analog and you must change that with the 
proper register bits.

Sometimes powering the device from the PICKit causes problems, especially if 
there is a voltage regulator on the board. It may help to set the device 
voltage a little lower if you have that option, to avoid drawing current 
through the output of the VREG. For small devices, I like to use DIP 
packages with sockets, so I can program the device out of the circuit. 
Microchip has a programming adapter with a ZIF socket, but it's easy to make 
your own.

Paul 

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web