Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

cant program 18F452 using LVP

Status
Not open for further replies.

RamonetNet

New Member
Good evening all !

I am trying to program a 18F452, to flash a LED, as usual.
The software is WinPicProg, and the hardware is a LVP from here

>>> **broken link removed**

Yes, you already knew, I got "Verify failed at 0x0000" message.

The RS-232 interface is providing 9 volts only.
( I have another that gives 10 volts ... )

Is it enough or I must go to another machine ?

I read a lot about +13 volts,
but I guess that is for High Voltage Programming ...

Thanks for any ideas - Ramon.
 
RamonetNet said:
Good evening all !

I am trying to program a 18F452, to flash a LED, as usual.
The software is WinPicProg, and the hardware is a LVP from here

>>> **broken link removed**

Yes, you already knew, I got "Verify failed at 0x0000" message.

The RS-232 interface is providing 9 volts only.
( I have another that gives 10 volts ... )

Is it enough or I must go to another machine ?

I read a lot about +13 volts,
but I guess that is for High Voltage Programming ...

Yes, LVP is only 5V - and uses an extra pin.

But WinPicProg doesn't work with a serial port, only parallel ports, try IC-Prog.
 
I dont have to say you are right ...
I meant ICprog but was thinking diferent ...

:eek:

Does that mean then WinPicProg always uses HVP ?
Ramon.
 
RamonetNet said:
I dont have to say you are right ...
I meant ICprog but was thinking diferent ...

:eek:

Does that mean then WinPicProg always uses HVP ?
Ramon.

Almost all programmers do, LVP is very rare (as it's pretty pointless).
 
I am attracted to LVP because it uses just few resistors and no external power supply, once the RS232 can provide the voltage.
I have one pin less ? No problem : I've got 39 left !
Also 18F452 has 2 pins for Vdd and 2 for Vss, and nobody is complaining !
 
Nigel Goodwin said:
Almost all programmers do, LVP is very rare (as it's pretty pointless).

Ramon, be realistic. Your need is, I suppose to be able to program a PIC and go on doing it in a way to learn program writing. It is not a question of number(count) of pins, but in port B loosing a pin would mean some real loss. A byte short of 1 bit, whether used as output or input at digital level.

No point in liking because less components. I do agree a design with minimum components (if it is a design) should work trouble free.

Finally, at the end of discussion, if your purpose is not served, what are we gaining.

Please do go for a PICKIT2 and your goal might be well achieved. I have it and believe it functioning well.
 
Last edited:
I agree with the responses above. But one other thing to consider is the PIC a virgin? If not, and it had an encounter with a HV programmer which turned OFF LVP capability, then you are out of luck without a HV programmer. The LVP bit can only be changed with a HV programmer.
I'm not sure if this will work, but have you tried turning off FIFO buffers for the serial port?
 
no, mr kchriste - no HVP yet.
A bit better - I had a struck of luck, melted
(1) **broken link removed**
with
(2) **broken link removed**
...
and now I have a working LVP for 18F452 :

>>> http://www.tinet.org/~sag/pic452.htm#pic_lvp

Which does provide a lot of pleasure to a newbie, doesn't it ?

:)

Thanks everybody for your support, in all forms !
 
Well done. It's a shame that the PicKit2 uses the RB5 (PGM) pin in it's design or this would have been a nice way for people to get it programmed.

Mike.
 
Status
Not open for further replies.

Latest threads

Back
Top