Page tree
Skip to end of metadata
Go to start of metadata

The following snippet shows how to supply power to the target when debugging with Dronecode Probe. The code should be executed in the internal command line of GDB client (e.g. arm-none-eabi-gdb).

(gdb) monitor tpwr enable         # Enabling the power (it's always disabled by default)
(gdb) monitor tpwr                # Requesting the status
Target Power: enabled
(gdb) monitor tpwr disable        # Disabling the power
(gdb) monitor tpwr
Target Power: disabled

Please keep in mind that the load should not exceed 100 mA. Refer to the Dronecode Probe documentation for more info.