Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:16 17 Jun 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PICkit3 problem

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1809
Posted: 08:43pm 15 Jun 2016
Copy link to clipboard 
Print this post

I am trying to program a PIC16F1455 for matherp's backpack. The programmer keeps telling me the device does not match the one selected. I have programmed a lot of chips and never had this problem. I am using MPLAP IPE V2.15
Paul.
Edit.... Using external power.Edited by palcal 2016-06-17
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2794
Posted: 09:25pm 15 Jun 2016
Copy link to clipboard 
Print this post

Sometimes I get this - but if I shut down IPE, then restart it, all seems to 'fix itself'.

Just ensure you are selecting the correct part from the list (easy mistake to be out by one in the list from the desired part).

Also ensure the physical PIC is actually what you think it is. I once (stupidly) picked up a PIC32MX250 by mistake and thought I was programming a MX150, so selected the MX150 from the list - but IPE kept saying I had the wrong part!

Hope you sort it out . . . .
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8648
Posted: 09:54pm 15 Jun 2016
Copy link to clipboard 
Print this post

I remember having minor issues but can't fully remember the solution.

There are two sets of ICSP pins on the PIC16F1455 (12,13 and 9,10) - try both (I think only one works with the PICKIT3). Also it may be important to have the 0.47uF capacitor in place when programming. Finally, as always it is worth decoupling the power supply at the chip.

Are you programming on a breadboard?Edited by matherp 2016-06-17
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1809
Posted: 10:08pm 15 Jun 2016
Copy link to clipboard 
Print this post

I don't use breadboards unless I have to. I am using a ZIF socket that I think came with my PICkit3. The same one I always use. I will try connecting the cap. and play around with the ICSP pins.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 10:22pm 15 Jun 2016
Copy link to clipboard 
Print this post

Do you have the PICKit3 Standalone tool?

If I have problems with the PICKit3 I run the tool and select:
Tools --> Revert to MPLab Mode.

It forces the PICKit to refresh all its firmware and generally solves all issues.

Cheers
Chris

http://caroper.blogspot.com/
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 12:18am 16 Jun 2016
Copy link to clipboard 
Print this post

Been a while since i programmed with the PicKit3 as i now use my own. :)
Unfortunately i have no 1455 in stock (they are on their way) but from memory i needed to check/uncheck the low power programming mode.
As the chip supports 5v and 3.3v i used 3.3v for programming.
In a zif socket and with no external parts and powered from the pickit3.

just checked. I use MPLAB IPE v3.05 (That might make a difference!)


Edited by MicroBlocks 2016-06-17
Microblocks. Build with logic.
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1809
Posted: 11:28am 16 Jun 2016
Copy link to clipboard 
Print this post

I'm not sure the ZIF socket and board I am using is connecting correctly, and I did try low voltage programming. I am connecting it up on a breadboard to be sure it is wired correctly and I'll see if that helps.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1809
Posted: 12:03pm 16 Jun 2016
Copy link to clipboard 
Print this post

OK.. that worked. Matherp's backpack now working OK.
Thanks Matherp and Microblocks for a great project.And of course Geoff.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 02:03pm 16 Jun 2016
Copy link to clipboard 
Print this post

  palcal said   OK.. that worked. Matherp's backpack now working OK.
Thanks Matherp and Microblocks for a great project.And of course Geoff.
Paul.


Sounds like the fun is about to start.

Looking forward to an Assembled one becoming available.
Too many other works in progress to be tackling some SMD for the first time.

  palcal said  "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"[/quote]

Ahhh, but there is the variation on that a friend of mine uses.....

[Quote=Abraham Lincoln]
"Better to Remain Silent and Be Thought a Fool than to Speak Out and Remove All Doubt".

[/quote]

But, I tend to go more with your theory.

Cheers

Phil.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024