Troubleshooting PIC18F45J10 Wiring with PICKit2 Programmer

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting wiring issues between a PIC18F45J10 microcontroller and a PICKit 2 Programmer. Participants explore potential causes for voltage level errors reported by the programmer, specifically a VDD short, and seek solutions to establish proper communication with the microcontroller.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant reports a VPP and VDD Voltage level error and a VDD short while wiring the PIC18F45J10 to the PICKit 2 Programmer.
  • Another participant suggests checking the PICKit 2 version, ensuring it is set up to provide power, and verifying that the circuit does not exceed the maximum current of 25mA.
  • Concerns are raised about the absence of current limiting resistors for LEDs, with a suggestion to disconnect them for troubleshooting.
  • A participant expresses uncertainty about locating the reported short despite following the schematic and guidelines.
  • Questions are posed regarding the orientation of the PIC and the possibility of testing the circuit with an external power supply to confirm the short.
  • There is a suggestion to use a known good PIC circuit to verify the functionality of the PICKit 2 Programmer.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the cause of the VDD short, and multiple potential issues are discussed without resolution. The discussion remains unresolved regarding the exact nature of the problem.

Contextual Notes

Participants express uncertainty about the wiring and setup, and there are indications of missing assumptions regarding the circuit's configuration and the specific conditions under which the errors occur.

El Moriana
Messages
33
Reaction score
0
Hi,

I am attempting to wire a PIC18F45J10 to my PICKit 2 Programmer and I'm running into difficulties.

My PICKit2 is reporting a VPP and VDD Voltage level error. Troubleshooting it further tells me that I have a VDD short.

I have attached my wiring diagram along with the general wiring guideline that the datasheet provides. I cannot see anything wrong, but then again i am a newbie at this.

Any help would be greatly appreciated.
 

Attachments

  • Schematic of Dev Board Mk 1.jpg
    Schematic of Dev Board Mk 1.jpg
    30 KB · Views: 527
Physics news on Phys.org
Not a PIC specialist, maybe someone else can add to this...
Anyway, a checklist of sorts:
Do you have the latest PICkit 2 version?
Is the PICkit 2 set up to provide power to your circuit?
Is your circuit exceeding the maximum current that the PICkit 2 can provide (25mA)?
You said you found a short--great! That's probably it then. Did you fix it?
Is the connection between the PICkit 2 and your circuit correct (connector not reversed)?
Just saw this: you have no current limiting resistors in series with your LEDs. Maybe that's not a problem for the PIC, during programming, when the I/O should be in a tri-state mode, but normally you should have some resistor value there--otherwise you operate at the the maximum port current Disconnect the LEDs to simplify the troubleshooting process.
Can you show a screenshot or two of your PICkit 2 setup?
 
Thanks for replying.

Going down the list:
I have the latest PICKit 2 version.
It is set up to provide power.
It is not exceeding 25mA. The PICKit 2 can fully support a PIC18F45J10 (according to PICKit 2 documentation and PIC datasheet).
The "VDD Short found" was a message from the PICKit 2 software. I cannot find the short, I have wired my PIC according to what the schematic shows and according to what I know, there shouldn't be a short.. as you say, this is probably the problem. But I can't find it..
The connector is plugged into the header correctly.
Yes I noticed this also, however it isn't an issue at the moment, I have temporarily disconnected the LEDs from the main circuit (including all connecting wires to make sure there wasnt a short there) until I can get the PICKit 2 to successfully pick up my PIC and communicate with it.
I don't have a camera atm, but will post pictures as soon as I am able.
 
Is it possible that the PIC pin 1 is not where it should be (PIC rotated 180)?
Can you power this from an external supply (no PICkit 2 pod attached) to see if the short is real?
Do you have another known good PIC circuit that you can use to verify the wellness of the PICkit 2?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
2K
Replies
31
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K