Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 1st December 2007, 03:38 AM   (permalink)
Default Problem with PIC programmer.

Ok firstly I'm sure this has been covered before but I can't find it so sorry about asking again...

Programmer in question is A JDM type powered from a 9 pin serial port.

After having tried to program 6 different PIC's (all compatible with my programmer) with a few different programs and having them all fail to program it occurs to me that I must have a problem somewhere, Now I recall reading somewhere that a comment problem for people programming PIC's is their computer isn't supplying enough voltage to the programmer, with this in mind can anyone tell me what the voltage is meant to be and what pins of the serial port I would need to check for said voltage.

Thanks in advance.

Dawn.
Dawny is offline  
Old 1st December 2007, 06:16 AM   (permalink)
Default

Do you have LVP Programming enabled?
Krumlink is offline  
Old 1st December 2007, 06:39 AM   (permalink)
Default

Quote:
Originally Posted by Dawny
Programmer in question is A JDM type powered from a 9 pin serial port.
, with this in mind can anyone tell me what the voltage is meant to be and what pins of the serial port I would need to check for said voltage.
Posting the schematic diagram would help, but MCLR on the PIC needs to swing to +12V or more to enter programming mode.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 1st December 2007, 08:07 AM   (permalink)
Default

to be honest I don't have a schematic diagram... the Programmer is prebuilt... it's one of these: http://cgi.ebay.com.au/Serial-PIC-pr...QQcmdZViewItem

Dawn
Dawny is offline  
Old 1st December 2007, 06:54 PM   (permalink)
Default

Then the best test is as I mentioned above. Setup the software to program a PIC with a larger HEX file but don't plug a PIC in. Now measure between the pins where the PICs Vss and MCLR pins would fit while the software is trying to program the absent PIC. You should have around 12V or so; anything less will be hit and miss because the spec for programming is typically between 12 & 14V on MCLR with a nominal value of 13V. I have also seen it spec'd as a minimum of Vdd+3.5 ( 8.5V) and a max of 13.5V for some PICs. You might also want to try the programmer on another, preferably older, computer. Good luck.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 2nd December 2007, 04:29 AM   (permalink)
Default

ok I'll test the voltages... but on the front how much older should my computer be then a P3 866mhz system... because I could knock together a 486 if that would be more useful...

Dawn
Dawny is offline  
Old 2nd December 2007, 04:42 AM   (permalink)
Default

It has more to do with the older serial port cards as opposed to CPU speed. The older serial cards put out more voltage than the newer ones do. Laptops tend to put out lower voltages than desktops because of the serial IO chips they use.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 2nd December 2007, 05:36 AM   (permalink)
Default

Quote:
Originally Posted by kchriste
It has more to do with the older serial port cards as opposed to CPU speed. The older serial cards put out more voltage than the newer ones do. Laptops tend to put out lower voltages than desktops because of the serial IO chips they use.
Nothing to do with PIC programming, but I have seen similar differences with laptop / desktop serial port voltages. I assumed that was because desktops have a great big power supply that include +12V and -12V, so that what the serial line swings to.

On laptops, every voltage needs to be generated and the power used will be less if the serial line voltage is kept low. I think that the RS232 standard demands at least +/- 5 V, and some laptops don't exceed that by much. The MAX232 will only generate twice its supply voltage, so can only achieve +/-10 V from a 5 V supply, and many laptops run similar devices from 3.3 V. Also some RS232 driver ICs (near equivalents to MAX232) actually regulate at just over 5V.
Diver300 is offline  
Old 2nd December 2007, 07:51 AM   (permalink)
Default

Quote:
Originally Posted by Dawny
ok I'll test the voltages... but on the front how much older should my computer be then a P3 866mhz system... because I could knock together a 486 if that would be more useful...

Dawn
From the picture it looks like a standard JDM programmer. As long as you are using a real serial port and not a USB to serial converter then it should work fine on that computer.

I would suggest downloading WinPic from this site as this seems the most reliable. It has the ability to turn Vpp on in a test section and a very good FAQ.

Mike.
Pommie is online now  
Old 2nd December 2007, 02:12 PM   (permalink)
Default

Quote:
Originally Posted by Dawny
to be honest I don't have a schematic diagram... the Programmer is prebuilt... it's one of these: http://cgi.ebay.com.au/Serial-PIC-pr...QQcmdZViewItem

Dawn
Hi Dawny, take the schematic and other details from site below

http://www.olimex.com/dev/pic-pg2c.html
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 3rd December 2007, 01:34 PM   (permalink)
Default

Hey all. I wanted to take a moment to thank all of you who posted to this thread and helped me. Thanks all.

mvs sarma: Also thanks for that link, with the data on that page and other pages connected it I was finally able to make my programmer work and while it was just a simple thing I managed to burn a simple LED flasher program to a PIC16F84A earlier and just then I was able to make a simple frequency counter from a PIC16F628A. Yay I’m a happy gal now and tomorrow I can get on with working out how to write and compile my own programs.

Once again thank you all.

Dawn
Dawny is offline  
Old 3rd December 2007, 03:17 PM   (permalink)
Default

Quote:
Originally Posted by Dawny
Hey all. I wanted to take a moment to thank all of you who posted to this thread and helped me. Thanks all.

mvs sarma: Also thanks for that link, with the data on that page and other pages connected it I was finally able to make my programmer work and while it was just a simple thing I managed to burn a simple LED flasher program to a PIC16F84A earlier and just then I was able to make a simple frequency counter from a PIC16F628A. Yay I’m a happy gal now and tomorrow I can get on with working out how to write and compile my own programs.

Once again thank you all.

Dawn
There is another frequency counter which could measure upto 40MHz. it uses 16F84A and 4MHz crystal
Google for IK3OIL frequency counter. you will be happy using it in the days to come.


All the best to you Dawny
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 6th December 2007, 04:39 AM   (permalink)
Default

heyy... here is a good pic programmer is easy and cheapa is with serial port has everything to do it search http://feng3.cool.ne.jp/en/pg5v2.html
afal212 is offline  
Old 6th December 2007, 04:42 AM   (permalink)
Default

i was looking for a pic programmer with usb port that y could do with the schematic diagram
afal212 is offline  
Old 6th December 2007, 04:51 AM   (permalink)
Cool

Quote:
Originally Posted by Dawny
Ok firstly I'm sure this has been covered before but I can't find it so sorry about asking again...

Programmer in question is A JDM type powered from a 9 pin serial port.

After having tried to program 6 different PIC's (all compatible with my programmer) with a few different programs and having them all fail to program it occurs to me that I must have a problem somewhere, Now I recall reading somewhere that a comment problem for people programming PIC's is their computer isn't supplying enough voltage to the programmer, with this in mind can anyone tell me what the voltage is meant to be and what pins of the serial port I would need to check for said voltage.

Thanks in advance.

Dawn.
this is a good programer http://feng3.cool.ne.jp/en/pg5v2.html
afal212 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Intermittent PIC problem mikesmixes777 Micro Controllers 16 3rd December 2007 01:27 PM
16F877a programmer circuit problem. manz Micro Controllers 7 30th November 2007 07:08 PM
PIC16F877A charging problem eleceyes Micro Controllers 6 22nd November 2007 08:06 AM
problem with AT89S series programmer umersohail Micro Controllers 2 21st June 2006 04:16 PM
Is it alive? Testing a new PIC programmer F*SH Micro Controllers 15 16th April 2006 06:51 PM



All times are GMT. The time now is 01:48 AM.


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

eXTReMe Tracker