Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CB0703-PCB for "PICkit 2" DIY(Do It Yourself) fans

Status
Not open for further replies.
pic18 pic24 pic32 code protect

Also please conform me that the VDD from PICKIT2 LITE SE is through transistor, will it provide the voltage only during programming or all the time to the target?

The PICkit2 can be forced to supply power to external circuit by MPLAB (which is automatically if no external power is detected) or by it's own programming software.
 

pic18f87j50 +pcb

Here is the screen cut for successfully programming 18F4550 under PICKit2 V2.40.
Power is supplied from the PICKit2 (BB0703 show on the top of the picture). No external power is used.

 

circuit schematic for pic18f2553

I saw some hex file under PICkit2 folder after MPLAB V8.0 got installed, any one knows what are those files for?
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
pickit 2 price

funnynypd said:
Size of the PICkit2 (comparing with the newest ICD2 without enclosure):
19_1194216038.jpg
Nice design. :D
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
circuit schematic of pic18f2553

You would need the 3 transistor voltage clamp but could skip the VDD generator. Which PIC are you trying to program?

I'm trying out a mod for my Inchworm kit where I change the 300ohm output resistors to 2.4K to see if it'll work as a 3.3V ICD (still running itself at 5V) I'll post the results.
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
programing the pic18f46k20

Here is one of the post I saw on Microchip forum. Quite interesting,

Original link is here:
**broken link removed**

quote:

ORIGINAL: fanievwyk
I have a pickit2, but still prefer the ICD2. Both are fine - but check it out, the ICD2 can program the 32's ;)


PIC32 is not officially out. When it is out, I believe PICkit 2 can support it.

Why I say PICkit 2 is a better programmer than ICD2?
1) It can control Vdd/Vpp sequence, ICD2 can not.
2) PICkit 2 connector is easier to use than ICD2.
3) You do not need to download new OS firmware when you switch PICs.
4) ICD2 has some grounding issues (think ground).


These are something good to know.
However, I still love both of my ICD2 and Pickit2.:D
 

probleme programming pic18f2331 with winpic 800

Now you change the name of the topic:
"PICkit 2" DIYer's PCB board. to CB0703-PCB for "PICkit 2" DIY(Do It Yourself) fans

are you desperate for sell your ugly board?


You are lost, here is ebay: https://stores.ebay.com/[/b]
 

pickit 2 clone datasheet white zif socket

Hi, Just to share my experiment.
With EPIC (LPT) Prog running on 5V, I was able to program my target that running on 3V lithium battery. I added 100ohms resistor in series of clock, data and VPP. I also recommend to use diode at MCLR with pullup in order to stop VPP get in to your ckt but I did the test without diode, with success.
thanks
sadat007
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
pic18f14k50 jpg

funnynypds' PICkit 2 clone looks fine, the layout is tight and I'm personally not a fan of soldering down tiny surface mount parts but there are people who don't mind.

I'm also not fond of the ICD2 RJ-12 type connector and neither is xiaofan according to a post on the Microchip forums
Why I say PICkit 2 is a better programmer than ICD2?
1) It can control Vdd/Vpp sequence, ICD2 can not.
2) PICkit 2 connector is easier to use than ICD2.
3) You do not need to download new OS firmware when you switch PICs.
4) ICD2 has some grounding issues (think ground).

I do like the 2x5 ICD connector like the one both my and many other PIC programmers use. The connectors work on breadboards and are cheap + robust.
 

pg164120 without low pin count demo

What a good couple-show here again.
One in red face, just like a mad dog.
One in white face, keep pretending to be an expert.
Are two of you going to mis-lead us, again?

