When the pic boot, usually all I/O are configured as input. The small nifty voltage could be just enough to trigger your transistor, PNP or NPN. What we usually use if we can't deal with the settle delay (Bor, Power up timer etc etc) OR to keep things safe while using Bootloader or ICSP, is to add a simple resistor between the Base and the Collector. This way it solve the problem.
<IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2175&stc=1&d=119670537 4">
Bookmarks