Use the Command Prompt to invoke MDB.
In Windows® 7, the Command Prompt must be opened in Administrator mode:
Start>All Programs>Accessories>Command Prompt, right click and select “Run as Administrator.” This opens the Administrator: Command Prompt.
The path to the MDB may vary depending on where the MPLAB X IDE is installed and which
operating system is installed. See the following table for the various operating systems
and paths. The vn.nn
in the path represents the version number, for
example v3.00. These paths are long so you may want to add them to your path
variable.
Windows® 32-bit Operating System |
c:\Program
Files\Microchip\MPLABX\vn.nn\mplab_platform\bin>mdb.bat |
Windows 64-bit Operating System |
c:\Program Files
(x86)\Microchip\MPLABX\vn.nn\mplab_platform\bin>mdb.bat |
Linux® Operating System |
/opt/microchip/mplabx/vn.nn/mplab_platform/bin/mdb.sh |
macOS™ Operating System |
/Applications/microchip/mplabx/vn.nn/mplab_ide.app/Contents/Resources/mplab_platform/bin/mdb.sh |
mdb.bat
and mdb.sh
scripts do not need to be run
from the directory where they were installed. If the directory where these scripts are
installed is added to the system path, then mdb.bat
and
msb.sh
may run from any directory.