What a show!
Are we blind?:(

53_1196353935.jpg
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
pic18f14k50 burn china

sadat007 said:
Hi, Just to share my experiment.
With EPIC (LPT) Prog running on 5V, I was able to program my target that running on 3V lithium battery. I added 100ohms resistor in series of clock, data and VPP. I also recommend to use diode at MCLR with pullup in order to stop VPP get in to your ckt but I did the test without diode, with success.
thanks
sadat007
Good thought. Do you have any picture to show us?
 

pic18f25k20 as a slave

Hai guys,

I have just done a quick test with Blueroomelectronics stripped version of PICkit2.
simply supberb and working fine. Done a quick programing test with another PIC18F2550.

Firmware has been programed with ART2003 + WinPic800 (10 Min job including the programing hardware).

Used self made coil (680uh) on ferrite bed with 20 turns of 28swg wire.

Used breadboard for quick testing. Hai blueroomelectronics, Thanks man.

Started designing my own PCB in eagle. will upload soon with some pictures.:D
 

download pickit 2.51

very good programmer compare to gtp usb plus

Added after 3 minutes:

can any one explain what is the use of AUX PIN?

Added after 32 minutes:

sorry..is not same person
i just don't understand what is the use of aux pin
 

gtp usb pic programmer for pic32

Is for to program EEPROM :D
See the next text:

> Serial EEPROM support:

24LC I2C bus devices:
Bus Speed-
400kHz with Tools -> Fast Programming checked
100kHz with Tools -> Fast Programming unchecked

NOTE: Bus pullups are required for all
programming operations. 400kHz requires
2k Ohm pullups.

Ax Chip Select checkboxes-
These are only enabled for devices that support
address chip selects, and allow programming of
multiple devices on the same bus.

Connections for 24LC devices
---------------------------------------
PICkit 2 Pin 24LC Device Pin (DIP)
(2) Vdd 8 Vcc
(3) GND 4 Vss
(5) PGC 6 SCL (driven as push-pull)
(6) AUX 5 SDA (requires pullup)
7 WP - disabled (GND)
1, 2, 3 Ax pins
Connect to Vdd or GND per
datasheet and to set address

25LC SPI bus devices:
Bus Speed-
~925kHz with Tools -> Fast Programming checked
~245kHz with Tools -> Fast Programming unchecked

Connections for 25LC devices
---------------------------------------
PICkit 2 Pin 25LC Device Pin (DIP)
(1) VPP 1 nCS
(2) Vdd 8 Vcc
(3) GND 4 Vss
(4) PGD 2 SO
(5) PGC 6 SCK
(6) AUX 5 SI
7 nHOLD - disabled (Vdd)
3 nWP - disabled (Vdd)

93LC Microwire bus devices:
Bus Speed-
~925kHz with Tools -> Fast Programming checked
~245kHz with Tools -> Fast Programming unchecked

Connections for 93LC devices
---------------------------------------
PICkit 2 Pin 93LC Device Pin (DIP)
(1) VPP 1 CS
(2) Vdd 8 Vcc
(3) GND 5 Vss
(4) PGD 4 DO
(5) PGC 2 CLK
(6) AUX 3 DI
7 PE - enabled (Vdd)
6 'C' Device ORG
Set to select word size
 

mcp25050 pickit2

nan_ishan said:
did'nt understand,please b specific

The AUX pin of PK2 is for program EEPROMS, the above text tell us the conections betwen PK2 and an EEPROM.
 

pickit2 valid vdd

Hi, Just conform that I tested with 18F2553 and the the PICKIT2 working fine.
Thanks
sadat007
 

    funnynypd

    Points: 2
    Helpful Answer Positive Rating
diy board with dspic for pickit 3

Here is the new release of MPLAB IDE V8.01 with more chip support for debugging and programming.

Release Notes for PICkit® 2 Development Tool

MPLAB® IDE v8.01

Firmware Version 2.10.0
Software DLL Version 0.0.3.10

December 12, 2007

Table of Contents

1 Device Support List

2 Operating System Support List

3 Reference Documents

4 What's New

5 Known Problems

1 Device Support List
1.1 Debugger - Full Support
PIC12F508* PIC12F509* PIC12F683* PIC16F505* PIC16F777 PIC16F886
PIC16F685* PIC16F818 PIC16F887 PIC16F687* PIC16F819 PIC16F913
PIC16F688* PIC16F873A PIC16F914 PIC16F689* PIC16F874A PIC16F916
PIC16F690* PIC16F876A PIC16F917 PIC16F737 PIC16F877A PIC16F946
PIC16F747 PIC16F883 PIC16F767 PIC16F884 PIC18F2410 PIC18F25K20
PIC18F6390 PIC18F2420 PIC18F4420 PIC18F6410 PIC18F2423
PIC18F4423 PIC18F6490 PIC18F2480 PIC18F4480 PIC18F8310
PIC18F24K20 PIC18F4510 PIC18F8390 PIC18F2510 PIC18F4520
PIC18F8410 PIC18F2520 PIC18F4580 PIC18F8490 PIC18F2523
PIC18F46K20 PIC18F2580 PIC18F6310

1.2 Debugger - Beta Support
PIC10F200* PIC10F204* PIC10F220* PIC10F202* PIC10F206* PIC10F222*

PIC12F510* PIC12F629* PIC12F635* PIC12F675*
PIC16F506* PIC16F677* PIC16F873 PIC16F627A*
PIC16F684* PIC16F874 PIC16F628A* PIC16F716*
PIC16F876 PIC16F630* PIC16F785* PIC16F877
PIC16F631* PIC16F87 PIC16F88 PIC16F636*
PIC16F870 PIC16F882 PIC16F648A* PIC16F871
PIC16HV785* PIC16F676* PIC16F872
PIC18F1220 PIC18F26K20 PIC18F4685
PIC18F1230+ PIC18F4220 PIC18F6520
PIC18F1320 PIC18F4221 PIC18F6525
PIC18F1330+ PIC18F4320 PIC18F6527
PIC18F2220 PIC18F4321 PIC18F6585
PIC18F2221 PIC18F4331 PIC18F6620
PIC18F2320 PIC18F4410 PIC18F6621
PIC18F2321 PIC18F442 PIC18F6622
PIC18F2331 PIC18F4431 PIC18F6627
PIC18F242 PIC18F4450 PIC18F6628
PIC18F2431 PIC18F4455 PIC18F6680
PIC18F2450 PIC18F4458 PIC18F6720
PIC18F2455 PIC18F448 PIC18F6722
PIC18F2458 PIC18F44K20 PIC18F6723
PIC18F248 PIC18F4515 PIC18F8520
PIC18F2515 PIC18F452 PIC18F8525
PIC18F252 PIC18F4523 PIC18F8527
PIC18F2525 PIC18F4525 PIC18F8585
PIC18F2550 PIC18F4550 PIC18F8620
PIC18F2553 PIC18F4553 PIC18F8621
PIC18F258 PIC18F458 PIC18F8622
PIC18F2585 PIC18F4585 PIC18F8627
PIC18F2610 PIC18F45K20 PIC18F8628
PIC18F2620 PIC18F4610 PIC18F8680
PIC18F2680 PIC18F4620 PIC18F8720
PIC18F2682 PIC18F4680 PIC18F8722
PIC18F2685 PIC18F4682 PIC18F8723
PIC24FJ128GA006 PIC24FJ32GA004 PIC24FJ64GA008
PIC24FJ128GA008 PIC24FJ48GA002 PIC24FJ64GA010
PIC24FJ128GA010 PIC24FJ48GA004 PIC24FJ96GA006
PIC24FJ16GA002 PIC24FJ64GA002 PIC24FJ96GA008
PIC24FJ16GA004 PIC24FJ64GA004 PIC24FJ96GA010
PIC24FJ32GA002 PIC24FJ64GA006

1.3 Programmer - Full Support
PIC12F508 PIC12F509 PIC12F510
PIC12F675 PIC12F683 PIC16F505
PIC16F767 PIC16F883 PIC16F506
PIC16F777 PIC16F884 IC16F684
PIC16F818 PIC16F886 PIC16F685
PIC16F819 PIC16F887 PIC16F687
PIC16F87 PIC16F913
PIC16F688 PIC16F873A PIC16F914
PIC16F689 PIC16F874A PIC16F916
PIC16F690 PIC16F876A PIC16F917
PIC16F737 PIC16F877A PIC16F946
PIC16F747 PIC16F88
PIC18F2410 PIC18F4420 PIC18F6410
PIC18F2420 PIC18F4423 PIC18F6490
PIC18F2423 PIC18F4480 PIC18F8310
PIC18F2480 PIC18F4510 PIC18F8390
PIC18F2510 PIC18F4520 PIC18F8410
PIC18F2520 PIC18F4580 PIC18F8490
PIC18F2523 PIC18F6310PIC18F2580 PIC18F6390



1.4 Programmer - Beta Support
PIC10F200 PIC10F204 PIC10F220
PIC10F202 PIC10F206 PIC10F222
PIC12F629 PIC12F635 PIC16F627A
PIC16F677 PIC16F874 PIC16F628A
PIC16F716 PIC16F876 PIC16F630
PIC16F785 PIC16F877 PIC16F631
PIC16F870 PIC16F882 PIC16F636
PIC16F871 PIC16HV785 PIC16F648A
PIC16F872 PIC16F676 PIC16F873
PIC18F1220 PIC18F2685 PIC18F4685
PIC18F1230 PIC18F26K20 PIC18F46K20
PIC18F1320 PIC18F4220 PIC18F6520
PIC18F1330 PIC18F4221 PIC18F6525
PIC18F2220 PIC18F4320 PIC18F6527
PIC18F2221 PIC18F4321 PIC18F6585
PIC18F2320 PIC18F4331 PIC18F6620
PIC18F2321 PIC18F4410 PIC18F6621
PIC18F2331 PIC18F442 PIC18F6622
PIC18F242 PIC18F4431 PIC18F6627
PIC18F2431 PIC18F4450 PIC18F6628
PIC18F2450 PIC18F4455 PIC18F6680
PIC18F2455 PIC18F4458 PIC18F6720
PIC18F2458 PIC18F448 PIC18F6722
PIC18F248 PIC18F44K20 PIC18F6723
PIC18F24K20 PIC18F4515 PIC18F8520
PIC18F2515 PIC18F452 PIC18F8525
PIC18F252 PIC18F4523 PIC18F8527
PIC18F2525 PIC18F4525 PIC18F8585
PIC18F2550 PIC18F4550 PIC18F8620
PIC18F2553 PIC18F4553 PIC18F8621
PIC18F258 PIC18F458 PIC18F8622
PIC18F2585 PIC18F4585 PIC18F8627
PIC18F25K20 PIC18F45K20 PIC18F8628
PIC18F2610 PIC18F4610 PIC18F8680
PIC18F2620 PIC18F4620 PIC18F8720
PIC18F2680 PIC18F4680 PIC18F8722
PIC18F2682 PIC18F4682 PIC18F8723
PIC24FJ128GA006 PIC24FJ32GA004 PIC24FJ64GA008
PIC24FJ128GA008 PIC24FJ48GA002 PIC24FJ64GA010
PIC24FJ128GA010 PIC24FJ48GA004 PIC24FJ96GA006
PIC24FJ16GA002 PIC24FJ64GA002 PIC24FJ96GA008
PIC24FJ16GA004 PIC24FJ64GA004 PIC24FJ96GA010
PIC24FJ32GA002 PIC24FJ64GA006

* These devices require a header board to be able to debug the device. See the Header Board Specification (DS51292) for more information. This document is available in the “Downloads” section of the PICkit 2 web page.
NOTE: To connect PICkit 2 to a debug header board requires the AC164110 RJ-11 to ICSP Adapter.

+ These devices have an optional debug header which is currently NOT supported by PICkit 2.

2 Operating System Support List
This tool has been tested under the following operating systems:

Windows® 2000 SP4, Windows XP SP2, and Windows Vista™ (32-Bit)* OSs

* Only initial testing has been performed on 32-bit Vista for this release. 64-bit Vista is not supported at this time.

NOTE: Windows NT® and Windows 98/ME OSs are NOT supported.

IMPORTANT NOTICE: Beginning with MPLAB IDE v7.51, MPLAB IDE and PICkit 2 will no longer be tested on Windows 98, Windows ME, or Windows NT® OSs. MPLAB IDE and PICkit 2 may continue to work under these operating systems, but their operation will no longer be verified through testing.

3 Reference Documents
The following documents may be found on our website or MPLAB IDE CD-ROM:
· PICkit 2 Microcontroller Programmer User's Guide - DS51553
· Low Pin Count Demo Board User's Guide - DS51556
· Programming Specifications for devices - various DS numbers
· Development Tool Selector
4 What's New or Updated
MPLAB IDE v8.01 adds Advanced Breakpoint support for all PIC18 devices. Select Debugger > Advanced Breakpoints to access this feature.
SSR
Summary
PK2-47
MPLAB IDE crashes when a user tries to select Debugger->Select Tool->None option after enabling PicKit2 for some of the Midrange and Baseline devices.

PK2-31
Debug>>Clear all memory-fill random data to EEPROM and program the device will fail the programming operation

PK2-30
The option 'Run after a successful program' will not work when Pickit2 is selected as a programmer.

PK2-29
Blank check do not check if Config memory is blank or not

PK2-27
PICKit2 failed to program certain memory area when user feed in the value in program memory window and try to program it

PK2-16
After connecting a Pickit2 with an old version of OS MPLAB downloads the new OS without asking for user preference

PK2-12
16F886 and 16F887 cannot run, animate or be stepped into , once it is halted after the first run whle using PICkit2 as a debugger

PK2-9
MPLAB crashing when they have Debugger -> PICkit 2 selected then try to select Programmer -> PICkit 2


5 Known Problems
The following is a list of known problems. For more information on operation, please see the online help file for the PICkit 2 (hlpPICkit2.chm). Bolded prefix represents internal tracking numbers.

· To use the PICkit 2 as a debugger, two 4.7KW pull-down resistors are needed on pins ICSPDAT and ICSPCLK for units with a black pushbutton. Units with a red pushbutton have the pull-down resistors already internal to the unit.

PK2-10:
Output to Debug File - An error message is displayed when an attempt is made to use this option.

PK2-17:
When the Oscillator Config bits are set for "HS - hardware enabled 4x PLL", the first attempted ICSP communication after VDD is applied fails. Suggested work-arounds:

PICkit 2 Programmer Application

If powering from PICkit 2:

1) Check the VDD PICkit 2 "On" checkbox under the Microchip logo.

