Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Books

Notices


Electronic Books Recommended books of interest to any electronic enthusiasts.

Reply
 
Thread Tools Display Modes
Old 23rd January 2008, 03:18 AM   (permalink)
Default How to program DIP PICs with Breadboard

This is a tutorial about How to program DIP PICs with Breadboard. A BB0703 (PICKit2) is used as a demonstration, however ICD2 and other ICSP programmer can also be adapted.
File will be loaded by the administrator later.
Attached Images
File Type: jpg 101_0227.JPG (446.1 KB, 153 views)
Attached Files
File Type: pdf HowToProgram_DIP_PICs_withBreadboard.pdf (2.50 MB, 262 views)
__________________
F.N.

Last edited by Funny NYPD; 15th April 2008 at 04:06 PM.
Funny NYPD is offline  
Reply With Quote
Old 22nd February 2008, 06:16 PM   (permalink)
Default

Thank you very much
mamadoux is offline  
Reply With Quote
Old 19th March 2008, 11:20 AM   (permalink)
Default

Thank you for the information
srmd is offline  
Reply With Quote
Old 22nd March 2008, 06:44 PM   (permalink)
Default

Never Better.........
Joesamuel is offline  
Reply With Quote
Old 26th March 2008, 05:43 PM   (permalink)
Default

Is it just the same with the ICD2? Im trying to programm a 12f629 but am not abel to do this....

I have looked and conected the icd2 and pic correctly. I have tripple checked

pleas help me
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline  
Reply With Quote
Old 26th March 2008, 05:51 PM   (permalink)
Default

The ICD has certain rules if you want to be able to program a PIC in circuit. You have to be careful with what's on the programming pins.
http://ww1.microchip.com/downloads/e...Doc/51265g.pdf
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 26th March 2008, 05:54 PM   (permalink)
Default

Yes i know and so far i got the pic directly conected to the ICD2 (wich i got from a former employer and it says very dodgy so im not sure it works properly)

Edit:
The ICD2 contains a PIC16F877 if that helps
and here are hte error messages i get

ICDWarn0020: Invalid target device id (expected=0x7C, read=0x0)
ICDWarn0044: Target has an invalid calibration memory value (0x0).

i cant seem to understand exactly what they mean

btw are there any restrictions on the cable length?
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?

Last edited by Kryten; 26th March 2008 at 06:32 PM.
Kryten is offline  
Reply With Quote
Old 13th April 2008, 03:43 AM   (permalink)
Default

Quote:
Originally Posted by Kryten
Yes i know and so far i got the pic directly conected to the ICD2 (wich i got from a former employer and it says very dodgy so im not sure it works properly)

Edit:
The ICD2 contains a PIC16F877 if that helps
and here are hte error messages i get

ICDWarn0020: Invalid target device id (expected=0x7C, read=0x0)
ICDWarn0044: Target has an invalid calibration memory value (0x0).

i cant seem to understand exactly what they mean

btw are there any restrictions on the cable length?
According to Microchip, Cable length normally should be around 6 inches. Mine works on 12 inches cable though.

some time the ICD2 requires certain power on sequence, can you connect the ICD2 without target board first, then connect to your target chip.

Also power the target board with external power supply if you can. This will help get rid of many issues. The Microchip ICD2 ICSP interface circuit is kind of "weak" and easy to broke. So make sure all pin-out are correct and connected to the correct pins on the PIC.

Regards,
__________________
F.N.
Funny NYPD is offline  
Reply With Quote
Old 13th April 2008, 03:50 AM   (permalink)
Default

Quote:
Originally Posted by Kryten
Is it just the same with the ICD2? Im trying to programm a 12f629 but am not abel to do this....

I have looked and conected the icd2 and pic correctly. I have tripple checked

pleas help me
The ICSP signal is exactly the same as the ICD2, though the PIN-out sequence is on the opposite way. I don't know why Microchip released the PICkit2 with a opposite pin sequence compare with ICD2.

Please make sure your PC has a good USB power supply or simply power your ICD2 with external power supply. The ICD2 seems working more reliably than power by USB on my personal experience.
__________________
F.N.
Funny NYPD is offline  
Reply With Quote
Old 15th April 2008, 04:15 PM   (permalink)
Default

This tutorial can also be used with the new PICkit 2 V2.50 "Programmer-To-Go" feature.
__________________
F.N.
Funny NYPD is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Odd problem, My program kills pics 2camjohn Micro Controllers 6 27th November 2007 05:30 PM
Question about Inchworm+ Quan Micro Controllers 54 28th October 2007 12:20 AM
New to PIC's trying to get a program running have a few Q's lompa Micro Controllers 9 25th November 2004 09:26 PM
Anybody program PICs? ab0tj Electronic Projects Design/Ideas/Reviews 1 13th April 2004 06:50 PM
good websites on learning to program PIC's ohiostguy Micro Controllers 1 30th June 2003 03:24 PM



All times are GMT. The time now is 06:04 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.