PIC16F88 programmer dont worl :/

Discussion in 'Programmer's Corner' started by aGpLT, Feb 9, 2010.

  1. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Hello everyone i have little problem, i am using 5 wire simple programer:
    DB9---------PIC16F88
    TXD(3)------4,7k---MCLR(4)
    GND(5)-------------GND(5)--------GND
    DTR(4)------4,7k---PGD(13)
    CTS(8)-------------PGD(13)
    RTS(7)------4,7k---PGC(12)
    Also i connected 14pin to +5V.
    I checked my com port connecting 4 and 8 pins and loaded WinPIC it showed: Initialising PIC-Programmer: Success. So my port is okey, when i tryed with my cable same thing, also Initialising PIC-Programmer: Success. when i connected my programmer to cable and to PIC16F88 and it was same either (Initialising PIC-Programmer: Success.). So when i measured my PIC 4 pin (MCLR) and it was 5-6V. When i checked tabs in WinPIC in Interface section (VPP (+13V) Clocl Data (to PIC)). I measured PIC again and it 4pin had 12-13V.

    I tryed to write this code to my PIC.
    And when i tryed to program it to PIC i got this from WinPIC

     
    Last edited: Feb 9, 2010
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Do you use a USB to serial converter?
     
  3. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    nope, its my home computer with Serial port.
     
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I do not know your programmer hardware. Has it worked before? It may look like the chip is erased, but not programmed.
    If you plan to replace your programmer get a PICKIT 2 or 3. They are cheap and work very well, as it is a Microchip design.
     
  5. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Once worked and thats it... this programmer ir only com connection 3 resistors 5 wires nothing more ;))) (ICSP). I dont know if dont find whats problem here, when i think i will really buy one ;)
     
  6. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Many ICSP programmers may have problem if the pins used for programming are loaded(connected to something).
     
  7. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    I disconnected everything only i give external power supply to chip +5V, to pin 14 and gnd to pin5, everything else is connected to my DB9 female.
     
  8. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I have no other ideas. If your programmer is homemade It could be everything from a bad solder joint, to faulty component. Perhaps in the circuit providing the VPP voltage.
    Which country do you live in. If you are in Europa i know a place selling cheap PICKITs
     
  9. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Hm damn its so anoying :] i am from Lithuania in EU :] i searched in ebay for PicKit2. its quite cheap :] also if you can tell me :]
     
  10. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I think I have something Go to www.elfa.se, select your country. Then click in the "brain" and find the PICkit 2 Starter Kit. I guess you have a PC with a free USB 2.0 output
     
  11. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
  12. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    907
    How long are the wires from your programmer to the chip? Using PicStart Plus, I have to keep those wires short, on the order of 10cm or less.

    A couple of years ago using longer leads, I got a funny error in programming. I don't remember whether it was the same error as you are getting though.

    John
     
  13. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    PICStart Plus isn't an ICP programmer. It's a ZIF socket type programmer. Guess you modified it and brought out some wires, but yes short lead length is important.
    Simple serial port programmers are notoriously unreliable on modern OS's and computers. They are also finicky about the RS232 voltage levels and don't work with USB to RS232 adapters.
     
  14. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    907
    Exactly. It is a common practice not even rising to the level of a hack. I simply made an adapter from a long-legged dip socket that goes into the ZIF socket. The appropriate wires are soldered to the dip socket.

    John
     
  15. aGpLT

    Thread Starter Member

    Jan 21, 2010
    128
    0
    Its quite long ~2m but i got from friend K128 usb programmer and its working nice ;) Thank You all for your help :]
     
Loading...