2) Select "Device Family > PIC18F" until the PIC18F8680 is detected.

3) It should now program properly as long as VDD is not interrupted



If powering externally:

1) Select "Device Family > PIC18F" until the PIC18F8680 is detected.

2) It should now program properly as long as VDD is not interrupted



PICkit 2 from MPLAB IDE

If powering from PICkit 2:

1) This only needs be done after first selecting PICkit 2 as the programmer, or after PICkit 2 is first connected to the target.

2) Select "Programmer > Verify" - it doesn't matter the results; this is just to the 8680 out of the problem state.

3) It should now program properly as long as VDD is not interrupted



If powering externally:

1) This only needs be done after first applying power and connecting PICkit 2 to the target board

2) Select "Programmer > Verify" - it doesn't matter the results; this is just to the 8680 out of the problem state.

3) It should now program properly as long as VDD is not interrupted

PK2-44:
Blank check fails at configuration memory location 0x300005 for PIC18FxxK20 devices even though device is blank.

PK2-46:
PICkit 2 may not enter debug mode when 32 KHz LP oscillator is selected as clock source for PIC16F505, PIC12F508, PIC12F509.
 

pickit2 pinout

Hi, PICKIT2 LITE SE with 18F2553, the programming mode is working fine but when I try DEBUG mode from MPLAB it gives error

PK2Error0024: PICkit 2 was unable to establish a valid Vdd on the target (Attempted 5.00V - Read 0.00V)

Can any one help me to solve this?
Thanks
sadat007
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top