Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

16F883 & PICkit2

Status
Not open for further replies.

5uco

Member
Hi Folks

Just had a (un)pleasant afternoon trying to program a 16F883. No device found ??

Well, I can see it. Checked the Pickit 2 voltages, clock, etc. OK.

I can program any other PIC. 16F887, 16F877, 16F873 etc. etc.

Tried another 2 new 16F883's .. just the same ...

Then I got this off the net:

Matrix Multimedia user forums • View topic - Using EB006 with 16F883

So, it seems the 12V is crook ..

Anyone got a simple work-around ??

The project I have could well use a 16F873, but that appears to have no int. clock. the 'F883 has.

Which is why I want to use it.

Dave D.
 
Last edited:
The link you provided talked about the voltage of VPP. You have yet to connect to the chip so that is not the problem.

In short there is a lot here we do not know.

What software are you using and have the PICs you can program been programmed in the exact same socket ?
 
There is an issue with LVP mode on this part, covered in the errata document for the PIC16F883.

I believe it advises connecting the RB3/PGM Pin to ground.
 
Hi Folks

Thank you for the replies ..

PICkit V2.61
MPLAB V8.63

Same socket, same everything.

Tried to check comms from PK2 says 'no device'
If I try 'erase' several times in succession it occasionally recognises and erases the chip, but then if I try verify erase it promptly says 'no device' !!

Invariably recognises the presence of the PK2. Never had any problems at all with the circuit board & ZIF socket I use.

Works all the time except with these wretched 16F883's ....

Makes no difference if I have 5V on or off, or whether LVP or force HVP 'first program write'

Dave D.
 
Last edited:
I've done 882s &886s ...no worries with those.

I did manage to make it not recognise the MCU once by fooling with PICkit 2 init settings. I had to DELETE the config file of the PICKIT2 to get the MCU to be recognised again.
 
Gave up eventually. My Pickit2 would instantly recognise any damn uC except those three '883's.

So, dumped them. Life's too short etc.

Re-jigged the project I was engaged on to take a 16F873. Turned out to be a good move as I had to use a 20MHz Xtal to get the speed I wanted.
So, I would have been stuffed anyway as the '883 would have used the Int. Clk. @ 8MHZ. Max.

So, thanks for the support ... I'll leave it with you ..

Dave D.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top