3.1.5 Disabling On-board Power Supply on the Xplained Mini
The mEDBG debugger on the Xplained Mini board has control of the target device’s VCC so that it can toggle its power. By opening the switch the user can reroute power to the target device through an external current measuring probe. By default on power-up the switch is closed (power is ON).
To open the switch, use the Atmel Studio command line utility atprogram.exe.
atprogram.exe -t medbg parameters -psoff
Important: The clock source from
the mEDBG to the target device will remain active, so the target device may be partially
powered through I/O leakage.
To close the switch again, execute:
atprogram.exe -t medbg parameters -pson
Tip: Older mEDBG firmware does
not support power-on requests. In that case, toggle the USB power to restore the target
power.