Olin Lathrop wrote: >Paul van der Linden wrote: > > >>If I use HVP, if I set the LVP-configuration bit at 0, I can just use >>the pins PGM, PGC and PGD for digital I/O? >> >>If I use LVP, so the LVP-configuration bit is at 1, I can use the >>pins PGM, PGC and PGD for digital I/O as long as PGM isn't high at >>boot? >> >> > >I don't remember which way 0 or 1 is for the LVP configuration bit. If LVP >is disabled, then the PGM pin is a normal I/O pin at all times. When LVP is >enabled, then the PGM pin is always used for the PGM function. The PGC and >PGD pins are always used during external programming (whether LVP or HVP) to >transfer the data. Once the PIC is running they are normal I/O pins. >However, you need to make sure that the external circuit can tolerate them >being wiggled by the programmer. > > >***************************************************************** >Embed Inc, embedded system specialists in Littleton Massachusetts >(978) 742-9014, http://www.embedinc.com > > Ok, thank you. But how to make sure that the external circuit can tolerate it? How do I seperate it while programming? And repost for the people who don't get the attachments: http://members.lycos.nl/pvdl1984/micro.html For the first circuit: If I understand the datasheets I can use the scheme as application circuit with fullspeed USB connection and eventually adding some things like LED, buttons, enz? And for the second circuit: As far as I understand I can use the scheme for LVP programming of the 18F2455/2550/4455/4550 serie (as described in http://home.t-online.de/home/520054661375/stolz.de.be/lvpc/index.html )? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist