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

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

LVP & ISP VIA ICD2

Postby Steve001 » Sun Jul 31, 2011 5:27 pm

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 3482 times
Success always occurs in private and failure in full view.

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

Re: LVP & ISP VIA ICD2

Postby Benj » Mon Aug 01, 2011 10:49 am

Hello,

Looks good to me though I have not checked the pin out of your RJ11 connector is correct.
These users thanked the author Benj for the post:
Steve001 (Fri Aug 05, 2011 7:44 pm)
Rating: 5.26%
 

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

Re: LVP & ISP VIA ICD2

Postby Steve001 » Fri Aug 05, 2011 7:53 pm

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: 14582
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4606 times
Been thanked: 4242 times
Contact:

Re: LVP & ISP VIA ICD2

Postby Benj » Mon Aug 08, 2011 10:21 am

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.
These users thanked the author Benj for the post:
Steve001 (Mon Aug 08, 2011 8:18 pm)
Rating: 5.26%
 

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

Re: LVP & ISP VIA ICD2

Postby Steve001 » Mon Aug 08, 2011 8:19 pm

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

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