pg2c programmer and external power supply

Started by a_drunken_dwarf November 20, 2003
hi, I'm using a pg2c programmer (by olimex). I works well if the PIC
is in the programmer socket, but my laptop serial port can't supply
enough power to do ICSP. If I want to provide external power during
ICSP programming, would I just disconnect the programmer's ICSP
power lines from the PIC, and instead supply a regulated 5V to the
VDD pin and GND at VSS? Does anybody with a pg2c have any advice?
thanks!



Why not ping Olimex on it? They usually answer questions and would
know if it was possible.

DLC

a_drunken_dwarf wrote:
> hi, I'm using a pg2c programmer (by olimex). I works well if the PIC
> is in the programmer socket, but my laptop serial port can't supply
> enough power to do ICSP. If I want to provide external power during
> ICSP programming, would I just disconnect the programmer's ICSP
> power lines from the PIC, and instead supply a regulated 5V to the
> VDD pin and GND at VSS? Does anybody with a pg2c have any advice?
> thanks! >
> to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
>
> ">http://docs.yahoo.com/info/terms/ >


--
---------------------------------
* Dennis Clark http://www.techtoystoday.com *
* "Programming and Customizing the OOPic Microcontroller" Mcgraw-Hill *
---------------------------------


> hi, I'm using a pg2c programmer (by olimex). I works well if the PIC
> is in the programmer socket, but my laptop serial port can't supply
> enough power to do ICSP.

Consider a MAX232 to 'pep-up' the RS-232 signal strength?

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products



max232, good point. But I should use a regulated +5V through the
max232 right? Or does the PIC need higher voltages during
programming? --- In , "Wouter van Ooijen" <wouter@v...>
wrote:
> > hi, I'm using a pg2c programmer (by olimex). I works well if the
PIC
> > is in the programmer socket, but my laptop serial port can't
supply
> > enough power to do ICSP.
>
> Consider a MAX232 to 'pep-up' the RS-232 signal strength?
>
> Wouter van Ooijen
>
> -- -------
> Van Ooijen Technische Informatica: www.voti.nl
> consultancy, development, PICmicro products





Or wouldn't a ULN2803 work better? a ULN2803 amplifies current. --- In , a_drunken_dwarf <no_reply@y...>
wrote:
> max232, good point. But I should use a regulated +5V through the
> max232 right? Or does the PIC need higher voltages during
> programming? > --- In , "Wouter van Ooijen" <wouter@v...>
> wrote:
> > > hi, I'm using a pg2c programmer (by olimex). I works well if
the
> PIC
> > > is in the programmer socket, but my laptop serial port can't
> supply
> > > enough power to do ICSP.
> >
> > Consider a MAX232 to 'pep-up' the RS-232 signal strength?
> >
> > Wouter van Ooijen
> >
> > -- -------
> > Van Ooijen Technische Informatica: www.voti.nl
> > consultancy, development, PICmicro products




> max232, good point. But I should use a regulated +5V through the
> max232 right? Or does the PIC need higher voltages during
> programming?

What I meant with the max232 is that you can use it (or maybe two of
them) to make any RS-232 port behave. It will not add ICSP capability to
a programmer design that does not have this capability in the first
place.

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products