To display information about the device and tool commands available in MDB, type
help device
, help hwtool
or help
deviceandtool
. The table below provides additional information about these
commands.
Command | Description |
---|---|
Device | Sets the name of the target device.
Command format:
Device devicename Example: Device
PIC32MX795F512L |
Hwtool | Sets the debug tool or list all the available hardware tools on the
system. The device must be set with the Device command
before a tool can be used/set.Command format: Hwtool [toolType] [-p] [index] Following are the
supported tool names (not case-sensitive):
-p option.Command format: Hwtool [toolType]
-p Example: Hwtool ICD3
-p Use the index option to select the tool if there are
more than one instance of a tool type. If you have two MPLAB ICD 3
units connected to the PC, use the Example:
Example:
Note: By default, when a hardware tool is
selected, it is loaded as a debugger. This means that it always
programs the device and adds the necessary debug requirements to
enable the image to be debugged. To use a tool for programming only,
use the
-p option when setting the hardware
tool. |
Deviceandtool | Displays both the Device and Hwtool command information. |