PDA

View Full Version : what programmer to use with 18F452 ?



Ramonetnet
- 23rd April 2008, 00:10
I have read lots of old posts about my question,
and I would like to ask it again in April 2008 ...

If I want to use Microchip PIC 18F452, what is the best programmer to use ?

Ok ... tell me 2 of them : one, free, and another not free ...

The ones I have found are :

(*) free :

>>> http://home.vrweb.de/~lotharstolz/stolz.de.be/lvpc/index.html
Seems I can't make it work because my serial port only delivers 10 volts ...

(*) not free : PIC-PG2C, 19 €.

>>> http://www.olimex.com/dev/pic-pg2c.html

Ramonetnet
- 23rd April 2008, 00:35
I am very sorry I posted few (general) questions in the "basic" forum

Can the moderator move them to the apropiate place ?

Thanks.

mackrackit
- 23rd April 2008, 01:19
Buy the PICKIT2 from Microchip and save yourself the headache.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805

mister_e
- 23rd April 2008, 15:13
Yes, yes, yes... at least PICKIT 2. More benefits than any others low cost one(jdm, Taits or else based one)

Acetronics2
- 23rd April 2008, 15:24
PICKIT 2 = Best performance / price !!!!

and it's " designed for ..." by ... Microchip.

That means reliable upgrading for years and years ...

Alain

Ramonetnet
- 24th April 2008, 12:28
OK - if you 3 agree in that, maybe I shall skip those "cheap" programmers ..

I was about to buy this one :

PIC-PG2C @ http://www.olimex.com/dev/pic-pg2c.html = 19 €.

OK - I go to the page pointer to by mr mackrackit ...

but the Part Number: PG164120 - PICkit 2 Microcontroller Programmer (23,84 €)

HAS NO SOCKET AT ALL, neither for the 18F452 !

The "Part Number: DV164120 - PICkit 2 Starter Kit" (34,06 €) has a "Low Pin Count Demo Board containing a PIC16F690 PDIP", and it explicitly says "The PICkit 2 Low Pin Count Demo Board supports 8-, 14-, and 20-pin PICmicros", and the 18F452 has 40 pins !

What am I doing wrong ?

I did write to Microchip, asked to program a 18F452 and a 18F4520,
and they pointed me to "Part Number: DV003001 - PICSTART PLUS DEVELOPMENT SYSTEM" which goes up to 136 € !

Thanks for your patience ! Ramon.

skimask
- 24th April 2008, 14:27
but the Part Number: PG164120 - PICkit 2 Microcontroller Programmer (23,84 €)
HAS NO SOCKET AT ALL, neither for the 18F452 !

That's because you're supposed to set yourself up with a small 5/6 pin header so you can reprogram the PIC while it's still installed in the circuit....otherwise known as In Circuit Serial Programming (ICSP).


The "Part Number: DV164120 - PICkit 2 Starter Kit" (34,06 €) has a "Low Pin Count Demo Board containing a PIC16F690 PDIP", and it explicitly says "The PICkit 2 Low Pin Count Demo Board supports 8-, 14-, and 20-pin PICmicros", and the 18F452 has 40 pins !
What am I doing wrong ?
I don't think you're doing anything wrong...just getting a couple of things confused...
The demo board supports small PICs, yes, if you use the 18F452, which has the 40 pins, you have to program it in circuit as described above.

Open up a PIC datasheet and read up on 'In Circuit Serial Programming'. That should clear it up for you.

Ramonetnet
- 24th April 2008, 21:25
Thank you, mr Skimask ... I do agree on all your opinions, except on what I have to do !
All I have is a proto-board with a PIC on it.
There is no way I plug a 5/6pin header in it - I don't have the knowledge,
even I did read the ICSP part of the manual.

I have done something different : I wrote to Microchip.

First they recommended to buy the "PICSTART plus", code "DV003001".
Unfortunately, its price tag is at 136,24 €

I wrote back again, asking for something cheaper. Now they say : ... you need

PG164120 = 23,84 € = pickit2 programmer
AC162049 = 27,24 € = universal programming module (socket)
AC164110 = 6,81 € = RJ-11 to ICSP adapter (cable)

Now, 58 € looks better to me.

WHAT IS YOUR OPINION ?

BigWumpus
- 24th April 2008, 21:32
Using PIC18F-devices was the point when I can't use IC-Prog (and JDM-Programmer) any more!

I use the ASIX PRESTO - it is very fine,
but the Pic Kit 2 is a very good part for the start!

Don't think about the sockets - use 5 wires from the PIC to a 5-pin-header for ICSP.

mister_e
- 24th April 2008, 21:39
yes yes yes... ICSP all the way when at all possible... it's always possible though.

Ramonetnet
- 24th April 2008, 21:52
YES, all you people are telling me again and again
there is something called "5-pin-header for ICSP"
I stll did not understand at all.

LET ME READ THE BOOKS (thanks, mack) and I SHALL BE BACK !
Ramon, gratefull.