Fri Apr 1 22:30:26 EDT 2011
Powering target from PK2
It's possible but needs some massaging. I'll need to recover the
exact sequence, but the basic idea is to:
* Check if there is target power, and ONLY switch on the PK2-provided
line if there is none!
* Set the reset/program line correctly.
Need to make sure that device is properly configured, so we can get
the right operating voltage from the database.
Actually, the default works for a 5V PIC, without target voltage
checking. The current `target-on' and `target-off' functions work
fine from reset.