LVP & ISP VIA ICD2

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

LVP & ISP VIA ICD2

Post by Steve001 »

looking to try and put ISP via ICD2 to one of my projects so i can use my pic kit2 programmer on it.
Would the attached circuit work ?
Is there anything to be aware of in the set up and using of port b in this way ?

steve
Attachments
LVP.JPG
LVP.JPG (194.31 KiB) Viewed 5805 times
Success always occurs in private and failure in full view.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LVP & ISP VIA ICD2

Post by Benj »

Hello,

Looks good to me though I have not checked the pin out of your RJ11 connector is correct.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: LVP & ISP VIA ICD2

Post by Steve001 »

thanks benj got the data for the rj11 from the manuel

http://pub.ucpros.com/download/PX-200_u ... d8d5ff96dd

There is a mistake the switch contacts are drawn the wrong way round :oops: sorry
going to give it a go is there any issues with port b to be aware of when enabling lvp ?

steve
Success always occurs in private and failure in full view.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LVP & ISP VIA ICD2

Post by Benj »

Hello,

I rarely bother with LVP anymore as you loose the functionality of the Low Voltage detection pin which is normally right in the middle of Port B. If you can get 12V onto the board anywhere or your programmer can supply the 12V then I would scrap the LVP altogether. Also if you are going to be programming a range of devices the LVP pin is not always on pin RB3 so you may need some kind of switching to allow this for multiple devices.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: LVP & ISP VIA ICD2

Post by Steve001 »

right thanks for that going to go back with my pencil and rethink

steve
Success always occurs in private and failure in full view.

Post Reply